Lines Matching refs:cryptd_tfm

675 	struct cryptd_aead *cryptd_tfm;  in rfc4106_init()  local
678 cryptd_tfm = cryptd_alloc_aead("__driver-gcm-aes-aesni", in rfc4106_init()
681 if (IS_ERR(cryptd_tfm)) in rfc4106_init()
682 return PTR_ERR(cryptd_tfm); in rfc4106_init()
684 *ctx = cryptd_tfm; in rfc4106_init()
685 crypto_aead_set_reqsize(aead, crypto_aead_reqsize(&cryptd_tfm->base)); in rfc4106_init()
744 struct cryptd_aead *cryptd_tfm = *ctx; in gcmaes_wrapper_set_key() local
746 return crypto_aead_setkey(&cryptd_tfm->base, key, key_len); in gcmaes_wrapper_set_key()
770 struct cryptd_aead *cryptd_tfm = *ctx; in gcmaes_wrapper_set_authsize() local
772 return crypto_aead_setauthsize(&cryptd_tfm->base, authsize); in gcmaes_wrapper_set_authsize()
1118 struct cryptd_aead *cryptd_tfm = *ctx; in gcmaes_wrapper_encrypt() local
1120 tfm = &cryptd_tfm->base; in gcmaes_wrapper_encrypt()
1122 !cryptd_aead_queued(cryptd_tfm))) in gcmaes_wrapper_encrypt()
1123 tfm = cryptd_aead_child(cryptd_tfm); in gcmaes_wrapper_encrypt()
1134 struct cryptd_aead *cryptd_tfm = *ctx; in gcmaes_wrapper_decrypt() local
1136 tfm = &cryptd_tfm->base; in gcmaes_wrapper_decrypt()
1138 !cryptd_aead_queued(cryptd_tfm))) in gcmaes_wrapper_decrypt()
1139 tfm = cryptd_aead_child(cryptd_tfm); in gcmaes_wrapper_decrypt()
1315 struct cryptd_aead *cryptd_tfm; in generic_gcmaes_init() local
1318 cryptd_tfm = cryptd_alloc_aead("__driver-generic-gcm-aes-aesni", in generic_gcmaes_init()
1321 if (IS_ERR(cryptd_tfm)) in generic_gcmaes_init()
1322 return PTR_ERR(cryptd_tfm); in generic_gcmaes_init()
1324 *ctx = cryptd_tfm; in generic_gcmaes_init()
1325 crypto_aead_set_reqsize(aead, crypto_aead_reqsize(&cryptd_tfm->base)); in generic_gcmaes_init()