Home
last modified time | relevance | path

Searched defs:req (Results 1 – 25 of 33) sorted by relevance

12

/crypto/
Dahash.c133 int crypto_hash_walk_first(struct ahash_request *req, in crypto_hash_walk_first()
151 int crypto_ahash_walk_first(struct ahash_request *req, in crypto_ahash_walk_first()
234 static int ahash_save_req(struct ahash_request *req, crypto_completion_t cplt) in ahash_save_req()
291 static void ahash_restore_req(struct ahash_request *req, int err) in ahash_restore_req()
310 static void ahash_notify_einprogress(struct ahash_request *req) in ahash_notify_einprogress()
320 static void ahash_op_unaligned_done(struct crypto_async_request *req, int err) in ahash_op_unaligned_done()
345 static int ahash_op_unaligned(struct ahash_request *req, in ahash_op_unaligned()
365 static int crypto_ahash_op(struct ahash_request *req, in crypto_ahash_op()
377 int crypto_ahash_final(struct ahash_request *req) in crypto_ahash_final()
383 int crypto_ahash_finup(struct ahash_request *req) in crypto_ahash_finup()
[all …]
Dgcm.c94 struct aead_request *req) in crypto_gcm_reqctx()
101 static void crypto_gcm_setkey_done(struct crypto_async_request *req, int err) in crypto_gcm_setkey_done()
125 struct ablkcipher_request req; in crypto_gcm_setkey() member
193 static void crypto_gcm_init_common(struct aead_request *req) in crypto_gcm_init_common()
218 static void crypto_gcm_init_crypt(struct aead_request *req, in crypto_gcm_init_crypt()
243 static int gcm_hash_update(struct aead_request *req, in gcm_hash_update()
257 static int gcm_hash_remain(struct aead_request *req, in gcm_hash_remain()
264 static int gcm_hash_len(struct aead_request *req, u32 flags) in gcm_hash_len()
282 static int gcm_hash_len_continue(struct aead_request *req, u32 flags) in gcm_hash_len_continue()
292 struct aead_request *req = areq->data; in gcm_hash_len_done() local
[all …]
Dmcryptd.c158 struct crypto_async_request *req, *backlog; in mcryptd_queue_worker() local
318 static int mcryptd_hash_enqueue(struct ahash_request *req, in mcryptd_hash_enqueue()
340 struct ahash_request *req = ahash_request_cast(req_async); in mcryptd_hash_init() local
360 static int mcryptd_hash_init_enqueue(struct ahash_request *req) in mcryptd_hash_init_enqueue()
367 struct ahash_request *req = ahash_request_cast(req_async); in mcryptd_hash_update() local
386 static int mcryptd_hash_update_enqueue(struct ahash_request *req) in mcryptd_hash_update_enqueue()
393 struct ahash_request *req = ahash_request_cast(req_async); in mcryptd_hash_final() local
412 static int mcryptd_hash_final_enqueue(struct ahash_request *req) in mcryptd_hash_final_enqueue()
419 struct ahash_request *req = ahash_request_cast(req_async); in mcryptd_hash_finup() local
439 static int mcryptd_hash_finup_enqueue(struct ahash_request *req) in mcryptd_hash_finup_enqueue()
[all …]
Dcryptd.c137 struct crypto_async_request *req, *backlog; in cryptd_queue_worker() local
200 static void cryptd_blkcipher_crypt(struct ablkcipher_request *req, in cryptd_blkcipher_crypt()
230 static void cryptd_blkcipher_encrypt(struct crypto_async_request *req, int err) in cryptd_blkcipher_encrypt()
239 static void cryptd_blkcipher_decrypt(struct crypto_async_request *req, int err) in cryptd_blkcipher_decrypt()
248 static int cryptd_blkcipher_enqueue(struct ablkcipher_request *req, in cryptd_blkcipher_enqueue()
262 static int cryptd_blkcipher_encrypt_enqueue(struct ablkcipher_request *req) in cryptd_blkcipher_encrypt_enqueue()
267 static int cryptd_blkcipher_decrypt_enqueue(struct ablkcipher_request *req) in cryptd_blkcipher_decrypt_enqueue()
445 static int cryptd_hash_enqueue(struct ahash_request *req, in cryptd_hash_enqueue()
463 struct ahash_request *req = ahash_request_cast(req_async); in cryptd_hash_init() local
483 static int cryptd_hash_init_enqueue(struct ahash_request *req) in cryptd_hash_init_enqueue()
[all …]
Dchacha20poly1305.c50 struct ahash_request req; /* must be last member */ member
56 struct ablkcipher_request req; /* must be last member */ member
76 static inline void async_done_continue(struct aead_request *req, int err, in async_done_continue()
86 static void chacha_iv(u8 *iv, struct aead_request *req, u32 icb) in chacha_iv()
97 static int poly_verify_tag(struct aead_request *req) in poly_verify_tag()
110 static int poly_copy_tag(struct aead_request *req) in poly_copy_tag()
125 static int chacha_decrypt(struct aead_request *req) in chacha_decrypt()
156 static int poly_tail_continue(struct aead_request *req) in poly_tail_continue()
171 static int poly_tail(struct aead_request *req) in poly_tail()
205 static int poly_cipherpad(struct aead_request *req) in poly_cipherpad()
[all …]
Dseqiv.c35 static void seqiv_complete2(struct skcipher_givcrypt_request *req, int err) in seqiv_complete2()
55 struct skcipher_givcrypt_request *req = base->data; in seqiv_complete() local
61 static void seqiv_aead_encrypt_complete2(struct aead_request *req, int err) in seqiv_aead_encrypt_complete2()
82 struct aead_request *req = base->data; in seqiv_aead_encrypt_complete() local
102 static int seqiv_givencrypt(struct skcipher_givcrypt_request *req) in seqiv_givencrypt()
147 static int seqiv_aead_encrypt(struct aead_request *req) in seqiv_aead_encrypt()
205 static int seqiv_aead_decrypt(struct aead_request *req) in seqiv_aead_decrypt()
Dskcipher.c51 static int skcipher_crypt_blkcipher(struct skcipher_request *req, in skcipher_crypt_blkcipher()
69 static int skcipher_encrypt_blkcipher(struct skcipher_request *req) in skcipher_encrypt_blkcipher()
78 static int skcipher_decrypt_blkcipher(struct skcipher_request *req) in skcipher_decrypt_blkcipher()
145 static int skcipher_crypt_ablkcipher(struct skcipher_request *req, in skcipher_crypt_ablkcipher()
161 static int skcipher_encrypt_ablkcipher(struct skcipher_request *req) in skcipher_encrypt_ablkcipher()
170 static int skcipher_decrypt_ablkcipher(struct skcipher_request *req) in skcipher_decrypt_ablkcipher()
Dauthencesn.c48 static void authenc_esn_request_complete(struct aead_request *req, int err) in authenc_esn_request_complete()
101 static int crypto_authenc_esn_genicv_tail(struct aead_request *req, in crypto_authenc_esn_genicv_tail()
128 struct aead_request *req = areq->data; in authenc_esn_geniv_ahash_done() local
134 static int crypto_authenc_esn_genicv(struct aead_request *req, in crypto_authenc_esn_genicv()
171 static void crypto_authenc_esn_encrypt_done(struct crypto_async_request *req, in crypto_authenc_esn_encrypt_done()
182 static int crypto_authenc_esn_copy(struct aead_request *req, unsigned int len) in crypto_authenc_esn_copy()
193 static int crypto_authenc_esn_encrypt(struct aead_request *req) in crypto_authenc_esn_encrypt()
231 static int crypto_authenc_esn_decrypt_tail(struct aead_request *req, in crypto_authenc_esn_decrypt_tail()
276 struct aead_request *req = areq->data; in authenc_esn_verify_ahash_done() local
282 static int crypto_authenc_esn_decrypt(struct aead_request *req) in crypto_authenc_esn_decrypt()
Dauthenc.c45 static void authenc_request_complete(struct aead_request *req, int err) in authenc_request_complete()
129 struct aead_request *req = areq->data; in authenc_geniv_ahash_done() local
147 static int crypto_authenc_genicv(struct aead_request *req, unsigned int flags) in crypto_authenc_genicv()
178 static void crypto_authenc_encrypt_done(struct crypto_async_request *req, in crypto_authenc_encrypt_done()
192 static int crypto_authenc_copy_assoc(struct aead_request *req) in crypto_authenc_copy_assoc()
204 static int crypto_authenc_encrypt(struct aead_request *req) in crypto_authenc_encrypt()
243 static int crypto_authenc_decrypt_tail(struct aead_request *req, in crypto_authenc_decrypt_tail()
284 struct aead_request *req = areq->data; in authenc_verify_ahash_done() local
295 static int crypto_authenc_decrypt(struct aead_request *req) in crypto_authenc_decrypt()
Dheh.c75 struct ablkcipher_request req; member
91 static inline struct heh_req_ctx *heh_req_ctx(struct ablkcipher_request *req) in heh_req_ctx()
104 struct ablkcipher_request *req = areq->data; in async_done() local
136 static int generate_betas(struct ablkcipher_request *req, in generate_betas()
322 static int poly_hash(struct ablkcipher_request *req, struct scatterlist *sgl, in poly_hash()
373 static int heh_tfm_blocks(struct ablkcipher_request *req, in heh_tfm_blocks()
421 static int heh_hash(struct ablkcipher_request *req, const be128 *beta_key) in heh_hash()
457 static int heh_hash_inv(struct ablkcipher_request *req, const be128 *beta_key) in heh_hash_inv()
496 static int heh_hash_inv_step(struct ablkcipher_request *req, u32 flags) in heh_hash_inv_step()
503 static int heh_ecb_step_3(struct ablkcipher_request *req, u32 flags) in heh_ecb_step_3()
[all …]
Dtcrypt.c83 static void tcrypt_complete(struct crypto_async_request *req, int err) in tcrypt_complete()
164 static inline int do_one_aead_op(struct aead_request *req, int ret) in do_one_aead_op()
178 static int test_aead_jiffies(struct aead_request *req, int enc, in test_aead_jiffies()
201 static int test_aead_cycles(struct aead_request *req, int enc, int blen) in test_aead_cycles()
312 struct aead_request *req; in test_aead_speed() local
793 static inline int do_one_ahash_op(struct ahash_request *req, int ret) in do_one_ahash_op()
805 static int test_ahash_jiffies_digest(struct ahash_request *req, int blen, in test_ahash_jiffies_digest()
825 static int test_ahash_jiffies(struct ahash_request *req, int blen, in test_ahash_jiffies()
857 static int test_ahash_cycles_digest(struct ahash_request *req, int blen, in test_ahash_cycles_digest()
895 static int test_ahash_cycles(struct ahash_request *req, int blen, in test_ahash_cycles()
[all …]
Dablk_helper.c54 int __ablk_encrypt(struct ablkcipher_request *req) in __ablk_encrypt()
69 int ablk_encrypt(struct ablkcipher_request *req) in ablk_encrypt()
88 int ablk_decrypt(struct ablkcipher_request *req) in ablk_decrypt()
Dchainiv.c48 static int chainiv_givencrypt(struct skcipher_givcrypt_request *req) in chainiv_givencrypt()
137 static int async_chainiv_postpone_request(struct skcipher_givcrypt_request *req) in async_chainiv_postpone_request()
154 static int async_chainiv_givencrypt_tail(struct skcipher_givcrypt_request *req) in async_chainiv_givencrypt_tail()
174 static int async_chainiv_givencrypt(struct skcipher_givcrypt_request *req) in async_chainiv_givencrypt()
206 struct skcipher_givcrypt_request *req; in async_chainiv_do_postponed() local
Dablkcipher.c102 int ablkcipher_walk_done(struct ablkcipher_request *req, in ablkcipher_walk_done()
144 static inline int ablkcipher_next_slow(struct ablkcipher_request *req, in ablkcipher_next_slow()
209 static inline int ablkcipher_next_fast(struct ablkcipher_request *req, in ablkcipher_next_fast()
220 static int ablkcipher_walk_next(struct ablkcipher_request *req, in ablkcipher_walk_next()
265 static int ablkcipher_walk_first(struct ablkcipher_request *req, in ablkcipher_walk_first()
294 int ablkcipher_walk_phys(struct ablkcipher_request *req, in ablkcipher_walk_phys()
347 int skcipher_null_givencrypt(struct skcipher_givcrypt_request *req) in skcipher_null_givencrypt()
352 int skcipher_null_givdecrypt(struct skcipher_givcrypt_request *req) in skcipher_null_givdecrypt()
435 static int no_givdecrypt(struct skcipher_givcrypt_request *req) in no_givdecrypt()
Dccm.c57 struct aead_request *req) in crypto_ccm_reqctx()
129 static int format_input(u8 *info, struct aead_request *req, in format_input()
251 static int crypto_ccm_auth(struct aead_request *req, struct scatterlist *plain, in crypto_ccm_auth()
289 struct aead_request *req = areq->data; in crypto_ccm_encrypt_done() local
310 static int crypto_ccm_init_crypt(struct aead_request *req, u8 *tag) in crypto_ccm_init_crypt()
345 static int crypto_ccm_encrypt(struct aead_request *req) in crypto_ccm_encrypt()
386 struct aead_request *req = areq->data; in crypto_ccm_decrypt_done() local
405 static int crypto_ccm_decrypt(struct aead_request *req) in crypto_ccm_decrypt()
705 static struct aead_request *crypto_rfc4309_crypt(struct aead_request *req) in crypto_rfc4309_crypt()
749 static int crypto_rfc4309_encrypt(struct aead_request *req) in crypto_rfc4309_encrypt()
[all …]
Drsa.c78 static int rsa_enc(struct akcipher_request *req) in rsa_enc()
123 static int rsa_dec(struct akcipher_request *req) in rsa_dec()
167 static int rsa_sign(struct akcipher_request *req) in rsa_sign()
212 static int rsa_verify(struct akcipher_request *req) in rsa_verify()
Dzlib.c144 struct comp_request *req) in zlib_compress_update()
182 struct comp_request *req) in zlib_compress_final()
258 struct comp_request *req) in zlib_decompress_update()
297 struct comp_request *req) in zlib_decompress_final()
Dpcrypt.c121 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_serial() local
128 struct aead_request *req = areq->data; in pcrypt_aead_done() local
140 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_enc() local
152 static int pcrypt_aead_encrypt(struct aead_request *req) in pcrypt_aead_encrypt()
184 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_dec() local
196 static int pcrypt_aead_decrypt(struct aead_request *req) in pcrypt_aead_decrypt()
Dshash.c222 static int shash_async_init(struct ahash_request *req) in shash_async_init()
233 int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc) in shash_ahash_update()
246 static int shash_async_update(struct ahash_request *req) in shash_async_update()
251 static int shash_async_final(struct ahash_request *req) in shash_async_final()
256 int shash_ahash_finup(struct ahash_request *req, struct shash_desc *desc) in shash_ahash_finup()
277 static int shash_async_finup(struct ahash_request *req) in shash_async_finup()
288 int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc) in shash_ahash_digest()
313 static int shash_async_digest(struct ahash_request *req) in shash_async_digest()
324 static int shash_async_export(struct ahash_request *req, void *out) in shash_async_export()
329 static int shash_async_import(struct ahash_request *req, const void *in) in shash_async_import()
Deseqiv.c42 static void eseqiv_complete2(struct skcipher_givcrypt_request *req) in eseqiv_complete2()
54 struct skcipher_givcrypt_request *req = base->data; in eseqiv_complete() local
65 static int eseqiv_givencrypt(struct skcipher_givcrypt_request *req) in eseqiv_givencrypt()
Dechainiv.c30 static int echainiv_encrypt(struct aead_request *req) in echainiv_encrypt()
86 static int echainiv_decrypt(struct aead_request *req) in echainiv_decrypt()
Dtestmgr.c153 static void tcrypt_complete(struct crypto_async_request *req, int err) in tcrypt_complete()
210 struct ahash_request *req; in __test_hash() local
436 struct aead_request *req; in __test_aead() local
934 struct skcipher_request *req; in __test_skcipher() local
1308 struct comp_request req; in test_pcomp() local
1389 struct comp_request req; in test_pcomp() local
1854 struct akcipher_request *req; in do_test_rsa() local
Dalgif_skcipher.c55 struct skcipher_request req; member
69 struct skcipher_request req; member
100 static void skcipher_async_cb(struct crypto_async_request *req, int err) in skcipher_async_cb()
519 struct skcipher_request *req; in skcipher_recvmsg_async() local
Dalgif_hash.c34 struct ahash_request req; member
186 struct ahash_request *req = &ctx->req; in hash_accept() local
/crypto/asymmetric_keys/
Dx509_public_key.c85 char *req, *p; in x509_request_asymmetric_key() local

12