Searched refs:ntfm (Results 1 – 3 of 3) sorted by relevance
134 struct crypto_sync_skcipher *ntfm = NULL; in crypto_get_default_null_skcipher() local143 ntfm = crypto_alloc_sync_skcipher("ecb(cipher_null)", 0, 0); in crypto_get_default_null_skcipher()144 if (IS_ERR(ntfm)) in crypto_get_default_null_skcipher()145 return ntfm; in crypto_get_default_null_skcipher()150 tfm = ntfm; in crypto_get_default_null_skcipher()151 ntfm = NULL; in crypto_get_default_null_skcipher()159 crypto_free_sync_skcipher(ntfm); in crypto_get_default_null_skcipher()
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()