Home
last modified time | relevance | path

Searched refs:crypto_wait_req (Results 1 – 24 of 24) sorted by relevance

/Linux-v5.4/fs/verity/
Dhash_algs.c149 err = crypto_wait_req(crypto_ahash_init(req), &wait); in fsverity_prepare_hash_state()
153 err = crypto_wait_req(crypto_ahash_update(req), &wait); in fsverity_prepare_hash_state()
214 err = crypto_wait_req(err, &wait); in fsverity_hash_page()
250 err = crypto_wait_req(crypto_ahash_digest(req), &wait); in fsverity_hash_buffer()
/Linux-v5.4/crypto/
Dalgif_hash.c81 err = crypto_wait_req(crypto_ahash_init(&ctx->req), &ctx->wait); in hash_sendmsg()
102 err = crypto_wait_req(crypto_ahash_update(&ctx->req), in hash_sendmsg()
121 err = crypto_wait_req(crypto_ahash_final(&ctx->req), in hash_sendmsg()
163 err = crypto_wait_req(err, &ctx->wait); in hash_sendpage()
171 err = crypto_wait_req(err, &ctx->wait); in hash_sendpage()
207 err = crypto_wait_req(crypto_ahash_init(&ctx->req), in hash_recvmsg()
215 err = crypto_wait_req(crypto_ahash_final(&ctx->req), in hash_recvmsg()
Dtestmgr.c1248 return crypto_wait_req(err, wait); in do_ahash_op()
1929 err = crypto_wait_req(err, &wait); in test_aead_vec_cfg()
2120 vec->crypt_error = crypto_wait_req(crypto_aead_encrypt(req), &wait); in generate_random_aead_testvec()
2515 err = crypto_wait_req(err, &wait); in test_skcipher_vec_cfg()
2680 vec->crypt_error = crypto_wait_req(crypto_skcipher_encrypt(req), &wait); in generate_random_cipher_testvec()
3056 ret = crypto_wait_req(crypto_acomp_compress(req), &wait); in test_acomp()
3072 ret = crypto_wait_req(crypto_acomp_decompress(req), &wait); in test_acomp()
3133 ret = crypto_wait_req(crypto_acomp_decompress(req), &wait); in test_acomp()
3500 err = crypto_wait_req(crypto_kpp_generate_public_key(req), &wait); in do_test_kpp()
3538 err = crypto_wait_req(crypto_kpp_compute_shared_secret(req), &wait); in do_test_kpp()
[all …]
Dtcrypt.c143 return crypto_wait_req(ret, wait); in do_one_aead_op()
171 rc[i] = crypto_wait_req(rc[i], &data[i].wait); in do_mult_aead_op()
710 return crypto_wait_req(ret, wait); in do_one_ahash_op()
732 rc[i] = crypto_wait_req(rc[i], &data[i].wait); in do_mult_ahash_op()
1169 rc[i] = crypto_wait_req(rc[i], &data[i].wait); in do_mult_acipher_op()
1414 return crypto_wait_req(ret, wait); in do_one_acipher_op()
Dalgif_skcipher.c140 err = crypto_wait_req(ctx->enc ? in _skcipher_recvmsg()
Dalgif_aead.c309 err = crypto_wait_req(ctx->enc ? in _aead_recvmsg()
Dadiantum.c157 err = crypto_wait_req(crypto_skcipher_encrypt(&data->req), &data->wait); in adiantum_setkey()
Dgcm.c134 err = crypto_wait_req(crypto_skcipher_encrypt(&data->req), in crypto_gcm_setkey()
Ddrbg.c1842 ret = crypto_wait_req(crypto_skcipher_encrypt(drbg->ctr_req), in drbg_kcapi_sym_ctr()
/Linux-v5.4/crypto/asymmetric_keys/
Dpublic_key.c233 ret = crypto_wait_req(ret, &cwait); in software_key_eds_op()
309 ret = crypto_wait_req(crypto_akcipher_verify(req), &cwait); in public_key_verify_signature()
Dasym_tpm.c503 ret = crypto_wait_req(ret, &cwait); in tpm_key_encrypt()
798 ret = crypto_wait_req(crypto_akcipher_verify(req), &cwait); in tpm_key_verify_signature()
/Linux-v5.4/fs/crypto/
Dfname.c71 res = crypto_wait_req(crypto_skcipher_encrypt(req), &wait); in fname_encrypt()
115 res = crypto_wait_req(crypto_skcipher_decrypt(req), &wait); in fname_decrypt()
Dcrypto.c186 res = crypto_wait_req(crypto_skcipher_decrypt(req), &wait); in fscrypt_crypt_block()
188 res = crypto_wait_req(crypto_skcipher_encrypt(req), &wait); in fscrypt_crypt_block()
Dkeysetup_v1.c79 res = crypto_wait_req(crypto_skcipher_encrypt(req), &wait); in derive_key_aes()
/Linux-v5.4/drivers/md/
Ddm-verity-target.c105 return crypto_wait_req(crypto_ahash_update(req), wait); in verity_hash_update()
114 r = crypto_wait_req(crypto_ahash_update(req), wait); in verity_hash_update()
138 r = crypto_wait_req(crypto_ahash_init(req), wait); in verity_hash_init()
166 r = crypto_wait_req(crypto_ahash_final(req), wait); in verity_hash_final()
393 r = crypto_wait_req(crypto_ahash_update(req), wait); in verity_for_io_block()
Ddm-crypt.c731 err = crypto_wait_req(crypto_skcipher_encrypt(req), &wait); in crypt_iv_eboiv_gen()
/Linux-v5.4/Documentation/crypto/
Dapi-samples.rst78 err = crypto_wait_req(crypto_skcipher_encrypt(req), &wait);
/Linux-v5.4/net/tls/
Dtls_sw.c255 ret = crypto_wait_req(ret, &ctx->async_wait); in tls_do_decryption()
1066 crypto_wait_req(-EINPROGRESS, &ctx->async_wait); in tls_sw_sendmsg()
1861 err = crypto_wait_req(-EINPROGRESS, &ctx->async_wait); in tls_sw_recvmsg()
2075 crypto_wait_req(-EINPROGRESS, &ctx->async_wait); in tls_sw_release_resources_tx()
/Linux-v5.4/security/integrity/ima/
Dima_crypto.c196 err = crypto_wait_req(err, wait); in ahash_wait()
/Linux-v5.4/drivers/crypto/qce/
Dsha.c398 ret = crypto_wait_req(crypto_ahash_digest(req), &wait); in qce_ahash_hmac_setkey()
/Linux-v5.4/include/linux/
Dcrypto.h680 static inline int crypto_wait_req(int err, struct crypto_wait *wait) in crypto_wait_req() function
/Linux-v5.4/drivers/crypto/mediatek/
Dmtk-aes.c1071 err = crypto_wait_req(crypto_skcipher_encrypt(&data->req), in mtk_aes_gcm_setkey()
/Linux-v5.4/drivers/crypto/
Dtalitos.c2208 ret = crypto_wait_req(crypto_ahash_digest(req), &wait); in keyhash()
/Linux-v5.4/fs/cifs/
Dsmb2ops.c3705 rc = crypto_wait_req(enc ? crypto_aead_encrypt(req) in crypt_message()