Lines Matching defs:tfm

262 static inline struct n2_ahash_alg *n2_ahash_alg(struct crypto_tfm *tfm)  in n2_ahash_alg()
277 static inline struct n2_hmac_alg *n2_hmac_alg(struct crypto_tfm *tfm) in n2_hmac_alg()
315 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_init() local
327 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_update() local
341 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_final() local
354 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hash_async_finup() local
376 static int n2_hash_cra_init(struct crypto_tfm *tfm) in n2_hash_cra_init()
403 static void n2_hash_cra_exit(struct crypto_tfm *tfm) in n2_hash_cra_exit()
411 static int n2_hmac_cra_init(struct crypto_tfm *tfm) in n2_hmac_cra_init()
452 static void n2_hmac_cra_exit(struct crypto_tfm *tfm) in n2_hmac_cra_exit()
461 static int n2_hmac_async_setkey(struct crypto_ahash *tfm, const u8 *key, in n2_hmac_async_setkey()
525 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_do_async_digest() local
631 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in n2_hmac_async_digest() local
716 static inline struct n2_skcipher_alg *n2_skcipher_alg(struct crypto_skcipher *tfm) in n2_skcipher_alg()
730 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in n2_aes_setkey() local
758 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in n2_des_setkey() local
777 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in n2_3des_setkey() local
948 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in n2_do_ecb() local
1000 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in n2_do_chaining() local
1325 static int n2_skcipher_init_tfm(struct crypto_skcipher *tfm) in n2_skcipher_init_tfm()