Lines Matching +full:permit +full:-
1 /* SPDX-License-Identifier: GPL-2.0 */
16 * crypto_des_verify_key - Check whether a DES key is weak
20 * Returns -EINVAL if the key is weak and the crypto TFM does not permit weak
32 if (err == -ENOKEY) { in crypto_des_verify_key()
34 err = -EINVAL; in crypto_des_verify_key()
45 * For DES-EDE3, there is no known need to reject weak or
49 * However, if the first two or last two independent 64-bit keys are
58 int ret = fips_enabled ? -EINVAL : -ENOKEY; in des3_ede_verify_key()
79 * crypto_des3_ede_verify_key - Check whether a DES3-EDE key is weak
83 * Returns -EINVAL if the key is weak and the crypto TFM does not permit weak
115 return -EINVAL; in verify_aead_des_key()
123 return -EINVAL; in verify_aead_des3_key()