Lines Matching defs:tfm

72 static int setkey_fallback_cip(struct crypto_tfm *tfm, const u8 *in_key,  in setkey_fallback_cip()
84 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key()
105 static void crypto_aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in crypto_aes_encrypt()
116 static void crypto_aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in crypto_aes_decrypt()
128 static int fallback_init_cip(struct crypto_tfm *tfm) in fallback_init_cip()
145 static void fallback_exit_cip(struct crypto_tfm *tfm) in fallback_exit_cip()
175 static int setkey_fallback_skcipher(struct crypto_skcipher *tfm, const u8 *key, in setkey_fallback_skcipher()
201 static int ecb_aes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, in ecb_aes_set_key()
224 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_aes_crypt() local
254 static int fallback_init_skcipher(struct crypto_skcipher *tfm) in fallback_init_skcipher()
273 static void fallback_exit_skcipher(struct crypto_skcipher *tfm) in fallback_exit_skcipher()
297 static int cbc_aes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, in cbc_aes_set_key()
320 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_aes_crypt() local
378 static int xts_fallback_setkey(struct crypto_skcipher *tfm, const u8 *key, in xts_fallback_setkey()
390 static int xts_aes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, in xts_aes_set_key()
420 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_aes_crypt() local
486 static int xts_fallback_init(struct crypto_skcipher *tfm) in xts_fallback_init()
504 static void xts_fallback_exit(struct crypto_skcipher *tfm) in xts_fallback_exit()
529 static int ctr_aes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, in ctr_aes_set_key()
567 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_aes_crypt() local
631 static int gcm_aes_setkey(struct crypto_aead *tfm, const u8 *key, in gcm_aes_setkey()
655 static int gcm_aes_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in gcm_aes_setauthsize()
828 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in gcm_aes_crypt() local