| /crypto/ |
| D | gcm.c | 94 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 skcipher_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 …]
|
| D | ahash.c | 134 int crypto_hash_walk_first(struct ahash_request *req, in crypto_hash_walk_first() 152 int crypto_ahash_walk_first(struct ahash_request *req, in crypto_ahash_walk_first() 235 static int ahash_save_req(struct ahash_request *req, crypto_completion_t cplt) in ahash_save_req() 292 static void ahash_restore_req(struct ahash_request *req, int err) in ahash_restore_req() 311 static void ahash_notify_einprogress(struct ahash_request *req) in ahash_notify_einprogress() 321 static void ahash_op_unaligned_done(struct crypto_async_request *req, int err) in ahash_op_unaligned_done() 346 static int ahash_op_unaligned(struct ahash_request *req, in ahash_op_unaligned() 366 static int crypto_ahash_op(struct ahash_request *req, in crypto_ahash_op() 378 int crypto_ahash_final(struct ahash_request *req) in crypto_ahash_final() 384 int crypto_ahash_finup(struct ahash_request *req) in crypto_ahash_finup() [all …]
|
| D | cryptd.c | 171 struct crypto_async_request *req, *backlog; in cryptd_queue_worker() local 234 static void cryptd_blkcipher_crypt(struct ablkcipher_request *req, in cryptd_blkcipher_crypt() 274 static void cryptd_blkcipher_encrypt(struct crypto_async_request *req, int err) in cryptd_blkcipher_encrypt() 283 static void cryptd_blkcipher_decrypt(struct crypto_async_request *req, int err) in cryptd_blkcipher_decrypt() 292 static int cryptd_blkcipher_enqueue(struct ablkcipher_request *req, in cryptd_blkcipher_enqueue() 306 static int cryptd_blkcipher_encrypt_enqueue(struct ablkcipher_request *req) in cryptd_blkcipher_encrypt_enqueue() 311 static int cryptd_blkcipher_decrypt_enqueue(struct ablkcipher_request *req) in cryptd_blkcipher_decrypt_enqueue() 463 static void cryptd_skcipher_complete(struct skcipher_request *req, int err) in cryptd_skcipher_complete() 481 struct skcipher_request *req = skcipher_request_cast(base); in cryptd_skcipher_encrypt() local 509 struct skcipher_request *req = skcipher_request_cast(base); in cryptd_skcipher_decrypt() local [all …]
|
| D | chacha20poly1305.c | 50 struct ahash_request req; /* must be last member */ member 56 struct skcipher_request req; /* must be last member */ member 78 static inline void async_done_continue(struct aead_request *req, int err, in async_done_continue() 92 static void chacha_iv(u8 *iv, struct aead_request *req, u32 icb) in chacha_iv() 103 static int poly_verify_tag(struct aead_request *req) in poly_verify_tag() 116 static int poly_copy_tag(struct aead_request *req) in poly_copy_tag() 131 static int chacha_decrypt(struct aead_request *req) in chacha_decrypt() 166 static int poly_tail_continue(struct aead_request *req) in poly_tail_continue() 181 static int poly_tail(struct aead_request *req) in poly_tail() 215 static int poly_cipherpad(struct aead_request *req) in poly_cipherpad() [all …]
|
| D | mcryptd.c | 155 struct crypto_async_request *req, *backlog; in mcryptd_queue_worker() local 315 static int mcryptd_hash_enqueue(struct ahash_request *req, in mcryptd_hash_enqueue() 337 struct ahash_request *req = ahash_request_cast(req_async); in mcryptd_hash_init() local 357 static int mcryptd_hash_init_enqueue(struct ahash_request *req) in mcryptd_hash_init_enqueue() 364 struct ahash_request *req = ahash_request_cast(req_async); in mcryptd_hash_update() local 384 static int mcryptd_hash_update_enqueue(struct ahash_request *req) in mcryptd_hash_update_enqueue() 391 struct ahash_request *req = ahash_request_cast(req_async); in mcryptd_hash_final() local 411 static int mcryptd_hash_final_enqueue(struct ahash_request *req) in mcryptd_hash_final_enqueue() 418 struct ahash_request *req = ahash_request_cast(req_async); in mcryptd_hash_finup() local 438 static int mcryptd_hash_finup_enqueue(struct ahash_request *req) in mcryptd_hash_finup_enqueue() [all …]
|
| D | crypto_engine.c | 179 struct ablkcipher_request *req, in crypto_transfer_cipher_request() 209 struct ablkcipher_request *req) in crypto_transfer_cipher_request_to_engine() 222 struct ahash_request *req, bool need_pump) in crypto_transfer_hash_request() 251 struct ahash_request *req) in crypto_transfer_hash_request_to_engine() 264 struct ablkcipher_request *req, int err) in crypto_finalize_cipher_request() 301 struct ahash_request *req, int err) in crypto_finalize_hash_request()
|
| D | xts.c | 99 static int post_crypt(struct skcipher_request *req) in post_crypt() 150 static int pre_crypt(struct skcipher_request *req) in pre_crypt() 216 static int init_crypt(struct skcipher_request *req, crypto_completion_t done) in init_crypt() 250 static void exit_crypt(struct skcipher_request *req) in exit_crypt() 260 static int do_encrypt(struct skcipher_request *req, int err) in do_encrypt() 284 struct skcipher_request *req = areq->data; in encrypt_done() local 307 static int encrypt(struct skcipher_request *req) in encrypt() 312 static int do_decrypt(struct skcipher_request *req, int err) in do_decrypt() 336 struct skcipher_request *req = areq->data; in decrypt_done() local 359 static int decrypt(struct skcipher_request *req) in decrypt() [all …]
|
| D | lrw.c | 150 static int post_crypt(struct skcipher_request *req) in post_crypt() 201 static int pre_crypt(struct skcipher_request *req) in pre_crypt() 278 static int init_crypt(struct skcipher_request *req, crypto_completion_t done) in init_crypt() 314 static void exit_crypt(struct skcipher_request *req) in exit_crypt() 324 static int do_encrypt(struct skcipher_request *req, int err) in do_encrypt() 348 struct skcipher_request *req = areq->data; in encrypt_done() local 371 static int encrypt(struct skcipher_request *req) in encrypt() 376 static int do_decrypt(struct skcipher_request *req, int err) in do_decrypt() 400 struct skcipher_request *req = areq->data; in decrypt_done() local 423 static int decrypt(struct skcipher_request *req) in decrypt() [all …]
|
| D | cts.c | 64 static inline u8 *crypto_cts_reqctx_space(struct skcipher_request *req) in crypto_cts_reqctx_space() 93 struct skcipher_request *req = areq->data; in cts_cbc_crypt_done() local 101 static int cts_cbc_encrypt(struct skcipher_request *req) in cts_cbc_encrypt() 133 struct skcipher_request *req = areq->data; in crypto_cts_encrypt_done() local 147 static int crypto_cts_encrypt(struct skcipher_request *req) in crypto_cts_encrypt() 181 static int cts_cbc_decrypt(struct skcipher_request *req) in cts_cbc_decrypt() 226 struct skcipher_request *req = areq->data; in crypto_cts_decrypt_done() local 240 static int crypto_cts_decrypt(struct skcipher_request *req) in crypto_cts_decrypt()
|
| D | tcrypt.c | 87 static void tcrypt_complete(struct crypto_async_request *req, int err) in tcrypt_complete() 98 static inline int do_one_aead_op(struct aead_request *req, int ret) in do_one_aead_op() 112 static int test_aead_jiffies(struct aead_request *req, int enc, in test_aead_jiffies() 135 static int test_aead_cycles(struct aead_request *req, int enc, int blen) in test_aead_cycles() 242 struct aead_request *req; in test_aead_speed() local 402 static inline int do_one_ahash_op(struct ahash_request *req, int ret) in do_one_ahash_op() 417 struct ahash_request *req; member 535 static int test_ahash_jiffies_digest(struct ahash_request *req, int blen, in test_ahash_jiffies_digest() 555 static int test_ahash_jiffies(struct ahash_request *req, int blen, in test_ahash_jiffies() 587 static int test_ahash_cycles_digest(struct ahash_request *req, int blen, in test_ahash_cycles_digest() [all …]
|
| D | authencesn.c | 48 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() 196 static int crypto_authenc_esn_encrypt(struct aead_request *req) in crypto_authenc_esn_encrypt() 234 static int crypto_authenc_esn_decrypt_tail(struct aead_request *req, in crypto_authenc_esn_decrypt_tail() 279 struct aead_request *req = areq->data; in authenc_esn_verify_ahash_done() local 285 static int crypto_authenc_esn_decrypt(struct aead_request *req) in crypto_authenc_esn_decrypt()
|
| D | rsa-pkcs1pad.c | 176 static int pkcs1pad_encrypt_sign_complete(struct akcipher_request *req, int err) in pkcs1pad_encrypt_sign_complete() 218 struct akcipher_request *req = child_async_req->data; in pkcs1pad_encrypt_sign_complete_cb() local 231 static int pkcs1pad_encrypt(struct akcipher_request *req) in pkcs1pad_encrypt() 281 static int pkcs1pad_decrypt_complete(struct akcipher_request *req, int err) in pkcs1pad_decrypt_complete() 338 struct akcipher_request *req = child_async_req->data; in pkcs1pad_decrypt_complete_cb() local 350 static int pkcs1pad_decrypt(struct akcipher_request *req) in pkcs1pad_decrypt() 385 static int pkcs1pad_sign(struct akcipher_request *req) in pkcs1pad_sign() 442 static int pkcs1pad_verify_complete(struct akcipher_request *req, int err) in pkcs1pad_verify_complete() 508 struct akcipher_request *req = child_async_req->data; in pkcs1pad_verify_complete_cb() local 528 static int pkcs1pad_verify(struct akcipher_request *req) in pkcs1pad_verify()
|
| D | authenc.c | 45 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() 207 static int crypto_authenc_encrypt(struct aead_request *req) in crypto_authenc_encrypt() 244 static int crypto_authenc_decrypt_tail(struct aead_request *req, in crypto_authenc_decrypt_tail() 282 struct aead_request *req = areq->data; in authenc_verify_ahash_done() local 293 static int crypto_authenc_decrypt(struct aead_request *req) in crypto_authenc_decrypt()
|
| D | seqiv.c | 28 static void seqiv_aead_encrypt_complete2(struct aead_request *req, int err) in seqiv_aead_encrypt_complete2() 49 struct aead_request *req = base->data; in seqiv_aead_encrypt_complete() local 55 static int seqiv_aead_encrypt(struct aead_request *req) in seqiv_aead_encrypt() 117 static int seqiv_aead_decrypt(struct aead_request *req) in seqiv_aead_decrypt()
|
| D | pcbc.c | 45 static int crypto_pcbc_encrypt_segment(struct skcipher_request *req, in crypto_pcbc_encrypt_segment() 67 static int crypto_pcbc_encrypt_inplace(struct skcipher_request *req, in crypto_pcbc_encrypt_inplace() 89 static int crypto_pcbc_encrypt(struct skcipher_request *req) in crypto_pcbc_encrypt() 113 static int crypto_pcbc_decrypt_segment(struct skcipher_request *req, in crypto_pcbc_decrypt_segment() 135 static int crypto_pcbc_decrypt_inplace(struct skcipher_request *req, in crypto_pcbc_decrypt_inplace() 157 static int crypto_pcbc_decrypt(struct skcipher_request *req) in crypto_pcbc_decrypt()
|
| D | ablk_helper.c | 54 int __ablk_encrypt(struct ablkcipher_request *req) in __ablk_encrypt() 69 int ablk_encrypt(struct ablkcipher_request *req) in ablk_encrypt() 89 int ablk_decrypt(struct ablkcipher_request *req) in ablk_decrypt()
|
| D | skcipher.c | 456 struct skcipher_request *req) in skcipher_walk_skcipher() 484 struct skcipher_request *req, bool atomic) in skcipher_walk_virt() 505 struct skcipher_request *req) in skcipher_walk_async() 516 struct aead_request *req, bool atomic) in skcipher_walk_aead_common() 557 int skcipher_walk_aead(struct skcipher_walk *walk, struct aead_request *req, in skcipher_walk_aead() 567 struct aead_request *req, bool atomic) in skcipher_walk_aead_encrypt() 576 struct aead_request *req, bool atomic) in skcipher_walk_aead_decrypt() 615 static int skcipher_crypt_blkcipher(struct skcipher_request *req, in skcipher_crypt_blkcipher() 633 static int skcipher_encrypt_blkcipher(struct skcipher_request *req) in skcipher_encrypt_blkcipher() 642 static int skcipher_decrypt_blkcipher(struct skcipher_request *req) in skcipher_decrypt_blkcipher() [all …]
|
| D | adiantum.c | 126 struct skcipher_request req; /* must be last */ in adiantum_setkey() member 227 static void adiantum_hash_header(struct skcipher_request *req) in adiantum_hash_header() 255 static int adiantum_hash_message(struct skcipher_request *req, in adiantum_hash_message() 291 static int adiantum_finish(struct skcipher_request *req) in adiantum_finish() 323 struct skcipher_request *req = areq->data; in adiantum_streamcipher_done() local 331 static int adiantum_crypt(struct skcipher_request *req, bool enc) in adiantum_crypt() 396 static int adiantum_encrypt(struct skcipher_request *req) in adiantum_encrypt() 401 static int adiantum_decrypt(struct skcipher_request *req) in adiantum_decrypt()
|
| D | shash.c | 230 static int shash_async_init(struct ahash_request *req) in shash_async_init() 241 int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc) in shash_ahash_update() 254 static int shash_async_update(struct ahash_request *req) in shash_async_update() 259 static int shash_async_final(struct ahash_request *req) in shash_async_final() 264 int shash_ahash_finup(struct ahash_request *req, struct shash_desc *desc) in shash_ahash_finup() 285 static int shash_async_finup(struct ahash_request *req) in shash_async_finup() 296 int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc) in shash_ahash_digest() 321 static int shash_async_digest(struct ahash_request *req) in shash_async_digest() 332 static int shash_async_export(struct ahash_request *req, void *out) in shash_async_export() 337 static int shash_async_import(struct ahash_request *req, const void *in) in shash_async_import()
|
| D | scompress.c | 190 static int scomp_acomp_comp_decomp(struct acomp_req *req, int dir) in scomp_acomp_comp_decomp() 235 static int scomp_acomp_compress(struct acomp_req *req) in scomp_acomp_compress() 240 static int scomp_acomp_decompress(struct acomp_req *req) in scomp_acomp_decompress() 283 struct acomp_req *crypto_acomp_scomp_alloc_ctx(struct acomp_req *req) in crypto_acomp_scomp_alloc_ctx() 302 void crypto_acomp_scomp_free_ctx(struct acomp_req *req) in crypto_acomp_scomp_free_ctx()
|
| D | ccm.c | 65 struct aead_request *req) in crypto_ccm_reqctx() 137 static int format_input(u8 *info, struct aead_request *req, in format_input() 178 static int crypto_ccm_auth(struct aead_request *req, struct scatterlist *plain, in crypto_ccm_auth() 239 struct aead_request *req = areq->data; in crypto_ccm_encrypt_done() local 260 static int crypto_ccm_init_crypt(struct aead_request *req, u8 *tag) in crypto_ccm_init_crypt() 295 static int crypto_ccm_encrypt(struct aead_request *req) in crypto_ccm_encrypt() 336 struct aead_request *req = areq->data; in crypto_ccm_decrypt_done() local 355 static int crypto_ccm_decrypt(struct aead_request *req) in crypto_ccm_decrypt() 656 static struct aead_request *crypto_rfc4309_crypt(struct aead_request *req) in crypto_rfc4309_crypt() 700 static int crypto_rfc4309_encrypt(struct aead_request *req) in crypto_rfc4309_encrypt() [all …]
|
| D | chacha_generic.c | 40 static int chacha_stream_xor(struct skcipher_request *req, in chacha_stream_xor() 116 int crypto_chacha_crypt(struct skcipher_request *req) in crypto_chacha_crypt() 125 int crypto_xchacha_crypt(struct skcipher_request *req) in crypto_xchacha_crypt()
|
| D | ablkcipher.c | 100 int ablkcipher_walk_done(struct ablkcipher_request *req, in ablkcipher_walk_done() 142 static inline int ablkcipher_next_slow(struct ablkcipher_request *req, in ablkcipher_next_slow() 207 static inline int ablkcipher_next_fast(struct ablkcipher_request *req, in ablkcipher_next_fast() 218 static int ablkcipher_walk_next(struct ablkcipher_request *req, in ablkcipher_walk_next() 263 static int ablkcipher_walk_first(struct ablkcipher_request *req, in ablkcipher_walk_first() 292 int ablkcipher_walk_phys(struct ablkcipher_request *req, in ablkcipher_walk_phys()
|
| D | pcrypt.c | 121 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 150 static int pcrypt_aead_encrypt(struct aead_request *req) in pcrypt_aead_encrypt() 182 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_dec() local 192 static int pcrypt_aead_decrypt(struct aead_request *req) in pcrypt_aead_decrypt()
|
| D | rsa.c | 86 static int rsa_enc(struct akcipher_request *req) in rsa_enc() 125 static int rsa_dec(struct akcipher_request *req) in rsa_dec() 163 static int rsa_sign(struct akcipher_request *req) in rsa_sign() 202 static int rsa_verify(struct akcipher_request *req) in rsa_verify()
|