On 11/7/07, durgaprasad jammula <[EMAIL PROTECTED]> wrote: > Hi all, > > For asymmetric keys like RSA, DSA and DH, we can set application data in > ex_data variable in the corresponding structures [rsa_st, dsa_st, dh_st]. > > But for symmetric keys, I did not find any special data structure. Suppose, > if I want to store application data for a symmetric key, is there is any > variable that I can use? > > Thanks > DP
Symmetric keys are just binary strings (of some fixed size), they don't have a structure like RSA for eg, which would need 3 numbers in the key (N,e,d). The general approach would be to get a stream of random bits to use as your key for the session. -jb ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]