Home
last modified time | relevance | path

Searched refs:cipher_tfm (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm-crypt.c176 } cipher_tfm; member
245 return cc->cipher_tfm.tfms[0]; in any_tfm()
250 return cc->cipher_tfm.tfms_aead[0]; in any_tfm_aead()
1468 skcipher_request_set_tfm(ctx->r.req, cc->cipher_tfm.tfms[key_index]); in crypt_alloc_req_skcipher()
1490 aead_request_set_tfm(ctx->r.req_aead, cc->cipher_tfm.tfms_aead[0]); in crypt_alloc_req_aead()
2245 if (!cc->cipher_tfm.tfms_aead) in crypt_free_tfms_aead()
2248 if (cc->cipher_tfm.tfms_aead[0] && !IS_ERR(cc->cipher_tfm.tfms_aead[0])) { in crypt_free_tfms_aead()
2249 crypto_free_aead(cc->cipher_tfm.tfms_aead[0]); in crypt_free_tfms_aead()
2250 cc->cipher_tfm.tfms_aead[0] = NULL; in crypt_free_tfms_aead()
2253 kfree(cc->cipher_tfm.tfms_aead); in crypt_free_tfms_aead()
[all …]