where is the struct RSA defined??

Nicola Muto nicola.muto at cryptolab.net
Wed May 16 23:20:52 EST 2012


Hi,

try into the directory /usr/include/openssl.

The RSA structure should be declared into the file 
/usr/include/openssl/ossl_typ.h
included by the file rsa.h.

BRs
\\nm


On 2012-05-16 12:30, 霏霏 wrote:
> In the source code of openssh(my source code is 6.0 for Openbsd):
> The content below is Rsa.h
>
> #ifndef RSA_H
> #define RSA_H
>
> #include <openssl/bn.h>
> #include <openssl/rsa.h>
>
> void     rsa_public_encrypt(BIGNUM *, BIGNUM *, RSA *);
> int     rsa_private_decrypt(BIGNUM *, BIGNUM *, RSA *);
> void     rsa_generate_additional_parameters(RSA *);
>
> #endif                /* RSA_H */
>
> Question:
>     Where is the file openssl/rsa.h? So where is the struct RSA 
> defined??
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



More information about the openssh-unix-dev mailing list