Home
last modified time | relevance | path

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

123

/linux/security/apparmor/
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/arch/powerpc/crypto/
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/ksmbd/
A Dauth.c112 rc = crypto_shash_final(CRYPTO_HMACMD5(ctx), sess->sess_key); in ksmbd_gen_sess_key()
198 ret = crypto_shash_final(CRYPTO_HMACMD5(ctx), ntlmv2_hash); in calc_ntlmv2_hash()
268 rc = crypto_shash_final(CRYPTO_HMACMD5(ctx), ntlmv2_rsp); in ksmbd_auth_ntlmv2()
569 rc = crypto_shash_final(CRYPTO_HMACSHA256(ctx), sig); in ksmbd_sign_smb2_pdu()
620 rc = crypto_shash_final(CRYPTO_CMACAES(ctx), sig); in ksmbd_sign_smb3_pdu()
705 rc = crypto_shash_final(CRYPTO_HMACSHA256(ctx), hashptr); in generate_key()
909 rc = crypto_shash_final(CRYPTO_SHA512(ctx), pi_hash); in ksmbd_gen_preauth_integrity_hash()
943 rc = crypto_shash_final(CRYPTO_SHA256(ctx), pi_hash); in ksmbd_gen_sd_hash()
/linux/crypto/
A 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()
A Dhmac.c121 return crypto_shash_final(desc, out) ?: in hmac_final()
A Dadiantum.c278 return crypto_shash_final(hash_desc, (u8 *)digest); in adiantum_hash_message()
/linux/fs/ubifs/
A 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/fs/cifs/
A Dcifsencrypt.c85 rc = crypto_shash_final(shash, signature); in __cifs_calc_signature()
498 rc = crypto_shash_final(&ses->server->secmech.sdeschmacmd5->shash, in calc_ntlmv2_hash()
551 rc = crypto_shash_final(&ses->server->secmech.sdeschmacmd5->shash, in CalcNTLMv2_response()
671 rc = crypto_shash_final(&ses->server->secmech.sdeschmacmd5->shash, in setup_ntlmv2_rsp()
A Dlink.c58 rc = crypto_shash_final(&sdescmd5->shash, md5_hash); in symlink_hash()
A Dsmb2misc.c913 rc = crypto_shash_final(&d->shash, ses->preauth_sha_hash); in smb311_update_preauth_hash()
/linux/security/integrity/ima/
A Dima_crypto.c502 rc = crypto_shash_final(shash, hash->digest); in ima_calc_file_hash_tfm()
621 rc = crypto_shash_final(shash, entry->digests[tfm_idx].digest); in ima_calc_field_array_hash_tfm()
745 rc = crypto_shash_final(shash, hash->digest); in calc_buffer_shash_tfm()
839 crypto_shash_final(shash, digest); in ima_calc_boot_aggregate_tfm()
/linux/drivers/net/wireless/intersil/orinoco/
A Dmic.c85 err = crypto_shash_final(desc, mic); in orinoco_mic()
/linux/Documentation/crypto/
A Dapi-digest.rst35 …h_export crypto_shash_import crypto_shash_init crypto_shash_update crypto_shash_final crypto_shash…
/linux/security/keys/trusted-keys/
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/lib/
A Ddigsig.c244 crypto_shash_final(desc, hash); in digsig_verify()
/linux/arch/x86/crypto/
A Dghash-clmulni-intel_glue.c205 return crypto_shash_final(desc, req->result); in ghash_async_final()
/linux/crypto/asymmetric_keys/
A Dverify_pefile.c362 ret = crypto_shash_final(desc, digest); in pefile_digest_pe()
/linux/security/keys/
A Ddh.c183 err = crypto_shash_final(desc, dst); in kdf_ctr()
/linux/security/integrity/evm/
A Devm_crypto.c179 crypto_shash_final(desc, digest); in hmac_add_misc()
/linux/include/crypto/
A Dhash.h979 int crypto_shash_final(struct shash_desc *desc, u8 *out);
/linux/arch/arm/crypto/
A Dghash-ce-glue.c244 return crypto_shash_final(desc, req->result); in ghash_async_final()
/linux/drivers/crypto/bcm/
A Dutil.c260 rc = crypto_shash_final(&sdesc->shash, result); in do_shash()
/linux/drivers/net/ppp/
A Dppp_mppe.c142 crypto_shash_final(state->sha1, state->sha1_digest); in get_new_key_from_sha()
/linux/drivers/infiniband/sw/siw/
A Dsiw_qp_tx.c259 crypto_shash_final(c_tx->mpa_crc_hd, (u8 *)crc); in siw_qp_prepare_tx()
587 crypto_shash_final(c_tx->mpa_crc_hd, (u8 *)&c_tx->trailer.crc); in siw_tx_hdt()
/linux/drivers/staging/rtl8192u/ieee80211/
A Dieee80211_crypt_tkip.c466 err = crypto_shash_final(desc, mic); in michael_mic()

Completed in 78 milliseconds

123