• B
    Add functions des_set_key_checked, des_set_key_unchecked. · cddfe788
    Bodo Möller 提交于
    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.
    cddfe788
rand_key.c 4.1 KB