Home
last modified time | relevance | path

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

12

/linux/security/apparmor/
H A 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/crypto/
H A 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()
H A Dshash.c56 int crypto_shash_final(struct shash_desc *desc, u8 *out) in crypto_shash_final() function
60 EXPORT_SYMBOL_GPL(crypto_shash_final);
H A Djitterentropy-kcapi.c177 int ret = crypto_shash_final(hash_state_desc, jent_block) ?: in jent_read_random_block()
H A Dahash.c68 return crypto_shash_final(desc, req->result); in shash_ahash_finup()
344 return crypto_shash_final(ahash_request_ctx(req), req->result); in crypto_ahash_final()
H A Dhmac.c117 return crypto_shash_final(desc, out) ?: in hmac_final()
H A Dhctr2.c226 return crypto_shash_final(hash_desc, digest); in hctr2_hash_message()
/linux/arch/powerpc/crypto/
H A 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/fs/smb/client/
H A Dcifsencrypt.c98 rc = crypto_shash_final(shash, signature); in __cifs_calc_signature()
496 rc = crypto_shash_final(hmacmd5, ntlmv2_hash); in calc_ntlmv2_hash()
539 rc = crypto_shash_final(hmacmd5, ntlmv2->ntlmv2_hash); in CalcNTLMv2_response()
654 rc = crypto_shash_final(hmacmd5, ses->auth_key.response); in setup_ntlmv2_rsp()
/linux/security/integrity/ima/
H A Dima_crypto.c498 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/Documentation/crypto/
H A Dapi-digest.rst35 …h_export crypto_shash_import crypto_shash_init crypto_shash_update crypto_shash_final crypto_shash…
/linux/fs/ubifs/
H A Dauth.c75 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/net/sunrpc/auth_gss/
H A Dgss_krb5_keys.c334 ret = crypto_shash_final(desc, step->data); in krb5_cmac_Ki()
469 ret = crypto_shash_final(desc, K1->data); in krb5_hmac_K1()
/linux/security/keys/trusted-keys/
H A 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/security/ipe/
H A Daudit.c203 if (crypto_shash_final(desc, digest)) in audit_policy()
/linux/drivers/nvme/target/
H A Dauth.c375 ret = crypto_shash_final(shash, response); in nvmet_auth_host_hash()
486 ret = crypto_shash_final(shash, response); in nvmet_auth_ctrl_hash()
/linux/lib/
H A Ddigsig.c244 crypto_shash_final(desc, hash); in digsig_verify()
/linux/fs/bcachefs/
H A Dchecksum.c239 crypto_shash_final(desc, digest); in bch2_checksum()
313 crypto_shash_final(desc, digest); in __bch2_checksum_bio()
/linux/arch/x86/crypto/
H A Dghash-clmulni-intel_glue.c224 return crypto_shash_final(desc, req->result); in ghash_async_final()
/linux/crypto/asymmetric_keys/
H A Dverify_pefile.c366 ret = crypto_shash_final(desc, digest); in pefile_digest_pe()
/linux/security/integrity/evm/
H A Devm_crypto.c176 crypto_shash_final(desc, digest); in hmac_add_misc()
/linux/drivers/nvme/common/
H A Dauth.c295 ret = crypto_shash_final(shash, transformed_key->key); in nvme_auth_transform_key()
/linux/drivers/crypto/bcm/
H A Dutil.c260 rc = crypto_shash_final(&sdesc->shash, result); in do_shash()
/linux/drivers/net/ppp/
H A Dppp_mppe.c142 crypto_shash_final(state->sha1, state->sha1_digest); in get_new_key_from_sha()
/linux/drivers/nvme/host/
H A Dauth.c497 ret = crypto_shash_final(shash, chap->response); in nvme_auth_dhchap_setup_host_response()
582 ret = crypto_shash_final(shash, chap->response); in nvme_auth_dhchap_setup_ctrl_response()

12