diff options
author | Richard Levitte <levitte@openssl.org> | 2004-01-28 19:05:35 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2004-01-28 19:05:35 +0000 |
commit | 8d1ebe0bd16238e0e9c5c8050154390ba89fa266 (patch) | |
tree | f53f09ab1b7e801608d169f8d6baa1fc7d604903 /crypto/evp/e_des3.c | |
parent | 1fb724449d4b0f02c781be3ce91cdc17b2452eaa (diff) | |
download | openssl-8d1ebe0bd16238e0e9c5c8050154390ba89fa266.tar.gz |
Add the missing parts for DES CFB1 and CFB8.
Add the corresponding AES parts while I'm at it.
make update
Diffstat (limited to 'crypto/evp/e_des3.c')
-rw-r--r-- | crypto/evp/e_des3.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/evp/e_des3.c b/crypto/evp/e_des3.c index b462d7c6af..86342fb952 100644 --- a/crypto/evp/e_des3.c +++ b/crypto/evp/e_des3.c @@ -85,7 +85,8 @@ static int des_ede_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl) { BLOCK_CIPHER_ecb_loop() - DES_ecb3_encrypt(in + i,out + i, + DES_ecb3_encrypt((const_DES_cblock *)(in + i), + (DES_cblock *)(out + i), &data(ctx)->ks1, &data(ctx)->ks2, &data(ctx)->ks3, ctx->encrypt); |