Home
last modified time | relevance | path

Searched refs:crypto_shash_final (Results 1 – 25 of 48) 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 Dhmac.c117 return crypto_shash_final(desc, out) ?: in hmac_final()
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()
/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/server/
H A 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()
272 rc = crypto_shash_final(CRYPTO_HMACMD5(ctx), ntlmv2_rsp); in ksmbd_auth_ntlmv2()
615 rc = crypto_shash_final(CRYPTO_HMACSHA256(ctx), sig); in ksmbd_sign_smb2_pdu()
666 rc = crypto_shash_final(CRYPTO_CMACAES(ctx), sig); in ksmbd_sign_smb3_pdu()
753 rc = crypto_shash_final(CRYPTO_HMACSHA256(ctx), hashptr); in generate_key()
960 rc = crypto_shash_final(CRYPTO_SHA512(ctx), pi_hash); in ksmbd_gen_preauth_integrity_hash()
994 rc = crypto_shash_final(CRYPTO_SHA256(ctx), pi_hash); in ksmbd_gen_sd_hash()
/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/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/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/lib/
H A Ddigsig.c244 crypto_shash_final(desc, hash); in digsig_verify()
/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/drivers/crypto/xilinx/
H A Dzynqmp-sha.c101 return crypto_shash_final(&dctx->fbk_req, out); in zynqmp_sha_final()
/linux/arch/x86/crypto/
H A Dghash-clmulni-intel_glue.c224 return crypto_shash_final(desc, req->result); in ghash_async_final()
/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/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