Searched refs:cryptd_req (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/arch/x86/crypto/
H A Dghash-clmulni-intel_glue.c169 struct ahash_request *cryptd_req = ahash_request_ctx(req); ghash_async_init() local
173 memcpy(cryptd_req, req, sizeof(*req)); ghash_async_init()
174 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); ghash_async_init()
175 return crypto_ahash_init(cryptd_req); ghash_async_init()
177 struct shash_desc *desc = cryptd_shash_desc(cryptd_req); ghash_async_init()
188 struct ahash_request *cryptd_req = ahash_request_ctx(req); ghash_async_update() local
195 memcpy(cryptd_req, req, sizeof(*req)); ghash_async_update()
196 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); ghash_async_update()
197 return crypto_ahash_update(cryptd_req); ghash_async_update()
199 struct shash_desc *desc = cryptd_shash_desc(cryptd_req); ghash_async_update()
206 struct ahash_request *cryptd_req = ahash_request_ctx(req); ghash_async_final() local
213 memcpy(cryptd_req, req, sizeof(*req)); ghash_async_final()
214 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); ghash_async_final()
215 return crypto_ahash_final(cryptd_req); ghash_async_final()
217 struct shash_desc *desc = cryptd_shash_desc(cryptd_req); ghash_async_final()
226 struct ahash_request *cryptd_req = ahash_request_ctx(req); ghash_async_digest() local
230 memcpy(cryptd_req, req, sizeof(*req)); ghash_async_digest()
231 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); ghash_async_digest()
232 return crypto_ahash_digest(cryptd_req); ghash_async_digest()
234 struct shash_desc *desc = cryptd_shash_desc(cryptd_req); ghash_async_digest()
/linux-4.4.14/arch/arm/crypto/
H A Dghash-ce-glue.c155 struct ahash_request *cryptd_req = ahash_request_ctx(req); ghash_async_init() local
159 memcpy(cryptd_req, req, sizeof(*req)); ghash_async_init()
160 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); ghash_async_init()
161 return crypto_ahash_init(cryptd_req); ghash_async_init()
163 struct shash_desc *desc = cryptd_shash_desc(cryptd_req); ghash_async_init()
174 struct ahash_request *cryptd_req = ahash_request_ctx(req); ghash_async_update() local
181 memcpy(cryptd_req, req, sizeof(*req)); ghash_async_update()
182 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); ghash_async_update()
183 return crypto_ahash_update(cryptd_req); ghash_async_update()
185 struct shash_desc *desc = cryptd_shash_desc(cryptd_req); ghash_async_update()
192 struct ahash_request *cryptd_req = ahash_request_ctx(req); ghash_async_final() local
199 memcpy(cryptd_req, req, sizeof(*req)); ghash_async_final()
200 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); ghash_async_final()
201 return crypto_ahash_final(cryptd_req); ghash_async_final()
203 struct shash_desc *desc = cryptd_shash_desc(cryptd_req); ghash_async_final()
212 struct ahash_request *cryptd_req = ahash_request_ctx(req); ghash_async_digest() local
216 memcpy(cryptd_req, req, sizeof(*req)); ghash_async_digest()
217 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); ghash_async_digest()
218 return crypto_ahash_digest(cryptd_req); ghash_async_digest()
220 struct shash_desc *desc = cryptd_shash_desc(cryptd_req); ghash_async_digest()
/linux-4.4.14/crypto/
H A Dablk_helper.c75 struct ablkcipher_request *cryptd_req = ablk_encrypt() local
78 *cryptd_req = *req; ablk_encrypt()
79 ablkcipher_request_set_tfm(cryptd_req, &ctx->cryptd_tfm->base); ablk_encrypt()
81 return crypto_ablkcipher_encrypt(cryptd_req); ablk_encrypt()
94 struct ablkcipher_request *cryptd_req = ablk_decrypt() local
97 *cryptd_req = *req; ablk_decrypt()
98 ablkcipher_request_set_tfm(cryptd_req, &ctx->cryptd_tfm->base); ablk_decrypt()
100 return crypto_ablkcipher_decrypt(cryptd_req); ablk_decrypt()

Completed in 81 milliseconds