Lines Matching defs:tfm
375 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aes_setkey() local
406 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_setkey() local
984 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in safexcel_aead_handle_result() local
1055 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in safexcel_aead_send() local
1074 static int safexcel_cipher_exit_inv(struct crypto_tfm *tfm, in safexcel_cipher_exit_inv()
1108 static int safexcel_skcipher_exit_inv(struct crypto_tfm *tfm) in safexcel_skcipher_exit_inv()
1123 static int safexcel_aead_exit_inv(struct crypto_tfm *tfm) in safexcel_aead_exit_inv()
1187 static int safexcel_skcipher_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_cra_init()
1206 static int safexcel_cipher_cra_exit(struct crypto_tfm *tfm) in safexcel_cipher_cra_exit()
1220 static void safexcel_skcipher_cra_exit(struct crypto_tfm *tfm) in safexcel_skcipher_cra_exit()
1240 static void safexcel_aead_cra_exit(struct crypto_tfm *tfm) in safexcel_aead_cra_exit()
1260 static int safexcel_skcipher_aes_ecb_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_aes_ecb_cra_init()
1298 static int safexcel_skcipher_aes_cbc_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_aes_cbc_cra_init()
1336 static int safexcel_skcipher_aes_cfb_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_aes_cfb_cra_init()
1374 static int safexcel_skcipher_aes_ofb_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_aes_ofb_cra_init()
1415 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aesctr_setkey() local
1448 static int safexcel_skcipher_aes_ctr_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_aes_ctr_cra_init()
1509 static int safexcel_skcipher_des_cbc_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_des_cbc_cra_init()
1548 static int safexcel_skcipher_des_ecb_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_des_ecb_cra_init()
1608 static int safexcel_skcipher_des3_cbc_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_des3_cbc_cra_init()
1647 static int safexcel_skcipher_des3_ecb_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_des3_ecb_cra_init()
1699 static int safexcel_aead_cra_init(struct crypto_tfm *tfm) in safexcel_aead_cra_init()
1722 static int safexcel_aead_sha1_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sha1_cra_init()
1758 static int safexcel_aead_sha256_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sha256_cra_init()
1794 static int safexcel_aead_sha224_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sha224_cra_init()
1830 static int safexcel_aead_sha512_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sha512_cra_init()
1866 static int safexcel_aead_sha384_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sha384_cra_init()
1902 static int safexcel_aead_sha1_des3_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sha1_des3_cra_init()
1939 static int safexcel_aead_sha256_des3_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sha256_des3_cra_init()
1976 static int safexcel_aead_sha224_des3_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sha224_des3_cra_init()
2013 static int safexcel_aead_sha512_des3_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sha512_des3_cra_init()
2050 static int safexcel_aead_sha384_des3_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sha384_des3_cra_init()
2087 static int safexcel_aead_sha1_des_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sha1_des_cra_init()
2124 static int safexcel_aead_sha256_des_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sha256_des_cra_init()
2161 static int safexcel_aead_sha224_des_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sha224_des_cra_init()
2198 static int safexcel_aead_sha512_des_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sha512_des_cra_init()
2235 static int safexcel_aead_sha384_des_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sha384_des_cra_init()
2272 static int safexcel_aead_sha1_ctr_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sha1_ctr_cra_init()
2307 static int safexcel_aead_sha256_ctr_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sha256_ctr_cra_init()
2342 static int safexcel_aead_sha224_ctr_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sha224_ctr_cra_init()
2377 static int safexcel_aead_sha512_ctr_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sha512_ctr_cra_init()
2412 static int safexcel_aead_sha384_ctr_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sha384_ctr_cra_init()
2450 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aesxts_setkey() local
2505 static int safexcel_skcipher_aes_xts_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_aes_xts_cra_init()
2564 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_gcm_setkey() local
2619 static int safexcel_aead_gcm_cra_init(struct crypto_tfm *tfm) in safexcel_aead_gcm_cra_init()
2633 static void safexcel_aead_gcm_cra_exit(struct crypto_tfm *tfm) in safexcel_aead_gcm_cra_exit()
2641 static int safexcel_aead_gcm_setauthsize(struct crypto_aead *tfm, in safexcel_aead_gcm_setauthsize()
2677 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_ccm_setkey() local
2718 static int safexcel_aead_ccm_cra_init(struct crypto_tfm *tfm) in safexcel_aead_ccm_cra_init()
2731 static int safexcel_aead_ccm_setauthsize(struct crypto_aead *tfm, in safexcel_aead_ccm_setauthsize()
2824 static int safexcel_skcipher_chacha20_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_chacha20_cra_init()
2881 static int safexcel_aead_chachapoly_setauthsize(struct crypto_aead *tfm, in safexcel_aead_chachapoly_setauthsize()
2894 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in safexcel_aead_chachapoly_crypt() local
2952 static int safexcel_aead_fallback_cra_init(struct crypto_tfm *tfm) in safexcel_aead_fallback_cra_init()
2974 static int safexcel_aead_chachapoly_cra_init(struct crypto_tfm *tfm) in safexcel_aead_chachapoly_cra_init()
2988 static void safexcel_aead_fallback_cra_exit(struct crypto_tfm *tfm) in safexcel_aead_fallback_cra_exit()
3025 static int safexcel_aead_chachapolyesp_cra_init(struct crypto_tfm *tfm) in safexcel_aead_chachapolyesp_cra_init()
3068 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_sm4_setkey() local
3105 static int safexcel_skcipher_sm4_ecb_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_sm4_ecb_cra_init()
3143 static int safexcel_skcipher_sm4_cbc_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_sm4_cbc_cra_init()
3181 static int safexcel_skcipher_sm4_ofb_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_sm4_ofb_cra_init()
3219 static int safexcel_skcipher_sm4_cfb_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_sm4_cfb_cra_init()
3260 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_sm4ctr_setkey() local
3271 static int safexcel_skcipher_sm4_ctr_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_sm4_ctr_cra_init()
3322 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in safexcel_aead_sm4_blk_decrypt() local
3332 static int safexcel_aead_sm4cbc_sha1_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sm4cbc_sha1_cra_init()
3373 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_fallback_setkey() local
3384 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_fallback_setauthsize() local
3395 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in safexcel_aead_fallback_crypt() local
3428 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in safexcel_aead_sm4cbc_sm3_decrypt() local
3441 static int safexcel_aead_sm4cbc_sm3_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sm4cbc_sm3_cra_init()
3481 static int safexcel_aead_sm4ctr_sha1_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sm4ctr_sha1_cra_init()
3516 static int safexcel_aead_sm4ctr_sm3_cra_init(struct crypto_tfm *tfm) in safexcel_aead_sm4ctr_sm3_cra_init()
3554 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_rfc4106_gcm_setkey() local
3564 static int safexcel_rfc4106_gcm_setauthsize(struct crypto_aead *tfm, in safexcel_rfc4106_gcm_setauthsize()
3582 static int safexcel_rfc4106_gcm_cra_init(struct crypto_tfm *tfm) in safexcel_rfc4106_gcm_cra_init()
3619 static int safexcel_rfc4543_gcm_setauthsize(struct crypto_aead *tfm, in safexcel_rfc4543_gcm_setauthsize()
3628 static int safexcel_rfc4543_gcm_cra_init(struct crypto_tfm *tfm) in safexcel_rfc4543_gcm_cra_init()
3667 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_rfc4309_ccm_setkey() local
3681 static int safexcel_rfc4309_ccm_setauthsize(struct crypto_aead *tfm, in safexcel_rfc4309_ccm_setauthsize()
3719 static int safexcel_rfc4309_ccm_cra_init(struct crypto_tfm *tfm) in safexcel_rfc4309_ccm_cra_init()