Lines Matching defs:tfm
810 static void sa_cipher_cra_exit(struct crypto_skcipher *tfm) in sa_cipher_cra_exit()
825 static int sa_cipher_cra_init(struct crypto_skcipher *tfm) in sa_cipher_cra_init()
858 static int sa_cipher_setkey(struct crypto_skcipher *tfm, const u8 *key, in sa_cipher_setkey()
921 static int sa_aes_cbc_setkey(struct crypto_skcipher *tfm, const u8 *key, in sa_aes_cbc_setkey()
941 static int sa_aes_ecb_setkey(struct crypto_skcipher *tfm, const u8 *key, in sa_aes_ecb_setkey()
959 static int sa_3des_cbc_setkey(struct crypto_skcipher *tfm, const u8 *key, in sa_3des_cbc_setkey()
973 static int sa_3des_ecb_setkey(struct crypto_skcipher *tfm, const u8 *key, in sa_3des_ecb_setkey()
1334 struct crypto_ahash *tfm; in sa_sha_dma_in_callback() local
1359 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in zero_message_process() local
1468 static int sa_sha_cra_init_alg(struct crypto_tfm *tfm, const char *alg_base) in sa_sha_cra_init_alg()
1517 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sa_sha_init() local
1533 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sa_sha_update() local
1548 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sa_sha_final() local
1562 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sa_sha_finup() local
1580 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sa_sha_import() local
1593 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in sa_sha_export() local
1603 static int sa_sha1_cra_init(struct crypto_tfm *tfm) in sa_sha1_cra_init()
1619 static int sa_sha256_cra_init(struct crypto_tfm *tfm) in sa_sha256_cra_init()
1635 static int sa_sha512_cra_init(struct crypto_tfm *tfm) in sa_sha512_cra_init()
1651 static void sa_sha_cra_exit(struct crypto_tfm *tfm) in sa_sha_cra_exit()
1671 struct crypto_aead *tfm; in sa_aead_dma_in_callback() local
1710 static int sa_cra_init_aead(struct crypto_aead *tfm, const char *hash, in sa_cra_init_aead()
1754 static int sa_cra_init_aead_sha1(struct crypto_aead *tfm) in sa_cra_init_aead_sha1()
1760 static int sa_cra_init_aead_sha256(struct crypto_aead *tfm) in sa_cra_init_aead_sha256()
1766 static void sa_exit_tfm_aead(struct crypto_aead *tfm) in sa_exit_tfm_aead()
1856 static int sa_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in sa_aead_setauthsize()
1891 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in sa_aead_run() local