Home
last modified time | relevance | path

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

/linux-6.15/crypto/
H A Dcrypto_null.c134 struct crypto_sync_skcipher *ntfm = NULL; in crypto_get_default_null_skcipher() local
143 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()
H A Dcipher.c98 struct crypto_tfm *ntfm; in crypto_clone_cipher() local
106 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()
H A Dcryptd.c449 static int cryptd_hash_clone_tfm(struct crypto_ahash *ntfm, in cryptd_hash_clone_tfm() argument
452 struct cryptd_hash_ctx *nctx = crypto_ahash_ctx(ntfm); in cryptd_hash_clone_tfm()