/crypto/ |
D | gcm.c | 41 struct aead_request subreq; 55 struct aead_request subreq; 61 int (*complete)(struct aead_request *req, u32 flags); 83 static int crypto_rfc4543_copy_src_to_dst(struct aead_request *req, bool enc); 86 struct aead_request *req) in crypto_gcm_reqctx() 158 static void crypto_gcm_init_common(struct aead_request *req) in crypto_gcm_init_common() 183 static void crypto_gcm_init_crypt(struct aead_request *req, in crypto_gcm_init_crypt() 208 static int gcm_hash_update(struct aead_request *req, in gcm_hash_update() 222 static int gcm_hash_remain(struct aead_request *req, in gcm_hash_remain() 229 static int gcm_hash_len(struct aead_request *req, u32 flags) in gcm_hash_len() [all …]
|
D | seqiv.c | 23 static void seqiv_aead_encrypt_complete2(struct aead_request *req, int err) in seqiv_aead_encrypt_complete2() 25 struct aead_request *subreq = aead_request_ctx(req); in seqiv_aead_encrypt_complete2() 44 struct aead_request *req = base->data; in seqiv_aead_encrypt_complete() 50 static int seqiv_aead_encrypt(struct aead_request *req) in seqiv_aead_encrypt() 54 struct aead_request *subreq = aead_request_ctx(req); in seqiv_aead_encrypt() 111 static int seqiv_aead_decrypt(struct aead_request *req) in seqiv_aead_decrypt() 115 struct aead_request *subreq = aead_request_ctx(req); in seqiv_aead_decrypt()
|
D | chacha20poly1305.c | 72 static inline void async_done_continue(struct aead_request *req, int err, in async_done_continue() 73 int (*cont)(struct aead_request *)) in async_done_continue() argument 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() 201 static int poly_cipherpad(struct aead_request *req) in poly_cipherpad() 230 static int poly_cipher(struct aead_request *req) in poly_cipher() [all …]
|
D | pcrypt.c | 54 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_serial() 61 struct aead_request *req = areq->data; in pcrypt_aead_done() 74 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_enc() 84 static int pcrypt_aead_encrypt(struct aead_request *req) in pcrypt_aead_encrypt() 88 struct aead_request *creq = pcrypt_request_ctx(preq); in pcrypt_aead_encrypt() 116 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_dec() 126 static int pcrypt_aead_decrypt(struct aead_request *req) in pcrypt_aead_decrypt() 130 struct aead_request *creq = pcrypt_request_ctx(preq); in pcrypt_aead_decrypt() 177 sizeof(struct aead_request) + in pcrypt_aead_init_tfm()
|
D | authencesn.c | 43 static void authenc_esn_request_complete(struct aead_request *req, int err) in authenc_esn_request_complete() 96 static int crypto_authenc_esn_genicv_tail(struct aead_request *req, in crypto_authenc_esn_genicv_tail() 123 struct aead_request *req = areq->data; in authenc_esn_geniv_ahash_done() 129 static int crypto_authenc_esn_genicv(struct aead_request *req, in crypto_authenc_esn_genicv() 169 struct aead_request *areq = req->data; in crypto_authenc_esn_encrypt_done() 177 static int crypto_authenc_esn_copy(struct aead_request *req, unsigned int len) in crypto_authenc_esn_copy() 191 static int crypto_authenc_esn_encrypt(struct aead_request *req) in crypto_authenc_esn_encrypt() 229 static int crypto_authenc_esn_decrypt_tail(struct aead_request *req, in crypto_authenc_esn_decrypt_tail() 274 struct aead_request *req = areq->data; in authenc_esn_verify_ahash_done() 280 static int crypto_authenc_esn_decrypt(struct aead_request *req) in crypto_authenc_esn_decrypt()
|
D | echainiv.c | 26 static int echainiv_encrypt(struct aead_request *req) in echainiv_encrypt() 30 struct aead_request *subreq = aead_request_ctx(req); in echainiv_encrypt() 85 static int echainiv_decrypt(struct aead_request *req) in echainiv_decrypt() 89 struct aead_request *subreq = aead_request_ctx(req); in echainiv_decrypt()
|
D | authenc.c | 40 static void authenc_request_complete(struct aead_request *req, int err) in authenc_request_complete() 124 struct aead_request *req = areq->data; in authenc_geniv_ahash_done() 142 static int crypto_authenc_genicv(struct aead_request *req, unsigned int flags) in crypto_authenc_genicv() 176 struct aead_request *areq = req->data; in crypto_authenc_encrypt_done() 187 static int crypto_authenc_copy_assoc(struct aead_request *req) in crypto_authenc_copy_assoc() 202 static int crypto_authenc_encrypt(struct aead_request *req) in crypto_authenc_encrypt() 239 static int crypto_authenc_decrypt_tail(struct aead_request *req, in crypto_authenc_decrypt_tail() 277 struct aead_request *req = areq->data; in authenc_verify_ahash_done() 288 static int crypto_authenc_decrypt(struct aead_request *req) in crypto_authenc_decrypt()
|
D | ccm.c | 38 struct aead_request subreq; 63 struct aead_request *req) in crypto_ccm_reqctx() 135 static int format_input(u8 *info, struct aead_request *req, in format_input() 176 static int crypto_ccm_auth(struct aead_request *req, struct scatterlist *plain, in crypto_ccm_auth() 237 struct aead_request *req = areq->data; in crypto_ccm_encrypt_done() 258 static int crypto_ccm_init_crypt(struct aead_request *req, u8 *tag) in crypto_ccm_init_crypt() 293 static int crypto_ccm_encrypt(struct aead_request *req) in crypto_ccm_encrypt() 334 struct aead_request *req = areq->data; in crypto_ccm_decrypt_done() 353 static int crypto_ccm_decrypt(struct aead_request *req) in crypto_ccm_decrypt() 642 static struct aead_request *crypto_rfc4309_crypt(struct aead_request *req) in crypto_rfc4309_crypt() [all …]
|
D | aegis128-core.c | 40 struct aead_request *req, bool atomic); 327 struct aead_request *req, in crypto_aegis128_process_crypt() 393 static void crypto_aegis128_crypt(struct aead_request *req, in crypto_aegis128_crypt() 408 static int crypto_aegis128_encrypt(struct aead_request *req) in crypto_aegis128_encrypt() 432 static int crypto_aegis128_decrypt(struct aead_request *req) in crypto_aegis128_decrypt()
|
D | essiv.c | 62 struct aead_request aead_req; 188 struct aead_request *req = areq->data; in essiv_aead_done() 196 static int essiv_aead_crypt(struct aead_request *req, bool enc) in essiv_aead_crypt() 201 struct aead_request *subreq = &rctx->aead_req; in essiv_aead_crypt() 273 static int essiv_aead_encrypt(struct aead_request *req) in essiv_aead_encrypt() 278 static int essiv_aead_decrypt(struct aead_request *req) in essiv_aead_decrypt()
|
D | simd.c | 317 static int simd_aead_encrypt(struct aead_request *req) in simd_aead_encrypt() 321 struct aead_request *subreq; in simd_aead_encrypt() 338 static int simd_aead_decrypt(struct aead_request *req) in simd_aead_decrypt() 342 struct aead_request *subreq; in simd_aead_decrypt() 386 reqsize += sizeof(struct aead_request); in simd_aead_init()
|
D | cryptd.c | 752 static void cryptd_aead_crypt(struct aead_request *req, in cryptd_aead_crypt() 755 int (*crypt)(struct aead_request *req)) in cryptd_aead_crypt() 789 struct aead_request *req; in cryptd_aead_encrypt() 791 req = container_of(areq, struct aead_request, base); in cryptd_aead_encrypt() 799 struct aead_request *req; in cryptd_aead_decrypt() 801 req = container_of(areq, struct aead_request, base); in cryptd_aead_decrypt() 805 static int cryptd_aead_enqueue(struct aead_request *req, in cryptd_aead_enqueue() 817 static int cryptd_aead_encrypt_enqueue(struct aead_request *req) in cryptd_aead_encrypt_enqueue() 822 static int cryptd_aead_decrypt_enqueue(struct aead_request *req) in cryptd_aead_decrypt_enqueue()
|
D | aead.c | 88 int crypto_aead_encrypt(struct aead_request *req) in crypto_aead_encrypt() 105 int crypto_aead_decrypt(struct aead_request *req) in crypto_aead_decrypt() 349 sizeof(struct aead_request)); in aead_init_geniv()
|
D | crypto_engine.c | 237 struct aead_request *req) in crypto_transfer_aead_request_to_engine() 305 struct aead_request *req, int err) in crypto_finalize_aead_request()
|
D | skcipher.c | 511 struct aead_request *req, bool atomic) in skcipher_walk_aead_common() 552 int skcipher_walk_aead(struct skcipher_walk *walk, struct aead_request *req, in skcipher_walk_aead() 562 struct aead_request *req, bool atomic) in skcipher_walk_aead_encrypt() 571 struct aead_request *req, bool atomic) in skcipher_walk_aead_decrypt()
|
D | tcrypt.c | 139 static inline int do_one_aead_op(struct aead_request *req, int ret) in do_one_aead_op() 149 struct aead_request *req; 453 static int test_aead_jiffies(struct aead_request *req, int enc, in test_aead_jiffies() 476 static int test_aead_cycles(struct aead_request *req, int enc, int blen) in test_aead_cycles() 527 struct aead_request *req; in test_aead_speed()
|
D | testmgr.c | 1841 struct aead_request *req, in test_aead_vec_cfg() 2010 struct aead_request *req, in test_aead_vec() 2054 static void generate_random_aead_testvec(struct aead_request *req, in generate_random_aead_testvec() 2135 struct aead_request *req, in test_aead_vs_generic_impl() 2147 struct aead_request *generic_req = NULL; in test_aead_vs_generic_impl() 2269 struct aead_request *req, in test_aead_vs_generic_impl() 2278 struct aead_request *req, in test_aead() 2299 struct aead_request *req = NULL; in alg_test_aead()
|