Steve answered with instructions on how to do this. This ticket is thereby resolved.
[[EMAIL PROTECTED] - Tue Nov 12 17:18:26 2002]: > Hi, > > Situation: > ========== > > 1.) Call: pCipher=EVP_get_cipherbyname("RC2-CBC") > 2.) Call: EVP_CIPHER_CTX_init(&ec_ctx) > 3.) Call: EVP_CipherInit(&ec_ctx,pCipher,byKey,byIV,1) > > byKey contains 16 octets (128bit RC2 key) > > 4.) Call: VP_CIPHER_CTX_ctrl(&ec_ctx,EVP_CTRL_SET_RC2_KEY_BITS,40,0L); > > to set effective key length to 40bit > > Bug: > ==== > > Effective key length is updated in struct. but RC2 key data > is NOT updated (bugfix seems to be impossible because > VP_CIPHER_CTX_ctrl does not have access to raw key material !?). > > Regards. > -- Richard Levitte ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]