Lines Matching defs:tfm

182 static int kmb_ocs_sk_set_key(struct crypto_skcipher *tfm, const u8 *in_key,  in kmb_ocs_sk_set_key()
204 static int kmb_ocs_aead_set_key(struct crypto_aead *tfm, const u8 *in_key, in kmb_ocs_aead_set_key()
255 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in kmb_ocs_sk_validate_input() local
313 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in kmb_ocs_sk_common() local
376 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in kmb_ocs_sk_dma_cleanup() local
400 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in kmb_ocs_sk_prepare_inplace() local
449 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in kmb_ocs_sk_prepare_notinplace() local
516 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in kmb_ocs_sk_run() local
598 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in kmb_ocs_aead_validate_input() local
950 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in kmb_ocs_aes_sk_do_one_request() local
996 static int kmb_ocs_aes_set_key(struct crypto_skcipher *tfm, const u8 *in_key, in kmb_ocs_aes_set_key()
1002 static int kmb_ocs_aes_aead_set_key(struct crypto_aead *tfm, const u8 *in_key, in kmb_ocs_aes_aead_set_key()
1072 static int kmb_ocs_sm4_set_key(struct crypto_skcipher *tfm, const u8 *in_key, in kmb_ocs_sm4_set_key()
1078 static int kmb_ocs_sm4_aead_set_key(struct crypto_aead *tfm, const u8 *in_key, in kmb_ocs_sm4_aead_set_key()
1148 static int ocs_aes_init_tfm(struct crypto_skcipher *tfm) in ocs_aes_init_tfm()
1166 static int ocs_sm4_init_tfm(struct crypto_skcipher *tfm) in ocs_sm4_init_tfm()
1183 static void ocs_exit_tfm(struct crypto_skcipher *tfm) in ocs_exit_tfm()
1195 static int ocs_aes_aead_cra_init(struct crypto_aead *tfm) in ocs_aes_aead_cra_init()
1216 static int kmb_ocs_aead_ccm_setauthsize(struct crypto_aead *tfm, in kmb_ocs_aead_ccm_setauthsize()
1233 static int kmb_ocs_aead_gcm_setauthsize(struct crypto_aead *tfm, in kmb_ocs_aead_gcm_setauthsize()
1239 static int ocs_sm4_aead_cra_init(struct crypto_aead *tfm) in ocs_sm4_aead_cra_init()
1246 static void ocs_aead_cra_exit(struct crypto_aead *tfm) in ocs_aead_cra_exit()