/linux/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 | jitterentropy-kcapi.c | 132 * the crypto_shash_final. in jent_hash_time() 178 int ret = crypto_shash_final(hash_state_desc, jent_block) ?: in jent_read_random_block()
|
H A D | hctr2.c | 226 return crypto_shash_final(hash_desc, digest); in hctr2_hash_message()
|
H A D | adiantum.c | 274 return crypto_shash_final(hash_desc, (u8 *)digest); in adiantum_hash_message()
|
H A D | cryptd.c | 586 err = crypto_shash_final(desc, req->result); in cryptd_hash_final()
|
/linux/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()
|
/linux/Documentation/crypto/ |
H A D | api-digest.rst | 35 :functions: crypto_alloc_shash crypto_free_shash crypto_shash_blocksize crypto_shash_digestsize crypto_shash_descsize crypto_shash_setkey crypto_shash_digest crypto_shash_export crypto_shash_import crypto_shash_init crypto_shash_update crypto_shash_final crypto_shash_finup
|
/linux/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() 699 rc = crypto_shash_final(hmacmd5, ses->auth_key.response); in setup_ntlmv2_rsp()
|
H A D | smb2misc.c | 939 rc = crypto_shash_final(sha512, ses->preauth_sha_hash); in smb311_update_preauth_hash()
|
H A D | smb2transport.c | 404 rc = crypto_shash_final(server->secmech.hmacsha256, hashptr); in generate_key()
|
/linux/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/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/drivers/nvme/common/ |
H A D | auth.c | 290 ret = crypto_shash_final(shash, transformed_key->key); in nvme_auth_transform_key() 536 ret = crypto_shash_final(shash, psk); in nvme_auth_generate_psk() 662 ret = crypto_shash_final(shash, digest); in nvme_auth_generate_digest()
|
/linux/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/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/lib/ |
H A D | digsig.c | 244 crypto_shash_final(desc, hash); in digsig_verify()
|
/linux/drivers/nvme/target/ |
H A D | auth.c | 387 ret = crypto_shash_final(shash, response); in nvmet_auth_host_hash() 496 ret = crypto_shash_final(shash, response); in nvmet_auth_ctrl_hash()
|
/linux/crypto/krb5/ |
H A D | rfc3961_simplified.c | 694 ret = crypto_shash_final(desc, digest); in rfc3961_get_mic() 759 crypto_shash_final(desc, cksum); in rfc3961_verify_mic()
|
/linux/security/integrity/evm/ |
H A D | evm_crypto.c | 176 crypto_shash_final(desc, digest); in hmac_add_misc()
|
/linux/drivers/crypto/bcm/ |
H A D | util.c | 260 rc = crypto_shash_final(&sdesc->shash, result); in do_shash()
|
/linux/include/crypto/ |
H A D | hash.h | 881 * @desc: see crypto_shash_final() 884 * @out: see crypto_shash_final() 887 * crypto_shash_update and crypto_shash_final. The parameters have the same 902 * @out: see crypto_shash_final() 963 * @desc: see crypto_shash_final() 966 * @out: see crypto_shash_final() 969 * crypto_shash_update and crypto_shash_final. The parameters have the same 998 * crypto_shash_final() - calculate message digest 1011 static inline int crypto_shash_final(struct shash_desc *desc, u8 *out) in crypto_shash_final() function
|
/linux/drivers/nvme/host/ |
H A D | auth.c | 509 ret = crypto_shash_final(shash, chap->response); in nvme_auth_dhchap_setup_host_response() 594 ret = crypto_shash_final(shash, chap->response); in nvme_auth_dhchap_setup_ctrl_response()
|
/linux/drivers/net/wireless/intel/ipw2x00/ |
H A D | libipw_crypto_tkip.c | 492 err = crypto_shash_final(desc, mic); in michael_mic()
|
/linux/drivers/md/ |
H A D | dm-ima.c | 326 r = crypto_shash_final(shash, digest); in dm_ima_measure_on_table_load()
|
/linux/drivers/block/drbd/ |
H A D | drbd_worker.c | 312 crypto_shash_final(desc, digest); in drbd_csum_ee() 333 crypto_shash_final(desc, digest); in drbd_csum_bio()
|