Lines Matching refs:tfms_aead
172 struct crypto_aead **tfms_aead; member
245 return cc->cipher_tfm.tfms_aead[0]; in any_tfm_aead()
1264 aead_request_set_tfm(ctx->r.req_aead, cc->cipher_tfm.tfms_aead[0]); in crypt_alloc_req_aead()
1831 if (!cc->cipher_tfm.tfms_aead) in crypt_free_tfms_aead()
1834 if (cc->cipher_tfm.tfms_aead[0] && !IS_ERR(cc->cipher_tfm.tfms_aead[0])) { in crypt_free_tfms_aead()
1835 crypto_free_aead(cc->cipher_tfm.tfms_aead[0]); in crypt_free_tfms_aead()
1836 cc->cipher_tfm.tfms_aead[0] = NULL; in crypt_free_tfms_aead()
1839 kfree(cc->cipher_tfm.tfms_aead); in crypt_free_tfms_aead()
1840 cc->cipher_tfm.tfms_aead = NULL; in crypt_free_tfms_aead()
1899 cc->cipher_tfm.tfms_aead[0] = crypto_alloc_aead(ciphermode, 0, 0); in crypt_alloc_tfms_aead()
1900 if (IS_ERR(cc->cipher_tfm.tfms_aead[0])) { in crypt_alloc_tfms_aead()
1901 err = PTR_ERR(cc->cipher_tfm.tfms_aead[0]); in crypt_alloc_tfms_aead()
1968 r = crypto_aead_setkey(cc->cipher_tfm.tfms_aead[i], in crypt_setkey()
1971 r = crypto_aead_setkey(cc->cipher_tfm.tfms_aead[i], in crypt_setkey()