Home
last modified time | relevance | path

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

12

/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 Djitterentropy-kcapi.c132 * 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 Dhctr2.c226 return crypto_shash_final(hash_desc, digest); in hctr2_hash_message()
H A Dadiantum.c274 return crypto_shash_final(hash_desc, (u8 *)digest); in adiantum_hash_message()
H A Dcryptd.c586 err = crypto_shash_final(desc, req->result); in cryptd_hash_final()
/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()
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 Dapi-digest.rst35 :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 Dcifsencrypt.c98 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 Dsmb2misc.c939 rc = crypto_shash_final(sha512, ses->preauth_sha_hash); in smb311_update_preauth_hash()
H A Dsmb2transport.c404 rc = crypto_shash_final(server->secmech.hmacsha256, hashptr); in generate_key()
/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/drivers/nvme/common/
H A Dauth.c290 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 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/lib/
H A Ddigsig.c244 crypto_shash_final(desc, hash); in digsig_verify()
/linux/drivers/nvme/target/
H A Dauth.c387 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 Drfc3961_simplified.c694 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 Devm_crypto.c176 crypto_shash_final(desc, digest); in hmac_add_misc()
/linux/drivers/crypto/bcm/
H A Dutil.c260 rc = crypto_shash_final(&sdesc->shash, result); in do_shash()
/linux/include/crypto/
H A Dhash.h881 * @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 Dauth.c509 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 Dlibipw_crypto_tkip.c492 err = crypto_shash_final(desc, mic); in michael_mic()
/linux/drivers/md/
H A Ddm-ima.c326 r = crypto_shash_final(shash, digest); in dm_ima_measure_on_table_load()
/linux/drivers/block/drbd/
H A Ddrbd_worker.c312 crypto_shash_final(desc, digest); in drbd_csum_ee()
333 crypto_shash_final(desc, digest); in drbd_csum_bio()

12