Home
last modified time | relevance | path

Searched refs:crypto_shash_final (Results 1 – 25 of 49) sorted by relevance

12

/linux-5.19.10/security/apparmor/
Dcrypto.c49 error = crypto_shash_final(desc, hash); in aa_calc_hash()
89 error = crypto_shash_final(desc, profile->hash); in aa_calc_profile_hash()
/linux-5.19.10/crypto/
Dkdf_sp800108.c49 err = crypto_shash_final(desc, tmpbuffer); in crypto_kdf108_ctr_generate()
57 err = crypto_shash_final(desc, dst); in crypto_kdf108_ctr_generate()
Dshash.c163 int crypto_shash_final(struct shash_desc *desc, u8 *out) in crypto_shash_final() function
174 EXPORT_SYMBOL_GPL(crypto_shash_final);
180 crypto_shash_final(desc, out); in shash_finup_unaligned()
287 return crypto_shash_final(ahash_request_ctx(req), req->result); in shash_async_final()
297 return crypto_shash_final(desc, req->result); in shash_ahash_finup()
Dhmac.c125 return crypto_shash_final(desc, out) ?: in hmac_final()
Dadiantum.c278 return crypto_shash_final(hash_desc, (u8 *)digest); in adiantum_hash_message()
/linux-5.19.10/arch/powerpc/crypto/
Dcrc-vpmsum_test.c89 crypto_shash_final(crct10dif_shash, (u8 *)(&crc16)); in crc_test_init()
100 crypto_shash_final(crc32c_shash, (u8 *)(&crc32)); in crc_test_init()
/linux-5.19.10/fs/ksmbd/
Dauth.c113 rc = crypto_shash_final(CRYPTO_HMACMD5(ctx), sess->sess_key); in ksmbd_gen_sess_key()
199 ret = crypto_shash_final(CRYPTO_HMACMD5(ctx), ntlmv2_hash); in calc_ntlmv2_hash()
269 rc = crypto_shash_final(CRYPTO_HMACMD5(ctx), ntlmv2_rsp); in ksmbd_auth_ntlmv2()
597 rc = crypto_shash_final(CRYPTO_HMACSHA256(ctx), sig); in ksmbd_sign_smb2_pdu()
648 rc = crypto_shash_final(CRYPTO_CMACAES(ctx), sig); in ksmbd_sign_smb3_pdu()
733 rc = crypto_shash_final(CRYPTO_HMACSHA256(ctx), hashptr); in generate_key()
937 rc = crypto_shash_final(CRYPTO_SHA512(ctx), pi_hash); in ksmbd_gen_preauth_integrity_hash()
971 rc = crypto_shash_final(CRYPTO_SHA256(ctx), pi_hash); in ksmbd_gen_sd_hash()
/linux-5.19.10/fs/ubifs/
Dauth.c76 err = crypto_shash_final(hash_desc, hash); in ubifs_prepare_auth_node()
417 return crypto_shash_final(shash, hmac); in ubifs_node_calc_hmac()
529 err = crypto_shash_final(shash, hmac); in ubifs_hmac_wkm()
/linux-5.19.10/drivers/net/wireless/intersil/orinoco/
Dmic.c85 err = crypto_shash_final(desc, mic); in orinoco_mic()
/linux-5.19.10/Documentation/crypto/
Dapi-digest.rst35 …h_export crypto_shash_import crypto_shash_init crypto_shash_update crypto_shash_final crypto_shash…
/linux-5.19.10/fs/cifs/
Dcifsencrypt.c85 rc = crypto_shash_final(shash, signature); in __cifs_calc_signature()
502 rc = crypto_shash_final(&ses->server->secmech.sdeschmacmd5->shash, in calc_ntlmv2_hash()
555 rc = crypto_shash_final(&ses->server->secmech.sdeschmacmd5->shash, in CalcNTLMv2_response()
675 rc = crypto_shash_final(&ses->server->secmech.sdeschmacmd5->shash, in setup_ntlmv2_rsp()
Dsmb2misc.c926 rc = crypto_shash_final(&d->shash, ses->preauth_sha_hash); in smb311_update_preauth_hash()
/linux-5.19.10/security/integrity/ima/
Dima_crypto.c503 rc = crypto_shash_final(shash, hash->digest); in ima_calc_file_hash_tfm()
622 rc = crypto_shash_final(shash, entry->digests[tfm_idx].digest); in ima_calc_field_array_hash_tfm()
746 rc = crypto_shash_final(shash, hash->digest); in calc_buffer_shash_tfm()
840 crypto_shash_final(shash, digest); in ima_calc_boot_aggregate_tfm()
/linux-5.19.10/security/keys/trusted-keys/
Dtrusted_tpm1.c106 ret = crypto_shash_final(&sdesc->shash, digest); in TSS_rawhmac()
156 ret = crypto_shash_final(&sdesc->shash, paramdigest); in TSS_authhmac()
234 ret = crypto_shash_final(&sdesc->shash, paramdigest); in TSS_checkhmac1()
328 ret = crypto_shash_final(&sdesc->shash, paramdigest); in TSS_checkhmac2()
/linux-5.19.10/lib/
Ddigsig.c244 crypto_shash_final(desc, hash); in digsig_verify()
/linux-5.19.10/drivers/crypto/xilinx/
Dzynqmp-sha.c102 return crypto_shash_final(&dctx->fbk_req, out); in zynqmp_sha_final()
/linux-5.19.10/arch/x86/crypto/
Dghash-clmulni-intel_glue.c205 return crypto_shash_final(desc, req->result); in ghash_async_final()
/linux-5.19.10/security/integrity/evm/
Devm_crypto.c176 crypto_shash_final(desc, digest); in hmac_add_misc()
/linux-5.19.10/crypto/asymmetric_keys/
Dverify_pefile.c362 ret = crypto_shash_final(desc, digest); in pefile_digest_pe()
/linux-5.19.10/arch/arm/crypto/
Dghash-ce-glue.c244 return crypto_shash_final(desc, req->result); in ghash_async_final()
/linux-5.19.10/include/crypto/
Dhash.h979 int crypto_shash_final(struct shash_desc *desc, u8 *out);
/linux-5.19.10/drivers/net/ppp/
Dppp_mppe.c142 crypto_shash_final(state->sha1, state->sha1_digest); in get_new_key_from_sha()
/linux-5.19.10/drivers/crypto/bcm/
Dutil.c260 rc = crypto_shash_final(&sdesc->shash, result); in do_shash()
/linux-5.19.10/drivers/infiniband/sw/siw/
Dsiw_qp_tx.c259 crypto_shash_final(c_tx->mpa_crc_hd, (u8 *)crc); in siw_qp_prepare_tx()
597 crypto_shash_final(c_tx->mpa_crc_hd, (u8 *)&c_tx->trailer.crc); in siw_tx_hdt()
/linux-5.19.10/net/wireless/
Dlib80211_crypt_tkip.c499 err = crypto_shash_final(desc, mic); in michael_mic()

12