Lines Matching refs:tfm
26 static inline int crypto_des_verify_key(struct crypto_tfm *tfm, const u8 *key) in crypto_des_verify_key() argument
33 if (crypto_tfm_get_flags(tfm) & CRYPTO_TFM_REQ_FORBID_WEAK_KEYS) in crypto_des_verify_key()
91 static inline int crypto_des3_ede_verify_key(struct crypto_tfm *tfm, in crypto_des3_ede_verify_key() argument
95 crypto_tfm_get_flags(tfm) & in crypto_des3_ede_verify_key()
99 static inline int verify_skcipher_des_key(struct crypto_skcipher *tfm, in verify_skcipher_des_key() argument
102 return crypto_des_verify_key(crypto_skcipher_tfm(tfm), key); in verify_skcipher_des_key()
105 static inline int verify_skcipher_des3_key(struct crypto_skcipher *tfm, in verify_skcipher_des3_key() argument
108 return crypto_des3_ede_verify_key(crypto_skcipher_tfm(tfm), key); in verify_skcipher_des3_key()
111 static inline int verify_aead_des_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des_key() argument
116 return crypto_des_verify_key(crypto_aead_tfm(tfm), key); in verify_aead_des_key()
119 static inline int verify_aead_des3_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des3_key() argument
124 return crypto_des3_ede_verify_key(crypto_aead_tfm(tfm), key); in verify_aead_des3_key()