projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add functions des_set_key_checked, des_set_key_unchecked.
[openssl.git]
/
crypto
/
evp
/
e_ofb_d.c
diff --git
a/crypto/evp/e_ofb_d.c
b/crypto/evp/e_ofb_d.c
index 398b3a002ea1c932ec7f6adf226890e2ce7d2cd1..d51ce230f4d83231583d0a72cc9ac8205fe1abec 100644
(file)
--- a/
crypto/evp/e_ofb_d.c
+++ b/
crypto/evp/e_ofb_d.c
@@
-95,7
+95,7
@@
static void des_ofb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key,
memcpy(&(ctx->oiv[0]),iv,8);
memcpy(&(ctx->iv[0]),&(ctx->oiv[0]),8);
if (deskey != NULL)
- des_set_key(deskey,ctx->c.des_ks);
+ des_set_key
_unchecked
(deskey,ctx->c.des_ks);
}
static void des_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,