Lines Matching refs:tfm

51 	struct crypto_aead *tfm = aeadc->aead;  in aead_sufficient_data()  local
52 unsigned int as = crypto_aead_authsize(tfm); in aead_sufficient_data()
68 struct crypto_aead *tfm = aeadc->aead; in aead_sendmsg() local
69 unsigned int ivsize = crypto_aead_ivsize(tfm); in aead_sendmsg()
97 struct crypto_aead *tfm = aeadc->aead; in _aead_recvmsg() local
99 unsigned int i, as = crypto_aead_authsize(tfm); in _aead_recvmsg()
154 crypto_aead_reqsize(tfm)); in _aead_recvmsg()
285 aead_request_set_tfm(&areq->cra_u.aead_req, tfm); in _aead_recvmsg()
382 struct aead_tfm *tfm; in aead_check_key() local
392 tfm = pask->private; in aead_check_key()
396 if (crypto_aead_get_flags(tfm->aead) & CRYPTO_TFM_NEED_KEY) in aead_check_key()
457 struct aead_tfm *tfm; in aead_bind() local
461 tfm = kzalloc(sizeof(*tfm), GFP_KERNEL); in aead_bind()
462 if (!tfm) in aead_bind()
467 kfree(tfm); in aead_bind()
474 kfree(tfm); in aead_bind()
478 tfm->aead = aead; in aead_bind()
479 tfm->null_tfm = null_tfm; in aead_bind()
481 return tfm; in aead_bind()
486 struct aead_tfm *tfm = private; in aead_release() local
488 crypto_free_aead(tfm->aead); in aead_release()
490 kfree(tfm); in aead_release()
495 struct aead_tfm *tfm = private; in aead_setauthsize() local
497 return crypto_aead_setauthsize(tfm->aead, authsize); in aead_setauthsize()
502 struct aead_tfm *tfm = private; in aead_setkey() local
504 return crypto_aead_setkey(tfm->aead, key, keylen); in aead_setkey()
514 struct crypto_aead *tfm = aeadc->aead; in aead_sock_destruct() local
515 unsigned int ivlen = crypto_aead_ivsize(tfm); in aead_sock_destruct()
527 struct aead_tfm *tfm = private; in aead_accept_parent_nokey() local
528 struct crypto_aead *aead = tfm->aead; in aead_accept_parent_nokey()
557 struct aead_tfm *tfm = private; in aead_accept_parent() local
559 if (crypto_aead_get_flags(tfm->aead) & CRYPTO_TFM_NEED_KEY) in aead_accept_parent()