Lines Matching refs:tfm
233 struct crypto_ahash *tfm; in hash_accept() local
241 tfm = crypto_ahash_reqtfm(req); in hash_accept()
242 state = kmalloc(crypto_ahash_statesize(tfm), GFP_KERNEL); in hash_accept()
303 struct crypto_ahash *tfm; in hash_check_key() local
313 tfm = pask->private; in hash_check_key()
317 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in hash_check_key()
414 struct crypto_ahash *tfm = private; in hash_accept_parent_nokey() local
417 unsigned int len = sizeof(*ctx) + crypto_ahash_reqsize(tfm); in hash_accept_parent_nokey()
430 ahash_request_set_tfm(&ctx->req, tfm); in hash_accept_parent_nokey()
441 struct crypto_ahash *tfm = private; in hash_accept_parent() local
443 if (crypto_ahash_get_flags(tfm) & CRYPTO_TFM_NEED_KEY) in hash_accept_parent()