PKCS7_digest_from_attributes

2007-07-31 Thread Christian Wiesbauer
Hi, can somebody tell me what does exactly the function PKCS_digest_from_attributes do? Does it calculates the digest from the attributes passing to the function? If so, how does it know what algorithm to use? Thanks, Christian Wiesbauer

Re: How to generate and use asymmetric GOST keys?

2007-07-31 Thread Кольцов Андрей
The parameter after colon is not a file name but a name of parameter set or OID For signing keys name can be 'A', 'B', 'C'/ openssl req -newkey gost2001:A The recommended way to generate GOST requests is to use two commands openssl genpkey -algorithm gost2001 -pkeyopt paramset:A -out mykey.p8

How to generate and use asymmetric GOST keys?

2007-07-31 Thread André Ziermann
Hi,   I'm playing with openssl 0.9.9 with a GOST engine. Does anybody know, how to get more info about commmand line options for openssl> req and openssl> if one wants to use them with GOST engine to generate and use asymmetric GOST-94 or GOST-2001 keys?   First I tried the req command as propo

Re: Multiples read with ssl

2007-07-31 Thread jimmy bahuleyan
Lidia Fernández wrote: > Hello all! > > I'm working with xsupplicant (Open1x) and i have a problem with SSL. > By default, xsupplicant waits a message with 1.000 bytes, but i have > modificated this because i need a messages with 10.000 bytes or more. > > Before: > rc=SSL_read(mytls_vars->ssl,

Re: Problems with SSL_read() - SSL_ERROR_SYSCALL

2007-07-31 Thread jimmy bahuleyan
Arun Singarajipura wrote: > Hi, > > Thanks for the reply. > > I used WSAGetLastError() just after SSL_read() and the result of this is > "*Read failed with error 10054: An existing connection was forcibly closed > by the remote host."* well if the remote side is also your code, you could try deb

Multiples read with ssl

2007-07-31 Thread Lidia Fernández
Hello all! I'm working with xsupplicant (Open1x) and i have a problem with SSL. By default, xsupplicant waits a message with 1.000 bytes, but i have modificated this because i need a messages with 10.000 bytes or more. Before: rc=SSL_read(mytls_vars->ssl, out_data,1000); and now, i want to do