Lines Matching defs:tfm

77 static int setkey_fallback_cip(struct crypto_tfm *tfm, const u8 *in_key,  in setkey_fallback_cip()
89 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key()
110 static void crypto_aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in crypto_aes_encrypt()
121 static void crypto_aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in crypto_aes_decrypt()
133 static int fallback_init_cip(struct crypto_tfm *tfm) in fallback_init_cip()
150 static void fallback_exit_cip(struct crypto_tfm *tfm) in fallback_exit_cip()
180 static int setkey_fallback_skcipher(struct crypto_skcipher *tfm, const u8 *key, in setkey_fallback_skcipher()
206 static int ecb_aes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, in ecb_aes_set_key()
229 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ecb_aes_crypt() local
259 static int fallback_init_skcipher(struct crypto_skcipher *tfm) in fallback_init_skcipher()
278 static void fallback_exit_skcipher(struct crypto_skcipher *tfm) in fallback_exit_skcipher()
302 static int cbc_aes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, in cbc_aes_set_key()
325 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_aes_crypt() local
383 static int xts_fallback_setkey(struct crypto_skcipher *tfm, const u8 *key, in xts_fallback_setkey()
395 static int xts_aes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, in xts_aes_set_key()
425 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in xts_aes_crypt() local
491 static int xts_fallback_init(struct crypto_skcipher *tfm) in xts_fallback_init()
509 static void xts_fallback_exit(struct crypto_skcipher *tfm) in xts_fallback_exit()
534 static int fullxts_aes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, in fullxts_aes_set_key()
562 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in fullxts_aes_crypt() local
636 static int ctr_aes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, in ctr_aes_set_key()
674 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_aes_crypt() local
738 static int gcm_aes_setkey(struct crypto_aead *tfm, const u8 *key, in gcm_aes_setkey()
762 static int gcm_aes_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in gcm_aes_setauthsize()
935 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in gcm_aes_crypt() local