Home
last modified time | relevance | path

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

123

/crypto/
Dcrypto_engine.c26 struct crypto_async_request *req, int err) in crypto_finalize_request()
258 struct crypto_async_request *req, in crypto_transfer_request()
287 struct crypto_async_request *req) in crypto_transfer_request_to_engine()
299 struct aead_request *req) in crypto_transfer_aead_request_to_engine()
312 struct akcipher_request *req) in crypto_transfer_akcipher_request_to_engine()
325 struct ahash_request *req) in crypto_transfer_hash_request_to_engine()
338 struct skcipher_request *req) in crypto_transfer_skcipher_request_to_engine()
352 struct aead_request *req, int err) in crypto_finalize_aead_request()
366 struct akcipher_request *req, int err) in crypto_finalize_akcipher_request()
380 struct ahash_request *req, int err) in crypto_finalize_hash_request()
[all …]
Dgcm.c85 struct aead_request *req) in crypto_gcm_reqctx()
105 struct skcipher_request req; in crypto_gcm_setkey() member
152 static void crypto_gcm_init_common(struct aead_request *req) in crypto_gcm_init_common()
177 static void crypto_gcm_init_crypt(struct aead_request *req, in crypto_gcm_init_crypt()
202 static int gcm_hash_update(struct aead_request *req, in gcm_hash_update()
216 static int gcm_hash_remain(struct aead_request *req, in gcm_hash_remain()
223 static int gcm_hash_len(struct aead_request *req, u32 flags) in gcm_hash_len()
241 static int gcm_hash_len_continue(struct aead_request *req, u32 flags) in gcm_hash_len_continue()
251 struct aead_request *req = areq->data; in gcm_hash_len_done() local
264 static int gcm_hash_crypt_remain_continue(struct aead_request *req, u32 flags) in gcm_hash_crypt_remain_continue()
[all …]
Dxts.c82 static int xts_xor_tweak(struct skcipher_request *req, bool second_pass, in xts_xor_tweak()
133 static int xts_xor_tweak_pre(struct skcipher_request *req, bool enc) in xts_xor_tweak_pre()
138 static int xts_xor_tweak_post(struct skcipher_request *req, bool enc) in xts_xor_tweak_post()
145 struct skcipher_request *req = areq->data; in xts_cts_done() local
159 static int xts_cts_final(struct skcipher_request *req, in xts_cts_final()
160 int (*crypt)(struct skcipher_request *req)) in xts_cts_final()
201 struct skcipher_request *req = areq->data; in xts_encrypt_done() local
221 struct skcipher_request *req = areq->data; in xts_decrypt_done() local
239 static int xts_init_crypt(struct skcipher_request *req, in xts_init_crypt()
261 static int xts_encrypt(struct skcipher_request *req) in xts_encrypt()
[all …]
Dchacha20poly1305.c42 struct ahash_request req; /* must be last member */ member
48 struct skcipher_request req; /* must be last member */ member
70 static inline void async_done_continue(struct aead_request *req, int err, in async_done_continue()
84 static void chacha_iv(u8 *iv, struct aead_request *req, u32 icb) in chacha_iv()
95 static int poly_verify_tag(struct aead_request *req) in poly_verify_tag()
108 static int poly_copy_tag(struct aead_request *req) in poly_copy_tag()
123 static int chacha_decrypt(struct aead_request *req) in chacha_decrypt()
154 static int poly_tail_continue(struct aead_request *req) in poly_tail_continue()
169 static int poly_tail(struct aead_request *req) in poly_tail()
199 static int poly_cipherpad(struct aead_request *req) in poly_cipherpad()
[all …]
Dcryptd.c76 struct skcipher_request req; member
165 struct crypto_async_request *req, *backlog; in cryptd_queue_worker() local
240 static void cryptd_skcipher_complete(struct skcipher_request *req, int err) in cryptd_skcipher_complete()
258 struct skcipher_request *req = skcipher_request_cast(base); in cryptd_skcipher_encrypt() local
286 struct skcipher_request *req = skcipher_request_cast(base); in cryptd_skcipher_decrypt() local
311 static int cryptd_skcipher_enqueue(struct skcipher_request *req, in cryptd_skcipher_enqueue()
325 static int cryptd_skcipher_encrypt_enqueue(struct skcipher_request *req) in cryptd_skcipher_encrypt_enqueue()
330 static int cryptd_skcipher_decrypt_enqueue(struct skcipher_request *req) in cryptd_skcipher_decrypt_enqueue()
464 static int cryptd_hash_enqueue(struct ahash_request *req, in cryptd_hash_enqueue()
478 static void cryptd_hash_complete(struct ahash_request *req, int err) in cryptd_hash_complete()
[all …]
Dahash.c119 int crypto_hash_walk_first(struct ahash_request *req, in crypto_hash_walk_first()
199 static int ahash_save_req(struct ahash_request *req, crypto_completion_t cplt) in ahash_save_req()
256 static void ahash_restore_req(struct ahash_request *req, int err) in ahash_restore_req()
275 static void ahash_notify_einprogress(struct ahash_request *req) in ahash_notify_einprogress()
285 static void ahash_op_unaligned_done(struct crypto_async_request *req, int err) in ahash_op_unaligned_done()
310 static int ahash_op_unaligned(struct ahash_request *req, in ahash_op_unaligned()
328 static int crypto_ahash_op(struct ahash_request *req, in crypto_ahash_op()
340 int crypto_ahash_final(struct ahash_request *req) in crypto_ahash_final()
354 int crypto_ahash_finup(struct ahash_request *req) in crypto_ahash_finup()
368 int crypto_ahash_digest(struct ahash_request *req) in crypto_ahash_digest()
[all …]
Dpcbc.c20 static int crypto_pcbc_encrypt_segment(struct skcipher_request *req, in crypto_pcbc_encrypt_segment()
42 static int crypto_pcbc_encrypt_inplace(struct skcipher_request *req, in crypto_pcbc_encrypt_inplace()
64 static int crypto_pcbc_encrypt(struct skcipher_request *req) in crypto_pcbc_encrypt()
87 static int crypto_pcbc_decrypt_segment(struct skcipher_request *req, in crypto_pcbc_decrypt_segment()
109 static int crypto_pcbc_decrypt_inplace(struct skcipher_request *req, in crypto_pcbc_decrypt_inplace()
131 static int crypto_pcbc_decrypt(struct skcipher_request *req) in crypto_pcbc_decrypt()
Dcts.c65 static inline u8 *crypto_cts_reqctx_space(struct skcipher_request *req) in crypto_cts_reqctx_space()
90 struct skcipher_request *req = areq->data; in cts_cbc_crypt_done() local
98 static int cts_cbc_encrypt(struct skcipher_request *req) in cts_cbc_encrypt()
130 struct skcipher_request *req = areq->data; in crypto_cts_encrypt_done() local
143 static int crypto_cts_encrypt(struct skcipher_request *req) in crypto_cts_encrypt()
179 static int cts_cbc_decrypt(struct skcipher_request *req) in cts_cbc_decrypt()
224 struct skcipher_request *req = areq->data; in crypto_cts_decrypt_done() local
237 static int crypto_cts_decrypt(struct skcipher_request *req) in crypto_cts_decrypt()
Dseqiv.c21 static void seqiv_aead_encrypt_complete2(struct aead_request *req, int err) in seqiv_aead_encrypt_complete2()
42 struct aead_request *req = base->data; in seqiv_aead_encrypt_complete() local
48 static int seqiv_aead_encrypt(struct aead_request *req) in seqiv_aead_encrypt()
109 static int seqiv_aead_decrypt(struct aead_request *req) in seqiv_aead_decrypt()
Dlrw.c140 static int lrw_xor_tweak(struct skcipher_request *req, bool second_pass) in lrw_xor_tweak()
198 static int lrw_xor_tweak_pre(struct skcipher_request *req) in lrw_xor_tweak_pre()
203 static int lrw_xor_tweak_post(struct skcipher_request *req) in lrw_xor_tweak_post()
210 struct skcipher_request *req = areq->data; in lrw_crypt_done() local
222 static void lrw_init_crypt(struct skcipher_request *req) in lrw_init_crypt()
243 static int lrw_encrypt(struct skcipher_request *req) in lrw_encrypt()
254 static int lrw_decrypt(struct skcipher_request *req) in lrw_decrypt()
Dchacha_generic.c15 static int chacha_stream_xor(struct skcipher_request *req, in chacha_stream_xor()
40 static int crypto_chacha_crypt(struct skcipher_request *req) in crypto_chacha_crypt()
48 static int crypto_xchacha_crypt(struct skcipher_request *req) in crypto_xchacha_crypt()
Dauthencesn.c43 static void authenc_esn_request_complete(struct aead_request *req, int err) in authenc_esn_request_complete()
86 static int crypto_authenc_esn_genicv_tail(struct aead_request *req, in crypto_authenc_esn_genicv_tail()
113 struct aead_request *req = areq->data; in authenc_esn_geniv_ahash_done() local
119 static int crypto_authenc_esn_genicv(struct aead_request *req, in crypto_authenc_esn_genicv()
156 static void crypto_authenc_esn_encrypt_done(struct crypto_async_request *req, in crypto_authenc_esn_encrypt_done()
167 static int crypto_authenc_esn_copy(struct aead_request *req, unsigned int len) in crypto_authenc_esn_copy()
181 static int crypto_authenc_esn_encrypt(struct aead_request *req) in crypto_authenc_esn_encrypt()
219 static int crypto_authenc_esn_decrypt_tail(struct aead_request *req, in crypto_authenc_esn_decrypt_tail()
264 struct aead_request *req = areq->data; in authenc_esn_verify_ahash_done() local
270 static int crypto_authenc_esn_decrypt(struct aead_request *req) in crypto_authenc_esn_decrypt()
Drsa-pkcs1pad.c174 static int pkcs1pad_encrypt_sign_complete(struct akcipher_request *req, int err) in pkcs1pad_encrypt_sign_complete()
216 struct akcipher_request *req = child_async_req->data; in pkcs1pad_encrypt_sign_complete_cb() local
227 static int pkcs1pad_encrypt(struct akcipher_request *req) in pkcs1pad_encrypt()
275 static int pkcs1pad_decrypt_complete(struct akcipher_request *req, int err) in pkcs1pad_decrypt_complete()
332 struct akcipher_request *req = child_async_req->data; in pkcs1pad_decrypt_complete_cb() local
343 static int pkcs1pad_decrypt(struct akcipher_request *req) in pkcs1pad_decrypt()
376 static int pkcs1pad_sign(struct akcipher_request *req) in pkcs1pad_sign()
433 static int pkcs1pad_verify_complete(struct akcipher_request *req, int err) in pkcs1pad_verify_complete()
511 struct akcipher_request *req = child_async_req->data; in pkcs1pad_verify_complete_cb() local
530 static int pkcs1pad_verify(struct akcipher_request *req) in pkcs1pad_verify()
Dauthenc.c40 static void authenc_request_complete(struct aead_request *req, int err) in authenc_request_complete()
114 struct aead_request *req = areq->data; in authenc_geniv_ahash_done() local
132 static int crypto_authenc_genicv(struct aead_request *req, unsigned int flags) in crypto_authenc_genicv()
163 static void crypto_authenc_encrypt_done(struct crypto_async_request *req, in crypto_authenc_encrypt_done()
177 static int crypto_authenc_copy_assoc(struct aead_request *req) in crypto_authenc_copy_assoc()
192 static int crypto_authenc_encrypt(struct aead_request *req) in crypto_authenc_encrypt()
229 static int crypto_authenc_decrypt_tail(struct aead_request *req, in crypto_authenc_decrypt_tail()
267 struct aead_request *req = areq->data; in authenc_verify_ahash_done() local
278 static int crypto_authenc_decrypt(struct aead_request *req) in crypto_authenc_decrypt()
Decb.c16 static int crypto_ecb_crypt(struct skcipher_request *req, in crypto_ecb_crypt()
44 static int crypto_ecb_encrypt(struct skcipher_request *req) in crypto_ecb_encrypt()
53 static int crypto_ecb_decrypt(struct skcipher_request *req) in crypto_ecb_decrypt()
Dscompress.c120 static int scomp_acomp_comp_decomp(struct acomp_req *req, int dir) in scomp_acomp_comp_decomp()
170 static int scomp_acomp_compress(struct acomp_req *req) in scomp_acomp_compress()
175 static int scomp_acomp_decompress(struct acomp_req *req) in scomp_acomp_decompress()
219 struct acomp_req *crypto_acomp_scomp_alloc_ctx(struct acomp_req *req) in crypto_acomp_scomp_alloc_ctx()
238 void crypto_acomp_scomp_free_ctx(struct acomp_req *req) in crypto_acomp_scomp_free_ctx()
Dadiantum.c126 struct skcipher_request req; /* must be last */ in adiantum_setkey() member
219 static void adiantum_hash_header(struct skcipher_request *req) in adiantum_hash_header()
247 static int adiantum_hash_message(struct skcipher_request *req, in adiantum_hash_message()
282 static int adiantum_finish(struct skcipher_request *req) in adiantum_finish()
314 struct skcipher_request *req = areq->data; in adiantum_streamcipher_done() local
322 static int adiantum_crypt(struct skcipher_request *req, bool enc) in adiantum_crypt()
387 static int adiantum_encrypt(struct skcipher_request *req) in adiantum_encrypt()
392 static int adiantum_decrypt(struct skcipher_request *req) in adiantum_decrypt()
Dessiv.c136 struct skcipher_request *req = areq->data; in essiv_skcipher_done() local
141 static int essiv_skcipher_crypt(struct skcipher_request *req, bool enc) in essiv_skcipher_crypt()
159 static int essiv_skcipher_encrypt(struct skcipher_request *req) in essiv_skcipher_encrypt()
164 static int essiv_skcipher_decrypt(struct skcipher_request *req) in essiv_skcipher_decrypt()
171 struct aead_request *req = areq->data; in essiv_aead_done() local
183 static int essiv_aead_crypt(struct aead_request *req, bool enc) in essiv_aead_crypt()
260 static int essiv_aead_encrypt(struct aead_request *req) in essiv_aead_encrypt()
265 static int essiv_aead_decrypt(struct aead_request *req) in essiv_aead_decrypt()
Dshash.c257 static int shash_async_init(struct ahash_request *req) in shash_async_init()
267 int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc) in shash_ahash_update()
280 static int shash_async_update(struct ahash_request *req) in shash_async_update()
285 static int shash_async_final(struct ahash_request *req) in shash_async_final()
290 int shash_ahash_finup(struct ahash_request *req, struct shash_desc *desc) in shash_ahash_finup()
311 static int shash_async_finup(struct ahash_request *req) in shash_async_finup()
321 int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc) in shash_ahash_digest()
345 static int shash_async_digest(struct ahash_request *req) in shash_async_digest()
355 static int shash_async_export(struct ahash_request *req, void *out) in shash_async_export()
360 static int shash_async_import(struct ahash_request *req, const void *in) in shash_async_import()
Dpcrypt.c61 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_serial() local
68 struct aead_request *req = areq->data; in pcrypt_aead_done() local
80 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_enc() local
92 static int pcrypt_aead_encrypt(struct aead_request *req) in pcrypt_aead_encrypt()
129 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_dec() local
141 static int pcrypt_aead_decrypt(struct aead_request *req) in pcrypt_aead_decrypt()
Dtcrypt.c140 static inline int do_one_aead_op(struct aead_request *req, int ret) in do_one_aead_op()
150 struct aead_request *req; member
461 static int test_aead_jiffies(struct aead_request *req, int enc, in test_aead_jiffies()
484 static int test_aead_cycles(struct aead_request *req, int enc, int blen) in test_aead_cycles()
535 struct aead_request *req; in test_aead_speed() local
720 static inline int do_one_ahash_op(struct ahash_request *req, int ret) in do_one_ahash_op()
730 struct ahash_request *req; member
921 static int test_ahash_jiffies_digest(struct ahash_request *req, int blen, in test_ahash_jiffies_digest()
941 static int test_ahash_jiffies(struct ahash_request *req, int blen, in test_ahash_jiffies()
973 static int test_ahash_cycles_digest(struct ahash_request *req, int blen, in test_ahash_cycles_digest()
[all …]
Dhctr2.c170 static int hctr2_hash_tweak(struct skcipher_request *req) in hctr2_hash_tweak()
192 static int hctr2_hash_message(struct skcipher_request *req, in hctr2_hash_message()
229 static int hctr2_finish(struct skcipher_request *req) in hctr2_finish()
258 struct skcipher_request *req = areq->data; in hctr2_xctr_done() local
266 static int hctr2_crypt(struct skcipher_request *req, bool enc) in hctr2_crypt()
325 static int hctr2_encrypt(struct skcipher_request *req) in hctr2_encrypt()
330 static int hctr2_decrypt(struct skcipher_request *req) in hctr2_decrypt()
Dccm.c62 struct aead_request *req) in crypto_ccm_reqctx()
127 static int format_input(u8 *info, struct aead_request *req, in format_input()
168 static int crypto_ccm_auth(struct aead_request *req, struct scatterlist *plain, in crypto_ccm_auth()
229 struct aead_request *req = areq->data; in crypto_ccm_encrypt_done() local
250 static int crypto_ccm_init_crypt(struct aead_request *req, u8 *tag) in crypto_ccm_init_crypt()
285 static int crypto_ccm_encrypt(struct aead_request *req) in crypto_ccm_encrypt()
326 struct aead_request *req = areq->data; in crypto_ccm_decrypt_done() local
345 static int crypto_ccm_decrypt(struct aead_request *req) in crypto_ccm_decrypt()
604 static struct aead_request *crypto_rfc4309_crypt(struct aead_request *req) in crypto_rfc4309_crypt()
648 static int crypto_rfc4309_encrypt(struct aead_request *req) in crypto_rfc4309_encrypt()
[all …]
Dechainiv.c26 static int echainiv_encrypt(struct aead_request *req) in echainiv_encrypt()
85 static int echainiv_decrypt(struct aead_request *req) in echainiv_decrypt()
Dskcipher.c450 struct skcipher_request *req) in skcipher_walk_skcipher()
478 struct skcipher_request *req, bool atomic) in skcipher_walk_virt()
495 struct skcipher_request *req) in skcipher_walk_async()
506 struct aead_request *req, bool atomic) in skcipher_walk_aead_common()
548 struct aead_request *req, bool atomic) in skcipher_walk_aead_encrypt()
557 struct aead_request *req, bool atomic) in skcipher_walk_aead_decrypt()
619 int crypto_skcipher_encrypt(struct skcipher_request *req) in crypto_skcipher_encrypt()
636 int crypto_skcipher_decrypt(struct skcipher_request *req) in crypto_skcipher_decrypt()

123