diff options
author | Richard Levitte <levitte@openssl.org> | 2002-02-16 12:39:07 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-02-16 12:39:07 +0000 |
commit | a6cd870784b190afcfd5c98b2957f73996aad4fb (patch) | |
tree | d6cc5e21afdb50fe9e4a08283ffb816b5f8725ae /crypto/evp/e_rc5.c | |
parent | 97879bcd57aa72555c624ae04b91159212c125d7 (diff) | |
download | openssl-new-a6cd870784b190afcfd5c98b2957f73996aad4fb.tar.gz |
The AES modes OFB and CFB are defined with 128 feedback bits. This
deviates from the "standard" 64 bits of feedback that all other
algorithms are using. Therefore, let's redo certain EVP macros to
accept different amounts of feedback bits for these modes.
Also, change e_aes.c to provide all usually available modes for AES.
CTR isn't included yet.
Diffstat (limited to 'crypto/evp/e_rc5.c')
-rw-r--r-- | crypto/evp/e_rc5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/e_rc5.c b/crypto/evp/e_rc5.c index e22aedd685..3c7713b181 100644 --- a/crypto/evp/e_rc5.c +++ b/crypto/evp/e_rc5.c @@ -78,7 +78,7 @@ typedef struct #define data(ctx) EVP_C_DATA(EVP_RC5_KEY,ctx) IMPLEMENT_BLOCK_CIPHER(rc5_32_12_16, ks, RC5_32, EVP_RC5_KEY, NID_rc5, - 8, RC5_32_KEY_LENGTH, 8, + 8, RC5_32_KEY_LENGTH, 8, 64, EVP_CIPH_VARIABLE_LENGTH | EVP_CIPH_CTRL_INIT, r_32_12_16_init_key, NULL, NULL, NULL, rc5_ctrl) |