I have tried following: crypto/rsa > nm --print-file-name *.o | grep d2i_RSAPrivateKey 33:rsa_asn1.o:000000ec T d2i_RSAPrivateKey
crypto/rsa > gcc -E rsa_asn1.c | grep d2i_RSAPrivateKey rsa_asn1.c:60:22: cryptlib.h: No such file or directory 3249:RSA *d2i_RSAPrivateKey(RSA **a, const unsigned char **in, long len); int i2d_RSAPrivateKey(const RSA *a, unsigned char **out); extern const ASN1_ITEM RSAPrivateKey_it; 3492: (D2I_OF(void)) d2i_RSAPrivateKey, 3534:RSA *d2i_RSAPrivateKey(RSA **a, const unsigned char **in, long len) { return (RSA *)ASN1_item_d2i((ASN1_VALUE **)a, (unsigned char **)in, len, (&(RSAPrivateKey_it))); } int i2d_RSAPrivateKey(const RSA *a, unsigned char **out) { return ASN1_item_i2d((ASN1_VALUE *)a, out, (&(RSAPrivateKey_it))); } crypto/rsa > I tried locating line 3249 and 3534 in rsa_asn1.c, but that file donot have that many lines...it has only 121 lines: "rsa_asn1.c" 121 lines --100%-- 121,2-9 Thanks -- regards, Shanku --- Shanku Roy <[EMAIL PROTECTED]> wrote: > Hi There, > Can you please point me to the content processing function of > d2i_RSAPrivateKey() > > In crypto/rsa/rsa_asn1.c file I see following: > > static ASN1_METHOD method={ > (I2D_OF(void)) i2d_RSAPrivateKey, > (D2I_OF(void)) d2i_RSAPrivateKey, > (void *(*)(void)) RSA_new, > (void (*)(void *)) RSA_free}; > > I am unable to find anything beyond that. Thanks > -- > regards, > Shanku > > -- > Shanku > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > Development Mailing List [EMAIL PROTECTED] > Automated List Manager [EMAIL PROTECTED] > -- Shanku ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]