Home
last modified time | relevance | path

Searched refs:aead_request (Results 1 – 25 of 27) sorted by relevance

12

/linux-4.19.296/include/crypto/
Daead.h86 struct aead_request { struct
140 int (*encrypt)(struct aead_request *req);
141 int (*decrypt)(struct aead_request *req);
306 static inline struct crypto_aead *crypto_aead_reqtfm(struct aead_request *req) in crypto_aead_reqtfm()
330 static inline int crypto_aead_encrypt(struct aead_request *req) in crypto_aead_encrypt()
362 static inline int crypto_aead_decrypt(struct aead_request *req) in crypto_aead_decrypt()
405 static inline void aead_request_set_tfm(struct aead_request *req, in aead_request_set_tfm()
422 static inline struct aead_request *aead_request_alloc(struct crypto_aead *tfm, in aead_request_alloc()
425 struct aead_request *req; in aead_request_alloc()
439 static inline void aead_request_free(struct aead_request *req) in aead_request_free()
[all …]
Dmorus640_glue.h52 int crypto_morus640_glue_encrypt(struct aead_request *req);
53 int crypto_morus640_glue_decrypt(struct aead_request *req);
59 int cryptd_morus640_glue_encrypt(struct aead_request *req);
60 int cryptd_morus640_glue_decrypt(struct aead_request *req);
Dmorus1280_glue.h52 int crypto_morus1280_glue_encrypt(struct aead_request *req);
53 int crypto_morus1280_glue_decrypt(struct aead_request *req);
59 int cryptd_morus1280_glue_encrypt(struct aead_request *req);
60 int cryptd_morus1280_glue_decrypt(struct aead_request *req);
Dengine.h94 struct aead_request *req);
104 struct aead_request *req, int err);
Dif_alg.h115 struct aead_request aead_req;
/linux-4.19.296/include/crypto/internal/
Daead.h68 static inline void *aead_request_ctx(struct aead_request *req) in aead_request_ctx()
73 static inline void aead_request_complete(struct aead_request *req, int err) in aead_request_complete()
78 static inline u32 aead_request_flags(struct aead_request *req) in aead_request_flags()
83 static inline struct aead_request *aead_request_cast( in aead_request_cast()
86 return container_of(req, struct aead_request, base); in aead_request_cast()
138 struct aead_request *request) in aead_enqueue_request()
143 static inline struct aead_request *aead_dequeue_request( in aead_dequeue_request()
150 return req ? container_of(req, struct aead_request, base) : NULL; in aead_dequeue_request()
153 static inline struct aead_request *aead_get_backlog(struct aead_queue *queue) in aead_get_backlog()
159 return req ? container_of(req, struct aead_request, base) : NULL; in aead_get_backlog()
Dskcipher.h21 struct aead_request;
150 int skcipher_walk_aead(struct skcipher_walk *walk, struct aead_request *req,
153 struct aead_request *req, bool atomic);
155 struct aead_request *req, bool atomic);
/linux-4.19.296/crypto/
Dgcm.c44 struct aead_request subreq;
58 struct aead_request subreq;
64 int (*complete)(struct aead_request *req, u32 flags);
86 static int crypto_rfc4543_copy_src_to_dst(struct aead_request *req, bool enc);
89 struct aead_request *req) in crypto_gcm_reqctx()
174 static void crypto_gcm_init_common(struct aead_request *req) in crypto_gcm_init_common()
199 static void crypto_gcm_init_crypt(struct aead_request *req, in crypto_gcm_init_crypt()
224 static int gcm_hash_update(struct aead_request *req, in gcm_hash_update()
238 static int gcm_hash_remain(struct aead_request *req, in gcm_hash_remain()
245 static int gcm_hash_len(struct aead_request *req, u32 flags) in gcm_hash_len()
[all …]
Dseqiv.c28 static void seqiv_aead_encrypt_complete2(struct aead_request *req, int err) in seqiv_aead_encrypt_complete2()
30 struct aead_request *subreq = aead_request_ctx(req); in seqiv_aead_encrypt_complete2()
49 struct aead_request *req = base->data; in seqiv_aead_encrypt_complete()
55 static int seqiv_aead_encrypt(struct aead_request *req) in seqiv_aead_encrypt()
59 struct aead_request *subreq = aead_request_ctx(req); in seqiv_aead_encrypt()
117 static int seqiv_aead_decrypt(struct aead_request *req) in seqiv_aead_decrypt()
121 struct aead_request *subreq = aead_request_ctx(req); in seqiv_aead_decrypt()
Dchacha20poly1305.c78 static inline void async_done_continue(struct aead_request *req, int err, in async_done_continue()
79 int (*cont)(struct aead_request *)) in async_done_continue() argument
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()
245 static int poly_cipher(struct aead_request *req) in poly_cipher()
[all …]
Dpcrypt.c121 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_serial()
128 struct aead_request *req = areq->data; in pcrypt_aead_done()
140 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_enc()
152 static int pcrypt_aead_encrypt(struct aead_request *req) in pcrypt_aead_encrypt()
156 struct aead_request *creq = pcrypt_request_ctx(preq); in pcrypt_aead_encrypt()
184 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_dec()
196 static int pcrypt_aead_decrypt(struct aead_request *req) in pcrypt_aead_decrypt()
200 struct aead_request *creq = pcrypt_request_ctx(preq); in pcrypt_aead_decrypt()
247 sizeof(struct aead_request) + in pcrypt_aead_init_tfm()
Dechainiv.c31 static int echainiv_encrypt(struct aead_request *req) in echainiv_encrypt()
35 struct aead_request *subreq = aead_request_ctx(req); in echainiv_encrypt()
90 static int echainiv_decrypt(struct aead_request *req) in echainiv_decrypt()
94 struct aead_request *subreq = aead_request_ctx(req); in echainiv_decrypt()
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()
134 static int crypto_authenc_esn_genicv(struct aead_request *req, in crypto_authenc_esn_genicv()
174 struct aead_request *areq = req->data; 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()
285 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()
147 static int crypto_authenc_genicv(struct aead_request *req, unsigned int flags) in crypto_authenc_genicv()
181 struct aead_request *areq = req->data; 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()
293 static int crypto_authenc_decrypt(struct aead_request *req) in crypto_authenc_decrypt()
Dccm.c43 struct aead_request subreq;
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()
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()
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()
[all …]
Daegis128.c41 struct aead_request *req, bool atomic);
289 struct aead_request *req, in crypto_aegis128_process_crypt()
355 static void crypto_aegis128_crypt(struct aead_request *req, in crypto_aegis128_crypt()
370 static int crypto_aegis128_encrypt(struct aead_request *req) in crypto_aegis128_encrypt()
389 static int crypto_aegis128_decrypt(struct aead_request *req) in crypto_aegis128_decrypt()
Daegis256.c41 struct aead_request *req, bool atomic);
302 struct aead_request *req, in crypto_aegis256_process_crypt()
370 static void crypto_aegis256_crypt(struct aead_request *req, in crypto_aegis256_crypt()
385 static int crypto_aegis256_encrypt(struct aead_request *req) in crypto_aegis256_encrypt()
404 static int crypto_aegis256_decrypt(struct aead_request *req) in crypto_aegis256_decrypt()
Dmorus640.c49 struct aead_request *req, bool atomic);
364 struct aead_request *req, in crypto_morus640_process_crypt()
425 static void crypto_morus640_crypt(struct aead_request *req, in crypto_morus640_crypt()
440 static int crypto_morus640_encrypt(struct aead_request *req) in crypto_morus640_encrypt()
461 static int crypto_morus640_decrypt(struct aead_request *req) in crypto_morus640_decrypt()
Daegis128l.c48 struct aead_request *req, bool atomic);
352 struct aead_request *req, in crypto_aegis128l_process_crypt()
419 static void crypto_aegis128l_crypt(struct aead_request *req, in crypto_aegis128l_crypt()
434 static int crypto_aegis128l_encrypt(struct aead_request *req) in crypto_aegis128l_encrypt()
453 static int crypto_aegis128l_decrypt(struct aead_request *req) in crypto_aegis128l_decrypt()
Dmorus1280.c49 struct aead_request *req, bool atomic);
365 struct aead_request *req, in crypto_morus1280_process_crypt()
433 static void crypto_morus1280_crypt(struct aead_request *req, in crypto_morus1280_crypt()
448 static int crypto_morus1280_encrypt(struct aead_request *req) in crypto_morus1280_encrypt()
469 static int crypto_morus1280_decrypt(struct aead_request *req) in crypto_morus1280_decrypt()
Dcryptd.c951 static void cryptd_aead_crypt(struct aead_request *req, in cryptd_aead_crypt()
954 int (*crypt)(struct aead_request *req)) in cryptd_aead_crypt()
988 struct aead_request *req; in cryptd_aead_encrypt()
990 req = container_of(areq, struct aead_request, base); in cryptd_aead_encrypt()
998 struct aead_request *req; in cryptd_aead_decrypt()
1000 req = container_of(areq, struct aead_request, base); in cryptd_aead_decrypt()
1004 static int cryptd_aead_enqueue(struct aead_request *req, in cryptd_aead_enqueue()
1016 static int cryptd_aead_encrypt_enqueue(struct aead_request *req) in cryptd_aead_encrypt_enqueue()
1021 static int cryptd_aead_decrypt_enqueue(struct aead_request *req) in cryptd_aead_decrypt_enqueue()
Dcrypto_engine.c242 struct aead_request *req) in crypto_transfer_aead_request_to_engine()
310 struct aead_request *req, int err) in crypto_finalize_aead_request()
Dskcipher.c514 struct aead_request *req, bool atomic) in skcipher_walk_aead_common()
555 int skcipher_walk_aead(struct skcipher_walk *walk, struct aead_request *req, in skcipher_walk_aead()
565 struct aead_request *req, bool atomic) in skcipher_walk_aead_encrypt()
574 struct aead_request *req, bool atomic) in skcipher_walk_aead_decrypt()
Daead.c321 sizeof(struct aead_request)); in aead_init_geniv()
Dtcrypt.c143 static inline int do_one_aead_op(struct aead_request *req, int ret) in do_one_aead_op()
153 struct aead_request *req;
457 static int test_aead_jiffies(struct aead_request *req, int enc, in test_aead_jiffies()
480 static int test_aead_cycles(struct aead_request *req, int enc, int blen) in test_aead_cycles()
531 struct aead_request *req; in test_aead_speed()

12