Searched refs:ntfm (Results 1 – 2 of 2) sorted by relevance
98 struct crypto_tfm *ntfm; in crypto_clone_cipher() local106 ntfm = __crypto_alloc_tfmgfp(alg, CRYPTO_ALG_TYPE_CIPHER, in crypto_clone_cipher()108 if (IS_ERR(ntfm)) { in crypto_clone_cipher()110 return ERR_CAST(ntfm); in crypto_clone_cipher()113 ntfm->crt_flags = tfm->crt_flags; in crypto_clone_cipher()115 ncipher = __crypto_cipher_cast(ntfm); in crypto_clone_cipher()
449 static int cryptd_hash_clone_tfm(struct crypto_ahash *ntfm, in cryptd_hash_clone_tfm() argument452 struct cryptd_hash_ctx *nctx = crypto_ahash_ctx(ntfm); in cryptd_hash_clone_tfm()