Home
last modified time | relevance | path

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

/linux/crypto/
H A Dsimd.c47 struct cryptd_skcipher *cryptd_tfm; member
54 struct crypto_skcipher *child = &ctx->cryptd_tfm->base; in simd_skcipher_setkey()
73 (in_atomic() && cryptd_skcipher_queued(ctx->cryptd_tfm))) in simd_skcipher_encrypt()
74 child = &ctx->cryptd_tfm->base; in simd_skcipher_encrypt()
76 child = cryptd_skcipher_child(ctx->cryptd_tfm); in simd_skcipher_encrypt()
94 (in_atomic() && cryptd_skcipher_queued(ctx->cryptd_tfm))) in simd_skcipher_decrypt()
95 child = &ctx->cryptd_tfm->base; in simd_skcipher_decrypt()
97 child = cryptd_skcipher_child(ctx->cryptd_tfm); in simd_skcipher_decrypt()
108 cryptd_free_skcipher(ctx->cryptd_tfm); in simd_skcipher_exit()
114 struct cryptd_skcipher *cryptd_tfm; in simd_skcipher_init() local
[all …]
/linux/arch/x86/crypto/
H A Dghash-clmulni-intel_glue.c33 struct cryptd_ahash *cryptd_tfm; member
184 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm; in ghash_async_init() local
186 struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm); in ghash_async_init()
197 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm; in ghash_async_update() local
200 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) { in ghash_async_update()
202 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); in ghash_async_update()
215 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm; in ghash_async_final() local
218 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) { in ghash_async_final()
220 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); in ghash_async_final()
256 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm; in ghash_async_digest() local
[all …]
/linux/arch/arm/crypto/
H A Dghash-ce-glue.c59 struct cryptd_ahash *cryptd_tfm; member
221 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm; in ghash_async_init() local
223 struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm); in ghash_async_init()
234 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm; in ghash_async_update() local
237 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) { in ghash_async_update()
239 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); in ghash_async_update()
252 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm; in ghash_async_final() local
255 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) { in ghash_async_final()
257 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); in ghash_async_final()
270 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm; in ghash_async_digest() local
[all …]