You may have missed the openSSL wiki 
<http://wiki.openssl.org/index.php/Main_Page>  which is not always obvious to 
reach when you start ….

 

Do not forget to initialize openSSL in your code as explained at 
http://wiki.openssl.org/index.php/Libcrypto_API

A good place to get a grip on the relevant functions is from 
http://wiki.openssl.org/index.php/Documentation_Index

 

Also look at examples in source code bundles under openssl\demos

 

There's an intro to EVP crypto functions at 
http://wiki.openssl.org/index.php/EVP ; they provide a higher level API over 
RSA_xxx and others (which may better match your problem context than the lower 
level use), so don't hesitate to navigate source code to see how the lower 
level functions are used…

You may also look at the openSSL command line source code to see how each RSA 
encrypt/decrypt operation is invoked…

 

I must acknowledge the documentation has its logic but puzzling when you start 
and often requires to reverse engineer source code to find the details…

 

Enjoy

 

Bernard H

 

From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] 
On Behalf Of Fischel
Sent: Tuesday, October 28, 2014 3:32 PM
To: openssl-users@openssl.org
Cc: ffajbus...@bas.com.ar
Subject: Help

 

Hi:

Where could find some example to see how this functions are used

RSA_generate_key_ex

RSA_public_encrypt
RSA_private_decrypt

 

Thank's a lot

 

 

  • Help Fischel
    • RE: Help bernard Hauzeur

Reply via email to