2007 at 04:21:18AM -0800, Ramkumar Ganapathy wrote:
I am trying to use the OpenSSL crypto C libraries to generate symmetric
and assymetric keys. This is part of development of a key management server.
The library as such do not have any functions for symmetric key generation.
That is, al
:18AM -0800, Ramkumar Ganapathy wrote:
>>
>>> I am trying to use the OpenSSL crypto C libraries to generate symmetric
>>> and
>>> assymetric keys. This is part of development of a key management server.
>>> The
>>> library as such do not have any functi
am trying to use the OpenSSL crypto C libraries to generate symmetric
>> and
>> assymetric keys. This is part of development of a key management server.
>> The
>> library as such do not have any functions for symmetric key generation.
>> That
>> is, all the &q
Hi,
You can use random bytes as symmetric key.
See RAND_bytes() function to get random bytes from your selected
random number generator (by default it's the OpenSSL integrated PRNG).
Set the key (and the IV) in any symmetric algorithm by using
EVP_EncryptInit_ex() function if you use EVPs.
You ca
ymmetric key generation. That
> is, all the "generate_key" functions are based out of assymetric crypto
> algorithms. Wheras I see functions in the JCE(java cryptographic extension)
> and the likes that has symmetric key generation utilities.
>
> Does OpenSSL support what I am loo
I am trying to use the OpenSSL crypto C libraries to generate symmetric and
assymetric keys. This is part of development of a key management server. The
library as such do not have any functions for symmetric key generation. That
is, all the "generate_key" functions are based out of