Add functions des_set_key_checked, des_set_key_unchecked.
authorBodo Möller <bodo@openssl.org>
Fri, 3 Dec 1999 20:24:21 +0000 (20:24 +0000)
committerBodo Möller <bodo@openssl.org>
Fri, 3 Dec 1999 20:24:21 +0000 (20:24 +0000)
commitcddfe788fbbc4726fcf9892963df3f3e823eb233
treefe129b6f8b162a2053634fdfb62d17d9dad17a10
parent21131f00d7ffcdac99334ce5704366c1cdd06fc4
Add functions des_set_key_checked, des_set_key_unchecked.
Never use des_set_key (it depends on the global variable des_check_key),
but usually des_set_key_unchecked.
Only destest.c bothered to look at the return values of des_set_key,
but it did not set des_check_key -- if it had done so,
most checks would have failed because of wrong parity and
because of weak keys.
21 files changed:
CHANGES
apps/speed.c
crypto/des/des.c
crypto/des/des.h
crypto/des/des_opts.c
crypto/des/destest.c
crypto/des/fcrypt.c
crypto/des/rand_key.c
crypto/des/rpc_enc.c
crypto/des/set_key.c
crypto/des/speed.c
crypto/des/str2key.c
crypto/evp/e_cbc_3d.c
crypto/evp/e_cfb_3d.c
crypto/evp/e_cfb_d.c
crypto/evp/e_ecb_3d.c
crypto/evp/e_ecb_d.c
crypto/evp/e_ofb_3d.c
crypto/evp/e_ofb_d.c
crypto/evp/e_xcbc_d.c
crypto/mdc2/mdc2dgst.c