/crypto/ |
D | chacha20poly1305.c | 72 static inline void async_done_continue(struct aead_request *req, int err, in async_done_continue() 120 static void chacha_decrypt_done(struct crypto_async_request *areq, int err) in chacha_decrypt_done() 131 int err; in chacha_decrypt() local 166 static void poly_tail_done(struct crypto_async_request *areq, int err) in poly_tail_done() 177 int err; in poly_tail() local 196 static void poly_cipherpad_done(struct crypto_async_request *areq, int err) in poly_cipherpad_done() 207 int err; in poly_cipherpad() local 225 static void poly_cipher_done(struct crypto_async_request *areq, int err) in poly_cipher_done() 236 int err; in poly_cipher() local 255 static void poly_adpad_done(struct crypto_async_request *areq, int err) in poly_adpad_done() [all …]
|
D | rsa-pkcs1pad.c | 110 int err; in pkcs1pad_set_pub_key() local 131 int err; in pkcs1pad_set_priv_key() local 173 static int pkcs1pad_encrypt_sign_complete(struct akcipher_request *req, int err) in pkcs1pad_encrypt_sign_complete() 213 struct crypto_async_request *child_async_req, int err) in pkcs1pad_encrypt_sign_complete_cb() 233 int err; in pkcs1pad_encrypt() local 276 static int pkcs1pad_decrypt_complete(struct akcipher_request *req, int err) in pkcs1pad_decrypt_complete() 331 struct crypto_async_request *child_async_req, int err) in pkcs1pad_decrypt_complete_cb() 350 int err; in pkcs1pad_decrypt() local 386 int err; in pkcs1pad_sign() local 435 static int pkcs1pad_verify_complete(struct akcipher_request *req, int err) in pkcs1pad_verify_complete() [all …]
|
D | xts.c | 46 int err; in setkey() local 95 int err; in xor_tweak() local 147 static void cts_done(struct crypto_async_request *areq, int err) in cts_done() 172 int err; in cts_final() local 201 static void encrypt_done(struct crypto_async_request *areq, int err) in encrypt_done() 221 static void decrypt_done(struct crypto_async_request *areq, int err) in decrypt_done() 265 int err; in encrypt() local 282 int err; in decrypt() local 345 int err; in create() local
|
D | algif_hash.c | 71 int err; in hash_sendmsg() local 137 int err; in hash_sendpage() local 191 int err; in hash_recvmsg() local 242 int err; in hash_accept() local 296 int err = 0; in hash_check_key() local 335 int err; in hash_sendmsg_nokey() local 347 int err; in hash_sendpage_nokey() local 359 int err; in hash_recvmsg_nokey() local 371 int err; in hash_accept_nokey() local 482 int err = af_alg_unregister_type(&algif_type_hash); in algif_hash_exit() local
|
D | authenc.c | 40 static void authenc_request_complete(struct aead_request *req, int err) in authenc_request_complete() 91 int err = -EINVAL; in crypto_authenc_setkey() local 122 static void authenc_geniv_ahash_done(struct crypto_async_request *areq, int err) in authenc_geniv_ahash_done() 152 int err; in crypto_authenc_genicv() local 174 int err) in crypto_authenc_encrypt_done() 214 int err; in crypto_authenc_encrypt() local 275 int err) in authenc_verify_ahash_done() 299 int err; in crypto_authenc_decrypt() local 325 int err; in crypto_authenc_init_tfm() local 392 int err; in crypto_authenc_create() local
|
D | algif_skcipher.c | 61 int err = 0; in _skcipher_recvmsg() local 161 int err = _skcipher_recvmsg(sock, msg, ignored, flags); in skcipher_recvmsg() local 210 int err = 0; in skcipher_check_key() local 249 int err; in skcipher_sendmsg_nokey() local 261 int err; in skcipher_sendpage_nokey() local 273 int err; in skcipher_recvmsg_nokey() local 398 int err = af_alg_unregister_type(&algif_type_skcipher); in algif_skcipher_exit() local
|
D | ahash.c | 81 int crypto_hash_walk_done(struct crypto_hash_walk *walk, int err) in crypto_hash_walk_done() 207 int err; in crypto_ahash_setkey() local 287 static void ahash_restore_req(struct ahash_request *req, int err) in ahash_restore_req() 316 static void ahash_op_unaligned_done(struct crypto_async_request *req, int err) in ahash_op_unaligned_done() 344 int err; in ahash_op_unaligned() local 416 static void ahash_def_finup_done2(struct crypto_async_request *req, int err) in ahash_def_finup_done2() 428 static int ahash_def_finup_finish1(struct ahash_request *req, int err) in ahash_def_finup_finish1() 444 static void ahash_def_finup_done1(struct crypto_async_request *req, int err) in ahash_def_finup_done1() 465 int err; in ahash_def_finup() local 591 int err; in crypto_register_ahash() local [all …]
|
D | seqiv.c | 23 static void seqiv_aead_encrypt_complete2(struct aead_request *req, int err) in seqiv_aead_encrypt_complete2() 42 int err) in seqiv_aead_encrypt_complete() 59 int err; in seqiv_aead_encrypt() local 141 int err; in seqiv_aead_create() local
|
D | crypto_engine.c | 25 struct crypto_async_request *req, int err) in crypto_finalize_request() 291 struct ablkcipher_request *req, int err) in crypto_finalize_ablkcipher_request() 305 struct aead_request *req, int err) in crypto_finalize_aead_request() 319 struct akcipher_request *req, int err) in crypto_finalize_akcipher_request() 333 struct ahash_request *req, int err) in crypto_finalize_hash_request() 347 struct skcipher_request *req, int err) in crypto_finalize_skcipher_request()
|
D | af_alg.c | 61 int err = -EEXIST; in af_alg_register_type() local 91 int err = -ENOENT; in af_alg_unregister_type() local 158 int err; in alg_bind() local 212 int err; in alg_setkey() local 236 int err = -EBUSY; in alg_setsockopt() local 277 int err; in af_alg_accept() local 365 int err; in alg_create() local 690 int err = -ERESTARTSYS; in af_alg_wait_for_wmem() local 749 int err = -ERESTARTSYS; in af_alg_wait_for_data() local 826 int err = 0; in af_alg_sendmsg() local [all …]
|
D | gcm.c | 108 int err; in crypto_gcm_setkey() local 255 static void gcm_hash_len_done(struct crypto_async_request *areq, int err) in gcm_hash_len_done() 277 int err) in gcm_hash_crypt_remain_done() 307 static void gcm_hash_crypt_done(struct crypto_async_request *areq, int err) in gcm_hash_crypt_done() 336 int err) in gcm_hash_assoc_remain_done() 364 static void gcm_hash_assoc_done(struct crypto_async_request *areq, int err) in gcm_hash_assoc_done() 389 static void gcm_hash_init_done(struct crypto_async_request *areq, int err) in gcm_hash_init_done() 442 static void gcm_encrypt_done(struct crypto_async_request *areq, int err) in gcm_encrypt_done() 486 static void gcm_decrypt_done(struct crypto_async_request *areq, int err) in gcm_decrypt_done() 535 int err; in crypto_gcm_init_tfm() local [all …]
|
D | essiv.c | 71 int err; in essiv_skcipher_setkey() local 109 int err; in essiv_aead_setkey() local 151 static void essiv_skcipher_done(struct crypto_async_request *areq, int err) in essiv_skcipher_done() 186 static void essiv_aead_done(struct crypto_async_request *areq, int err) in essiv_aead_done() 203 int err; in essiv_aead_crypt() local 288 int err; in essiv_init_tfm() local 316 int err; in essiv_skcipher_init_tfm() local 342 int err; in essiv_aead_init_tfm() local 472 int err; in essiv_create() local
|
D | authencesn.c | 43 static void authenc_esn_request_complete(struct aead_request *req, int err) in authenc_esn_request_complete() 65 int err = -EINVAL; in crypto_authenc_esn_setkey() local 121 int err) in authenc_esn_geniv_ahash_done() 167 int err) in crypto_authenc_esn_encrypt_done() 202 int err; in crypto_authenc_esn_encrypt() local 272 int err) in authenc_esn_verify_ahash_done() 295 int err; in crypto_authenc_esn_decrypt() local 340 int err; in crypto_authenc_esn_init_tfm() local 410 int err; in crypto_authenc_esn_create() local
|
D | cryptd.c | 128 int cpu, err; in cryptd_enqueue_request() local 229 int err; in cryptd_alloc_instance() local 255 int err; in cryptd_skcipher_setkey() local 268 static void cryptd_skcipher_complete(struct skcipher_request *req, int err) in cryptd_skcipher_complete() 284 int err) in cryptd_skcipher_encrypt() 312 int err) in cryptd_skcipher_decrypt() 406 int err; in cryptd_create_skcipher() local 494 int err; in cryptd_hash_setkey() local 519 static void cryptd_hash_complete(struct ahash_request *req, int err) in cryptd_hash_complete() 534 static void cryptd_hash_init(struct crypto_async_request *req_async, int err) in cryptd_hash_init() [all …]
|
D | aead.c | 52 int err; in crypto_aead_setkey() local 71 int err; in crypto_aead_setauthsize() local 241 int err; in aead_geniv_alloc() local 323 int err; in aead_init_geniv() local 406 int err; in crypto_register_aead() local 454 int err; in aead_register_instance() local
|
D | algif_aead.c | 103 int err = 0; in _aead_recvmsg() local 330 int err = _aead_recvmsg(sock, msg, ignored, flags); in aead_recvmsg() local 379 int err = 0; in aead_check_key() local 418 int err; in aead_sendmsg_nokey() local 430 int err; in aead_sendpage_nokey() local 442 int err; in aead_recvmsg_nokey() local 609 int err = af_alg_unregister_type(&algif_type_aead); in algif_aead_exit() local
|
D | ccm.c | 94 int err = 0; in crypto_ccm_setkey() local 187 int ilen, err; in crypto_ccm_auth() local 235 static void crypto_ccm_encrypt_done(struct crypto_async_request *areq, int err) in crypto_ccm_encrypt_done() 263 int err; in crypto_ccm_init_crypt() local 303 int err; in crypto_ccm_encrypt() local 332 int err) in crypto_ccm_decrypt_done() 365 int err; in crypto_ccm_decrypt() local 409 int err; in crypto_ccm_init_tfm() local 465 int err; in crypto_ccm_create_common() local 607 int err; in crypto_rfc4309_setkey() local [all …]
|
D | cts.c | 81 int err; in crypto_cts_setkey() local 92 static void cts_cbc_crypt_done(struct crypto_async_request *areq, int err) in cts_cbc_crypt_done() 132 static void crypto_cts_encrypt_done(struct crypto_async_request *areq, int err) in crypto_cts_encrypt_done() 226 static void crypto_cts_decrypt_done(struct crypto_async_request *areq, int err) in crypto_cts_decrypt_done() 335 int err; in crypto_cts_create() local
|
D | algapi.c | 254 void crypto_alg_tested(const char *name, int err) in crypto_alg_tested() 347 int err; in crypto_wait_for_test() local 368 int err; in crypto_register_alg() local 459 int err = -EEXIST; in crypto_register_template() local 480 int i, err; in crypto_register_templates() local 510 int err = crypto_remove_alg(&inst->alg, &users); in crypto_unregister_template() local 564 int err; in crypto_register_instance() local 617 int err = -EAGAIN; in crypto_init_spawn() local 641 int err = -EINVAL; in crypto_init_spawn2() local 658 int err; in crypto_grab_spawn() local [all …]
|
D | adiantum.c | 129 int err; in adiantum_setkey() local 265 int err; in adiantum_hash_message() local 297 int err; in adiantum_finish() local 320 int err) in adiantum_streamcipher_done() 338 int err; in adiantum_crypt() local 414 int err; in adiantum_init_tfm() local 512 int err; in adiantum_create() local
|
D | skcipher.c | 104 int skcipher_walk_done(struct skcipher_walk *walk, int err) in skcipher_walk_done() 181 void skcipher_walk_complete(struct skcipher_walk *walk, int err) in skcipher_walk_complete() 347 int err; in skcipher_walk_next() local 438 int err = skcipher_copy_iv(walk); in skcipher_walk_first() local 479 int err; in skcipher_walk_virt() local 514 int err; in skcipher_walk_aead_common() local 603 int err; in skcipher_setkey_blkcipher() local 702 int err; in skcipher_setkey_ablkcipher() local 823 int err; in skcipher_setkey() local 1050 int err; in crypto_register_skcipher() local [all …]
|
D | testmgr.c | 721 int err; in build_cipher_test_sglists() local 1071 static inline int check_shash_op(const char *op, int err, in check_shash_op() 1102 int err; in test_shash_vec_cfg() local 1238 int err; in do_ahash_op() local 1251 static int check_nonfinal_ahash_op(const char *op, int err, in check_nonfinal_ahash_op() 1289 int err; in test_ahash_vec_cfg() local 1444 int err; in test_hash_vec_cfg() local 1470 int err; in test_hash_vec() local 1568 int err; in test_hash_vs_generic_impl() local 1721 int err; in __alg_test_hash() local [all …]
|
D | ofb.c | 23 int err; in crypto_ofb_crypt() local 56 int err; in crypto_ofb_create() local
|
D | pcrypt.c | 59 static void pcrypt_aead_done(struct crypto_async_request *areq, int err) in pcrypt_aead_done() 86 int err; in pcrypt_aead_encrypt() local 128 int err; in pcrypt_aead_decrypt() local 222 int err; in pcrypt_create_aead() local 336 int err = -ENOMEM; in pcrypt_init() local
|
D | rng.c | 35 int err; in crypto_rng_reset() local 119 int err; in crypto_get_default_rng() local 158 int err = -EBUSY; in crypto_del_default_rng() local
|