| /linux-6.15/security/apparmor/ |
| H A D | crypto.c | 49 error = crypto_shash_final(desc, hash); in aa_calc_hash() 89 error = crypto_shash_final(desc, profile->hash); in aa_calc_profile_hash()
|
| /linux-6.15/crypto/ |
| H A D | kdf_sp800108.c | 49 err = crypto_shash_final(desc, tmpbuffer); in crypto_kdf108_ctr_generate() 57 err = crypto_shash_final(desc, dst); in crypto_kdf108_ctr_generate()
|
| H A D | shash.c | 56 int crypto_shash_final(struct shash_desc *desc, u8 *out) in crypto_shash_final() function 60 EXPORT_SYMBOL_GPL(crypto_shash_final);
|
| H A D | jitterentropy-kcapi.c | 177 int ret = crypto_shash_final(hash_state_desc, jent_block) ?: in jent_read_random_block()
|
| H A D | hmac.c | 117 return crypto_shash_final(desc, out) ?: in hmac_final()
|
| H A D | ahash.c | 187 return crypto_shash_final(desc, req->result); in shash_ahash_finup() 618 err = crypto_shash_final(ahash_request_ctx(req), req->result); in crypto_ahash_final()
|
| /linux-6.15/fs/smb/server/ |
| H A D | auth.c | 113 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() 272 rc = crypto_shash_final(CRYPTO_HMACMD5(ctx), ntlmv2_rsp); in ksmbd_auth_ntlmv2() 627 rc = crypto_shash_final(CRYPTO_HMACSHA256(ctx), sig); in ksmbd_sign_smb2_pdu() 678 rc = crypto_shash_final(CRYPTO_CMACAES(ctx), sig); in ksmbd_sign_smb3_pdu() 765 rc = crypto_shash_final(CRYPTO_HMACSHA256(ctx), hashptr); in generate_key() 972 rc = crypto_shash_final(CRYPTO_SHA512(ctx), pi_hash); in ksmbd_gen_preauth_integrity_hash() 1006 rc = crypto_shash_final(CRYPTO_SHA256(ctx), pi_hash); in ksmbd_gen_sd_hash()
|
| /linux-6.15/fs/smb/client/ |
| H A D | cifsencrypt.c | 98 rc = crypto_shash_final(shash, signature); in __cifs_calc_signature() 485 rc = crypto_shash_final(hmacmd5, ntlmv2_hash); in calc_ntlmv2_hash() 528 rc = crypto_shash_final(hmacmd5, ntlmv2->ntlmv2_hash); in CalcNTLMv2_response() 656 rc = crypto_shash_final(hmacmd5, ses->auth_key.response); in setup_ntlmv2_rsp()
|
| /linux-6.15/Documentation/crypto/ |
| H A D | api-digest.rst | 35 …h_export crypto_shash_import crypto_shash_init crypto_shash_update crypto_shash_final crypto_shash…
|
| /linux-6.15/security/integrity/ima/ |
| H A D | ima_crypto.c | 498 rc = crypto_shash_final(shash, hash->digest); in ima_calc_file_hash_tfm() 617 rc = crypto_shash_final(shash, entry->digests[tfm_idx].digest); in ima_calc_field_array_hash_tfm() 741 rc = crypto_shash_final(shash, hash->digest); in calc_buffer_shash_tfm() 835 crypto_shash_final(shash, digest); in ima_calc_boot_aggregate_tfm()
|
| /linux-6.15/fs/ubifs/ |
| H A D | auth.c | 75 err = crypto_shash_final(hash_desc, hash); in ubifs_prepare_auth_node() 416 return crypto_shash_final(shash, hmac); in ubifs_node_calc_hmac()
|
| /linux-6.15/drivers/nvme/common/ |
| H A D | auth.c | 298 ret = crypto_shash_final(shash, transformed_key->key); in nvme_auth_transform_key() 547 ret = crypto_shash_final(shash, psk); in nvme_auth_generate_psk() 673 ret = crypto_shash_final(shash, digest); in nvme_auth_generate_digest()
|
| /linux-6.15/net/sunrpc/auth_gss/ |
| H A D | gss_krb5_keys.c | 334 ret = crypto_shash_final(desc, step->data); in krb5_cmac_Ki() 469 ret = crypto_shash_final(desc, K1->data); in krb5_hmac_K1()
|
| /linux-6.15/security/keys/trusted-keys/ |
| H A D | trusted_tpm1.c | 106 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-6.15/security/ipe/ |
| H A D | audit.c | 203 if (crypto_shash_final(desc, digest)) in audit_policy()
|
| /linux-6.15/lib/ |
| H A D | digsig.c | 244 crypto_shash_final(desc, hash); in digsig_verify()
|
| /linux-6.15/drivers/crypto/xilinx/ |
| H A D | zynqmp-sha.c | 101 return crypto_shash_final(&dctx->fbk_req, out); in zynqmp_sha_final()
|
| /linux-6.15/drivers/nvme/target/ |
| H A D | auth.c | 390 ret = crypto_shash_final(shash, response); in nvmet_auth_host_hash() 501 ret = crypto_shash_final(shash, response); in nvmet_auth_ctrl_hash()
|
| /linux-6.15/crypto/krb5/ |
| H A D | rfc3961_simplified.c | 693 ret = crypto_shash_final(desc, digest); in rfc3961_get_mic() 758 crypto_shash_final(desc, cksum); in rfc3961_verify_mic()
|
| /linux-6.15/arch/x86/crypto/ |
| H A D | ghash-clmulni-intel_glue.c | 236 return crypto_shash_final(desc, req->result); in ghash_async_final()
|
| /linux-6.15/crypto/asymmetric_keys/ |
| H A D | verify_pefile.c | 366 ret = crypto_shash_final(desc, digest); in pefile_digest_pe()
|
| /linux-6.15/security/integrity/evm/ |
| H A D | evm_crypto.c | 176 crypto_shash_final(desc, digest); in hmac_add_misc()
|
| /linux-6.15/include/crypto/ |
| H A D | hash.h | 963 int crypto_shash_final(struct shash_desc *desc, u8 *out);
|
| /linux-6.15/drivers/net/ppp/ |
| H A D | ppp_mppe.c | 142 crypto_shash_final(state->sha1, state->sha1_digest); in get_new_key_from_sha()
|
| /linux-6.15/drivers/crypto/bcm/ |
| H A D | util.c | 260 rc = crypto_shash_final(&sdesc->shash, result); in do_shash()
|