Searched refs:cryptd_tfm (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/arch/arm/crypto/ |
D | ghash-ce-glue.c | 40 struct cryptd_ahash *cryptd_tfm; member 156 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm; in ghash_async_init() local 160 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); in ghash_async_init() 164 struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm); in ghash_async_init() 179 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm; in ghash_async_update() local 182 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); in ghash_async_update() 197 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm; in ghash_async_final() local 200 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); in ghash_async_final() 213 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm; in ghash_async_digest() local 217 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); in ghash_async_digest() [all …]
|
/linux-4.1.27/arch/x86/crypto/ |
D | ghash-clmulni-intel_glue.c | 34 struct cryptd_ahash *cryptd_tfm; member 170 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm; in ghash_async_init() local 174 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); in ghash_async_init() 178 struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm); in ghash_async_init() 193 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm; in ghash_async_update() local 196 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); in ghash_async_update() 211 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm; in ghash_async_final() local 214 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); in ghash_async_final() 227 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm; in ghash_async_digest() local 231 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); in ghash_async_digest() [all …]
|
D | aesni-intel_glue.c | 55 struct cryptd_aead *cryptd_tfm; member 795 struct cryptd_aead *cryptd_tfm; in rfc4106_init() local 800 cryptd_tfm = cryptd_alloc_aead("__driver-gcm-aes-aesni", in rfc4106_init() 803 if (IS_ERR(cryptd_tfm)) in rfc4106_init() 804 return PTR_ERR(cryptd_tfm); in rfc4106_init() 806 cryptd_child = cryptd_aead_child(cryptd_tfm); in rfc4106_init() 809 ctx->cryptd_tfm = cryptd_tfm; in rfc4106_init() 811 + crypto_aead_reqsize(&cryptd_tfm->base); in rfc4106_init() 820 if (!IS_ERR(ctx->cryptd_tfm)) in rfc4106_exit() 821 cryptd_free_aead(ctx->cryptd_tfm); in rfc4106_exit() [all …]
|
/linux-4.1.27/crypto/ |
D | ablk_helper.c | 41 struct crypto_ablkcipher *child = &ctx->cryptd_tfm->base; in ablk_set_key() 60 desc.tfm = cryptd_ablkcipher_child(ctx->cryptd_tfm); in __ablk_encrypt() 79 ablkcipher_request_set_tfm(cryptd_req, &ctx->cryptd_tfm->base); in ablk_encrypt() 98 ablkcipher_request_set_tfm(cryptd_req, &ctx->cryptd_tfm->base); in ablk_decrypt() 104 desc.tfm = cryptd_ablkcipher_child(ctx->cryptd_tfm); in ablk_decrypt() 118 cryptd_free_ablkcipher(ctx->cryptd_tfm); in ablk_exit() 125 struct cryptd_ablkcipher *cryptd_tfm; in ablk_init_common() local 127 cryptd_tfm = cryptd_alloc_ablkcipher(drv_name, CRYPTO_ALG_INTERNAL, in ablk_init_common() 129 if (IS_ERR(cryptd_tfm)) in ablk_init_common() 130 return PTR_ERR(cryptd_tfm); in ablk_init_common() [all …]
|
/linux-4.1.27/include/crypto/ |
D | ablk_helper.h | 13 struct cryptd_ablkcipher *cryptd_tfm; member
|