Home
last modified time | relevance | path

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

12

/crypto/
A Dgcm.c81 struct aead_request *req) in crypto_gcm_reqctx()
101 struct skcipher_request req; in crypto_gcm_setkey() member
198 static int gcm_hash_update(struct aead_request *req, in gcm_hash_update()
247 struct aead_request *req = data; in gcm_hash_len_done() local
268 struct aead_request *req = data; in gcm_hash_crypt_remain_done() local
298 struct aead_request *req = data; in gcm_hash_crypt_done() local
326 struct aead_request *req = data; in gcm_hash_assoc_remain_done() local
354 struct aead_request *req = data; in gcm_hash_assoc_done() local
379 struct aead_request *req = data; in gcm_hash_init_done() local
432 struct aead_request *req = data; in gcm_encrypt_done() local
[all …]
A Dahash.c102 int crypto_hash_walk_first(struct ahash_request *req, in crypto_hash_walk_first()
322 static int ahash_do_req_chain(struct ahash_request *req, in ahash_do_req_chain()
323 int (*const *op)(struct ahash_request *req)) in ahash_do_req_chain()
371 int crypto_ahash_init(struct ahash_request *req) in crypto_ahash_init()
399 static void ahash_restore_req(struct ahash_request *req) in ahash_restore_req()
443 int crypto_ahash_update(struct ahash_request *req) in crypto_ahash_update()
524 int crypto_ahash_finup(struct ahash_request *req) in crypto_ahash_finup()
566 int crypto_ahash_digest(struct ahash_request *req) in crypto_ahash_digest()
614 static int ahash_def_finup(struct ahash_request *req) in ahash_def_finup()
637 int crypto_ahash_export(struct ahash_request *req, void *out) in crypto_ahash_export()
[all …]
A Dcrypto_engine.c38 struct crypto_async_request *req, int err) in crypto_finalize_request()
189 struct crypto_async_request *req, in crypto_transfer_request()
218 struct crypto_async_request *req) in crypto_transfer_request_to_engine()
230 struct aead_request *req) in crypto_transfer_aead_request_to_engine()
243 struct akcipher_request *req) in crypto_transfer_akcipher_request_to_engine()
256 struct ahash_request *req) in crypto_transfer_hash_request_to_engine()
269 struct kpp_request *req) in crypto_transfer_kpp_request_to_engine()
282 struct skcipher_request *req) in crypto_transfer_skcipher_request_to_engine()
296 struct aead_request *req, int err) in crypto_finalize_aead_request()
324 struct ahash_request *req, int err) in crypto_finalize_hash_request()
[all …]
A Dcryptd.c76 struct skcipher_request req; member
96 struct aead_request req; member
296 struct skcipher_request *req = data; in cryptd_skcipher_encrypt() local
308 struct skcipher_request *req = data; in cryptd_skcipher_decrypt() local
539 struct ahash_request *req = data; in cryptd_hash_init() local
564 struct ahash_request *req = data; in cryptd_hash_update() local
581 struct ahash_request *req = data; in cryptd_hash_final() local
598 struct ahash_request *req = data; in cryptd_hash_finup() local
615 struct ahash_request *req = data; in cryptd_hash_digest() local
792 struct aead_request *req = data; in cryptd_aead_encrypt() local
[all …]
A 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 = 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 = data; in xts_encrypt_done() local
221 struct skcipher_request *req = 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 …]
A Dacompress.c177 static void acomp_restore_req(struct acomp_req *req) in acomp_restore_req()
185 static void acomp_reqchain_virt(struct acomp_req *req) in acomp_reqchain_virt()
197 static void acomp_virt_to_sg(struct acomp_req *req) in acomp_virt_to_sg()
223 static int acomp_do_nondma(struct acomp_req *req, bool comp) in acomp_do_nondma()
237 static int acomp_do_one_req(struct acomp_req *req, bool comp) in acomp_do_one_req()
256 struct acomp_req *req = data; in acomp_reqchain_done() local
271 static int acomp_do_req_chain(struct acomp_req *req, bool comp) in acomp_do_req_chain()
284 int crypto_acomp_compress(struct acomp_req *req) in crypto_acomp_compress()
296 int crypto_acomp_decompress(struct acomp_req *req) in crypto_acomp_decompress()
535 struct acomp_req *__restrict req, bool atomic) in acomp_walk_virt()
[all …]
A Dchacha.c48 static int chacha_stream_xor(struct skcipher_request *req, in chacha_stream_xor()
79 static int crypto_chacha_crypt_generic(struct skcipher_request *req) in crypto_chacha_crypt_generic()
87 static int crypto_chacha_crypt_arch(struct skcipher_request *req) in crypto_chacha_crypt_arch()
95 static int crypto_xchacha_crypt(struct skcipher_request *req, bool arch) in crypto_xchacha_crypt()
119 static int crypto_xchacha_crypt_generic(struct skcipher_request *req) in crypto_xchacha_crypt_generic()
124 static int crypto_xchacha_crypt_arch(struct skcipher_request *req) in crypto_xchacha_crypt_arch()
A Dkrb5enc.c42 static void krb5enc_request_complete(struct aead_request *req, int err) in krb5enc_request_complete()
128 struct aead_request *req = data; in krb5enc_encrypt_done() local
137 static int krb5enc_dispatch_encrypt(struct aead_request *req, in krb5enc_dispatch_encrypt()
183 struct aead_request *req = data; in krb5enc_encrypt_ahash_done() local
205 static int krb5enc_dispatch_encrypt_hash(struct aead_request *req) in krb5enc_dispatch_encrypt_hash()
234 static int krb5enc_encrypt(struct aead_request *req) in krb5enc_encrypt()
245 static int krb5enc_verify_hash(struct aead_request *req) in krb5enc_verify_hash()
265 struct aead_request *req = data; in krb5enc_decrypt_hash_done() local
277 static int krb5enc_dispatch_decrypt_hash(struct aead_request *req) in krb5enc_dispatch_decrypt_hash()
306 static int krb5enc_dispatch_decrypt(struct aead_request *req) in krb5enc_dispatch_decrypt()
[all …]
A 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()
A Dcts.c65 static inline u8 *crypto_cts_reqctx_space(struct skcipher_request *req) in crypto_cts_reqctx_space()
90 struct skcipher_request *req = 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 = 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 = data; in crypto_cts_decrypt_done() local
237 static int crypto_cts_decrypt(struct skcipher_request *req) in crypto_cts_decrypt()
A Dskcipher.c39 struct skcipher_request *__restrict req, bool atomic) in skcipher_walk_virt()
75 struct aead_request *__restrict req, in skcipher_walk_aead_common()
101 struct aead_request *__restrict req, in skcipher_walk_aead_encrypt()
111 struct aead_request *__restrict req, in skcipher_walk_aead_decrypt()
186 int crypto_skcipher_encrypt(struct skcipher_request *req) in crypto_skcipher_encrypt()
199 int crypto_skcipher_decrypt(struct skcipher_request *req) in crypto_skcipher_decrypt()
212 static int crypto_lskcipher_export(struct skcipher_request *req, void *out) in crypto_lskcipher_export()
238 static int skcipher_noexport(struct skcipher_request *req, void *out) in skcipher_noexport()
243 static int skcipher_noimport(struct skcipher_request *req, const void *in) in skcipher_noimport()
248 int crypto_skcipher_export(struct skcipher_request *req, void *out) in crypto_skcipher_export()
[all …]
A Dseqiv.c21 static void seqiv_aead_encrypt_complete2(struct aead_request *req, int err) in seqiv_aead_encrypt_complete2()
41 struct aead_request *req = data; in seqiv_aead_encrypt_complete() local
47 static int seqiv_aead_encrypt(struct aead_request *req) in seqiv_aead_encrypt()
97 static int seqiv_aead_decrypt(struct aead_request *req) in seqiv_aead_decrypt()
A 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 = 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()
A Dchacha20poly1305.c35 struct skcipher_request req; /* must be last member */ member
56 static inline void async_done_continue(struct aead_request *req, int err, in async_done_continue()
70 static void chacha_iv(u8 *iv, struct aead_request *req, u32 icb) in chacha_iv()
81 static int poly_verify_tag(struct aead_request *req) in poly_verify_tag()
99 static int chacha_decrypt(struct aead_request *req) in chacha_decrypt()
130 static int poly_hash(struct aead_request *req) in poly_hash()
202 static int poly_genkey(struct aead_request *req) in poly_genkey()
241 static int chacha_encrypt(struct aead_request *req) in chacha_encrypt()
272 static int chachapoly_encrypt(struct aead_request *req) in chachapoly_encrypt()
287 static int chachapoly_decrypt(struct aead_request *req) in chachapoly_decrypt()
A Ddeflate.c61 static int deflate_compress_one(struct acomp_req *req, in deflate_compress_one()
115 static int deflate_compress(struct acomp_req *req) in deflate_compress()
140 static int deflate_decompress_one(struct acomp_req *req, in deflate_decompress_one()
196 static int deflate_decompress(struct acomp_req *req) in deflate_decompress()
A Dauthencesn.c41 static void authenc_esn_request_complete(struct aead_request *req, int err) in authenc_esn_request_complete()
84 static int crypto_authenc_esn_genicv_tail(struct aead_request *req, in crypto_authenc_esn_genicv_tail()
107 struct aead_request *req = data; in authenc_esn_geniv_ahash_done() local
113 static int crypto_authenc_esn_genicv(struct aead_request *req, in crypto_authenc_esn_genicv()
159 static int crypto_authenc_esn_encrypt(struct aead_request *req) in crypto_authenc_esn_encrypt()
194 static int crypto_authenc_esn_decrypt_tail(struct aead_request *req, in crypto_authenc_esn_decrypt_tail()
237 struct aead_request *req = data; in authenc_esn_verify_ahash_done() local
243 static int crypto_authenc_esn_decrypt(struct aead_request *req) in crypto_authenc_esn_decrypt()
A Drsa-pkcs1pad.c75 static int pkcs1pad_encrypt_complete(struct akcipher_request *req, int err) in pkcs1pad_encrypt_complete()
116 struct akcipher_request *req = data; in pkcs1pad_encrypt_complete_cb() local
127 static int pkcs1pad_encrypt(struct akcipher_request *req) in pkcs1pad_encrypt()
175 static int pkcs1pad_decrypt_complete(struct akcipher_request *req, int err) in pkcs1pad_decrypt_complete()
231 struct akcipher_request *req = data; in pkcs1pad_decrypt_complete_cb() local
242 static int pkcs1pad_decrypt(struct akcipher_request *req) in pkcs1pad_decrypt()
A Dpcrypt.c61 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_serial() local
68 struct aead_request *req = 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()
131 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_dec() local
143 static int pcrypt_aead_decrypt(struct aead_request *req) in pcrypt_aead_decrypt()
A Dauthenc.c38 static void authenc_request_complete(struct aead_request *req, int err) in authenc_request_complete()
112 struct aead_request *req = data; in authenc_geniv_ahash_done() local
130 static int crypto_authenc_genicv(struct aead_request *req, unsigned int flags) in crypto_authenc_genicv()
171 static int crypto_authenc_encrypt(struct aead_request *req) in crypto_authenc_encrypt()
205 static int crypto_authenc_decrypt_tail(struct aead_request *req, in crypto_authenc_decrypt_tail()
242 struct aead_request *req = data; in authenc_verify_ahash_done() local
253 static int crypto_authenc_decrypt(struct aead_request *req) in crypto_authenc_decrypt()
A 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()
278 static int adiantum_finish(struct skcipher_request *req) in adiantum_finish()
330 struct skcipher_request *req = data; in adiantum_streamcipher_done() local
338 static int adiantum_crypt(struct skcipher_request *req, bool enc) in adiantum_crypt()
417 static int adiantum_encrypt(struct skcipher_request *req) in adiantum_encrypt()
422 static int adiantum_decrypt(struct skcipher_request *req) in adiantum_decrypt()
A Dessiv.c136 struct skcipher_request *req = 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 = 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()
A Dtcrypt.c132 static inline int do_one_aead_op(struct aead_request *req, int ret) in do_one_aead_op()
142 struct aead_request *req; member
453 static int test_aead_jiffies(struct aead_request *req, int enc, in test_aead_jiffies()
527 struct aead_request *req; in test_aead_speed() local
712 static inline int do_one_ahash_op(struct ahash_request *req, int ret) in do_one_ahash_op()
739 static int test_ahash_jiffies(struct ahash_request *req, int blen, in test_ahash_jiffies()
809 static int test_ahash_cycles(struct ahash_request *req, int blen, in test_ahash_cycles()
871 struct ahash_request *req; in test_ahash_speed_common() local
961 struct skcipher_request *req; member
1246 static int test_acipher_cycles(struct skcipher_request *req, int enc, in test_acipher_cycles()
[all …]
A 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()
257 struct skcipher_request *req = data; in hctr2_xctr_done() local
265 static int hctr2_crypt(struct skcipher_request *req, bool enc) in hctr2_crypt()
324 static int hctr2_encrypt(struct skcipher_request *req) in hctr2_encrypt()
329 static int hctr2_decrypt(struct skcipher_request *req) in hctr2_decrypt()
A Dzstd.c83 static int zstd_compress_one(struct acomp_req *req, struct zstd_ctx *ctx, in zstd_compress_one()
102 static int zstd_compress(struct acomp_req *req) in zstd_compress()
195 static int zstd_decompress_one(struct acomp_req *req, struct zstd_ctx *ctx, in zstd_decompress_one()
213 static int zstd_decompress(struct acomp_req *req) in zstd_decompress()
A Dccm.c59 struct aead_request *req) in crypto_ccm_reqctx()
124 static int format_input(u8 *info, struct aead_request *req, in format_input()
165 static int crypto_ccm_auth(struct aead_request *req, struct scatterlist *plain, in crypto_ccm_auth()
226 struct aead_request *req = data; in crypto_ccm_encrypt_done() local
247 static int crypto_ccm_init_crypt(struct aead_request *req, u8 *tag) in crypto_ccm_init_crypt()
282 static int crypto_ccm_encrypt(struct aead_request *req) in crypto_ccm_encrypt()
322 struct aead_request *req = data; in crypto_ccm_decrypt_done() local
341 static int crypto_ccm_decrypt(struct aead_request *req) in crypto_ccm_decrypt()
598 static struct aead_request *crypto_rfc4309_crypt(struct aead_request *req) in crypto_rfc4309_crypt()
642 static int crypto_rfc4309_encrypt(struct aead_request *req) in crypto_rfc4309_encrypt()
[all …]

Completed in 50 milliseconds

12