Is it possible to generate a public/private key directly using EVP?? When I want 
an RSA key i do the next:

    main() {

        RSA *RSA_key;

        EVP_PKEY *EVP_key;

        RSA_key = RSA_generate_key( ... );

        EVP_key = EVP_PKEY_new();

        EVP_PKEY_assign_RSA (EVP_key, RSA_key);

        ...

    }



    I'm writing a small tutorial and it'll be nice to know the right way of doing 
it... thanl in advance!!!


---
Juan Segarra Montesinos
  -= NISU Security =-



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to