Re: how to get RSA key pair from genrsa

2011-05-03 Thread vichy
hi all: 2011/5/3 vichy : > Dear all: > I try to use "openssl genrsa -out 1024.private.key 1024" to generate > rsa key pairs. > if I remember correctly, 1024 is the size of n, the unit in bits and > it will be one of public key paris. > > But when I generate the pu

how to get RSA key pair from genrsa

2011-05-03 Thread vichy
Dear all: I try to use "openssl genrsa -out 1024.private.key 1024" to generate rsa key pairs. if I remember correctly, 1024 is the size of n, the unit in bits and it will be one of public key paris. But when I generate the public key by the command,openssl rsa -in 1024.private.key -pubout. I canno

Re: how to put array into bio ?

2009-08-09 Thread vichy
Hi: 2009/8/9, Goetz Babin-Ebell : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > vichy wrote: > | Dear all: > | I try to use d2i_PrivateKey_bio to get the RSA keys in a der file, but > | the binary content is written in an unsigned char array. > | I kn

how to put array into bio ?

2009-08-09 Thread vichy
? appreciate your help, vichy __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager majord

Re: does openssl support aes128xcbc?

2009-06-07 Thread vichy
Hi: 2009/6/2 Martin Kaiser : > Hi, > > Thus wrote vichy (vichy@gmail.com): > >> but I cannot find aes128xcbc. > >> Do I miss something or there is really no support of aes128xcbc mode >> in openssl?  if the answer is the later, where I can find the sample &

does openssl support aes128xcbc?

2009-06-01 Thread vichy
aes128xcbc mode in openssl? if the answer is the later, where I can find the sample code of it. appreciate your help, vichy __ OpenSSL Project http://www.openssl.org User Support Mailing List

Qestion about parameter pass to BN_rand

2009-05-21 Thread vichy
number are 1 the c is use to let final bits of multiplication of 2 rands will be 2*bits but what is a, b used for? what I mean is what is the significant of most significant bit in rand number? signed or unsigned? Sincerely Yours, vichy