/crypto/ |
D | chacha20poly1305.c | 70 static inline void async_done_continue(struct aead_request *req, int err, in async_done_continue() 118 static void chacha_decrypt_done(struct crypto_async_request *areq, int err) in chacha_decrypt_done() 129 int err; in chacha_decrypt() local 164 static void poly_tail_done(struct crypto_async_request *areq, int err) in poly_tail_done() 175 int err; in poly_tail() local 194 static void poly_cipherpad_done(struct crypto_async_request *areq, int err) in poly_cipherpad_done() 205 int err; in poly_cipherpad() local 223 static void poly_cipher_done(struct crypto_async_request *areq, int err) in poly_cipher_done() 234 int err; in poly_cipher() local 253 static void poly_adpad_done(struct crypto_async_request *areq, int err) in poly_adpad_done() [all …]
|
D | rsa-pkcs1pad.c | 111 int err; in pkcs1pad_set_pub_key() local 132 int err; in pkcs1pad_set_priv_key() local 174 static int pkcs1pad_encrypt_sign_complete(struct akcipher_request *req, int err) in pkcs1pad_encrypt_sign_complete() 214 struct crypto_async_request *child_async_req, int err) in pkcs1pad_encrypt_sign_complete_cb() 232 int err; in pkcs1pad_encrypt() local 275 static int pkcs1pad_decrypt_complete(struct akcipher_request *req, int err) in pkcs1pad_decrypt_complete() 330 struct crypto_async_request *child_async_req, int err) in pkcs1pad_decrypt_complete_cb() 348 int err; in pkcs1pad_decrypt() local 384 int err; in pkcs1pad_sign() local 433 static int pkcs1pad_verify_complete(struct akcipher_request *req, int err) in pkcs1pad_verify_complete() [all …]
|
D | xts.c | 47 int err; in xts_setkey() local 91 int err; in xts_xor_tweak() local 143 static void xts_cts_done(struct crypto_async_request *areq, int err) in xts_cts_done() 169 int err; in xts_cts_final() local 199 static void xts_encrypt_done(struct crypto_async_request *areq, int err) in xts_encrypt_done() 219 static void xts_decrypt_done(struct crypto_async_request *areq, int err) in xts_decrypt_done() 265 int err; in xts_encrypt() local 282 int err; in xts_decrypt() local 346 int err; in xts_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 294 int err = 0; in hash_check_key() local 330 int err; in hash_sendmsg_nokey() local 342 int err; in hash_sendpage_nokey() local 354 int err; in hash_recvmsg_nokey() local 366 int err; in hash_accept_nokey() local 475 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 112 static void authenc_geniv_ahash_done(struct crypto_async_request *areq, int err) in authenc_geniv_ahash_done() 142 int err; in crypto_authenc_genicv() local 164 int err) in crypto_authenc_encrypt_done() 204 int err; in crypto_authenc_encrypt() local 265 int err) in authenc_verify_ahash_done() 289 int err; in crypto_authenc_decrypt() local 315 int err; in crypto_authenc_init_tfm() local 381 int err; in crypto_authenc_create() local
|
D | seqiv.c | 21 static void seqiv_aead_encrypt_complete2(struct aead_request *req, int err) in seqiv_aead_encrypt_complete2() 40 int err) in seqiv_aead_encrypt_complete() 57 int err; in seqiv_aead_encrypt() local 139 int err; in seqiv_aead_create() local
|
D | algif_skcipher.c | 61 int err = 0; in _skcipher_recvmsg() local 157 int err = _skcipher_recvmsg(sock, msg, ignored, flags); in skcipher_recvmsg() local 204 int err = 0; in skcipher_check_key() local 240 int err; in skcipher_sendmsg_nokey() local 252 int err; in skcipher_sendpage_nokey() local 264 int err; in skcipher_recvmsg_nokey() local 382 int err = af_alg_unregister_type(&algif_type_skcipher); in algif_skcipher_exit() local
|
D | ahash.c | 79 int crypto_hash_walk_done(struct crypto_hash_walk *walk, int err) in crypto_hash_walk_done() 176 int err; in crypto_ahash_setkey() local 256 static void ahash_restore_req(struct ahash_request *req, int err) in ahash_restore_req() 285 static void ahash_op_unaligned_done(struct crypto_async_request *req, int err) in ahash_op_unaligned_done() 313 int err; in ahash_op_unaligned() local 385 static void ahash_def_finup_done2(struct crypto_async_request *req, int err) in ahash_def_finup_done2() 397 static int ahash_def_finup_finish1(struct ahash_request *req, int err) in ahash_def_finup_finish1() 413 static void ahash_def_finup_done1(struct crypto_async_request *req, int err) in ahash_def_finup_done1() 434 int err; in ahash_def_finup() local 587 int err; in crypto_register_ahash() local [all …]
|
D | af_alg.c | 62 int err = -EEXIST; in af_alg_register_type() local 92 int err = -ENOENT; in af_alg_unregister_type() local 153 int err; in alg_bind() local 210 int err; in alg_setkey() local 234 int err = -EBUSY; in alg_setsockopt() local 283 int err; in af_alg_accept() local 376 int err; in alg_create() local 702 int err = -ERESTARTSYS; in af_alg_wait_for_wmem() local 762 int err = -ERESTARTSYS; in af_alg_wait_for_data() local 841 int err = 0; in af_alg_sendmsg() local [all …]
|
D | gcm.c | 107 int err; in crypto_gcm_setkey() local 249 static void gcm_hash_len_done(struct crypto_async_request *areq, int err) in gcm_hash_len_done() 271 int err) in gcm_hash_crypt_remain_done() 301 static void gcm_hash_crypt_done(struct crypto_async_request *areq, int err) in gcm_hash_crypt_done() 330 int err) in gcm_hash_assoc_remain_done() 358 static void gcm_hash_assoc_done(struct crypto_async_request *areq, int err) in gcm_hash_assoc_done() 383 static void gcm_hash_init_done(struct crypto_async_request *areq, int err) in gcm_hash_init_done() 436 static void gcm_encrypt_done(struct crypto_async_request *areq, int err) in gcm_encrypt_done() 480 static void gcm_decrypt_done(struct crypto_async_request *areq, int err) in gcm_decrypt_done() 529 int err; in crypto_gcm_init_tfm() local [all …]
|
D | essiv.c | 71 int err; in essiv_skcipher_setkey() local 100 int err; in essiv_aead_setkey() local 134 static void essiv_skcipher_done(struct crypto_async_request *areq, int err) in essiv_skcipher_done() 169 static void essiv_aead_done(struct crypto_async_request *areq, int err) in essiv_aead_done() 190 int err; in essiv_aead_crypt() local 275 int err; in essiv_init_tfm() local 303 int err; in essiv_skcipher_init_tfm() local 329 int err; in essiv_aead_init_tfm() local 460 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 111 int err) in authenc_esn_geniv_ahash_done() 157 int err) in crypto_authenc_esn_encrypt_done() 192 int err; in crypto_authenc_esn_encrypt() local 262 int err) in authenc_esn_verify_ahash_done() 285 int err; in crypto_authenc_esn_decrypt() local 330 int err; in crypto_authenc_esn_init_tfm() local 399 int err; in crypto_authenc_esn_create() local
|
D | fips140-alg-registration.c | 309 int err; in fips140_crypto_register_algs() local 323 int err; in fips140_crypto_register_aeads() local 337 int err; in fips140_crypto_register_ahashes() local 351 int err; in fips140_crypto_register_rngs() local 365 int err; in fips140_crypto_register_shashes() local 379 int err; in fips140_crypto_register_skciphers() local
|
D | crypto_engine.c | 26 struct crypto_async_request *req, int err) in crypto_finalize_request() 351 struct aead_request *req, int err) in crypto_finalize_aead_request() 365 struct akcipher_request *req, int err) in crypto_finalize_akcipher_request() 379 struct ahash_request *req, int err) in crypto_finalize_hash_request() 393 struct skcipher_request *req, int err) in crypto_finalize_skcipher_request()
|
D | algif_aead.c | 103 int err = 0; in _aead_recvmsg() local 331 int err = _aead_recvmsg(sock, msg, ignored, flags); in aead_recvmsg() local 378 int err = 0; in aead_check_key() local 414 int err; in aead_sendmsg_nokey() local 426 int err; in aead_sendpage_nokey() local 438 int err; in aead_recvmsg_nokey() local 597 int err = af_alg_unregister_type(&algif_type_aead); in algif_aead_exit() local
|
D | cryptd.c | 133 int err; in cryptd_enqueue_request() local 240 static void cryptd_skcipher_complete(struct skcipher_request *req, int err) in cryptd_skcipher_complete() 256 int err) in cryptd_skcipher_encrypt() 284 int err) in cryptd_skcipher_decrypt() 379 int err; in cryptd_create_skcipher() local 478 static void cryptd_hash_complete(struct ahash_request *req, int err) in cryptd_hash_complete() 493 static void cryptd_hash_init(struct crypto_async_request *req_async, int err) in cryptd_hash_init() 519 static void cryptd_hash_update(struct crypto_async_request *req_async, int err) in cryptd_hash_update() 542 static void cryptd_hash_final(struct crypto_async_request *req_async, int err) in cryptd_hash_final() 563 static void cryptd_hash_finup(struct crypto_async_request *req_async, int err) in cryptd_hash_finup() [all …]
|
D | shash.c | 49 int err; in shash_setkey_unaligned() local 74 int err; in crypto_shash_setkey() local 105 int err; in shash_update_unaligned() local 147 int err; in shash_final_unaligned() local 225 int err; in crypto_shash_tfm_digest() local 326 int err; in shash_ahash_digest() local 428 int err; in crypto_shash_init_tfm() local 558 int err; in crypto_register_shash() local 606 int err; in shash_register_instance() local
|
D | fips140-selftests.c | 177 fips_handle_alloc_tfm_error(const char *impl, int err) in fips_handle_alloc_tfm_error() 203 int err; in fips_test_aes_library() local 233 int err; in fips_test_skcipher() local 311 int err; in fips_test_aead() local 410 int err; in fips_test_hash() local 471 int err; in fips_test_drbg() local 958 int err; in fips_run_test() local
|
D | adiantum.c | 129 int err; in adiantum_setkey() local 257 int err; in adiantum_hash_message() local 289 int err; in adiantum_finish() local 312 int err) in adiantum_streamcipher_done() 330 int err; in adiantum_crypt() local 406 int err; in adiantum_init_tfm() local 501 int err; in adiantum_create() local
|
D | ofb.c | 24 int err; in crypto_ofb_crypt() local 57 int err; in crypto_ofb_create() local
|
D | skcipher.c | 105 int skcipher_walk_done(struct skcipher_walk *walk, int err) in skcipher_walk_done() 182 void skcipher_walk_complete(struct skcipher_walk *walk, int err) in skcipher_walk_complete() 348 int err; in skcipher_walk_next() local 439 int err = skcipher_copy_iv(walk); in skcipher_walk_first() local 480 int err; in skcipher_walk_virt() local 515 int err; in skcipher_walk_aead_common() local 605 int err; in crypto_skcipher_setkey() local 819 int err; in crypto_register_skcipher() local 867 int err; in skcipher_register_instance() local 942 int err; in skcipher_alloc_instance_simple() local
|
D | ccm.c | 93 int err; in crypto_ccm_setkey() local 179 int ilen, err; in crypto_ccm_auth() local 227 static void crypto_ccm_encrypt_done(struct crypto_async_request *areq, int err) in crypto_ccm_encrypt_done() 255 int err; in crypto_ccm_init_crypt() local 295 int err; in crypto_ccm_encrypt() local 324 int err) in crypto_ccm_decrypt_done() 357 int err; in crypto_ccm_decrypt() local 401 int err; in crypto_ccm_init_tfm() local 456 int err; in crypto_ccm_create_common() local 713 int err; in crypto_rfc4309_create() local [all …]
|
D | testmgr.c | 751 int err; in build_cipher_test_sglists() local 1161 static inline int check_shash_op(const char *op, int err, in check_shash_op() 1192 int err; in test_shash_vec_cfg() local 1329 int err; in do_ahash_op() local 1342 static int check_nonfinal_ahash_op(const char *op, int err, in check_nonfinal_ahash_op() 1380 int err; in test_ahash_vec_cfg() local 1536 int err; in test_hash_vec_cfg() local 1562 int err; in test_hash_vec() local 1660 int err; in test_hash_vs_generic_impl() local 1813 int err; in __alg_test_hash() local [all …]
|
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
|
D | pcrypt.c | 66 static void pcrypt_aead_done(struct crypto_async_request *areq, int err) in pcrypt_aead_done() 94 int err; in pcrypt_aead_encrypt() local 143 int err; in pcrypt_aead_decrypt() local 243 int err; in pcrypt_create_aead() local 346 int err = -ENOMEM; in pcrypt_init() local
|