Home
last modified time | relevance | path

Searched refs:crypto_shash_digest (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.15/crypto/
H A Dshash.c87 int crypto_shash_digest(struct shash_desc *desc, const u8 *data, in crypto_shash_digest() function
97 EXPORT_SYMBOL_GPL(crypto_shash_digest);
107 err = crypto_shash_digest(desc, data, len, out); in crypto_shash_tfm_digest()
H A Dadiantum.c306 err = crypto_shash_digest(&rctx->u.hash_desc, virt, bulk_len, in adiantum_finish()
366 err = crypto_shash_digest(&rctx->u.hash_desc, virt, bulk_len, in adiantum_crypt()
H A Dahash.c212 return crypto_shash_digest(desc, data, nbytes, req->result); in shash_ahash_digest()
223 return crypto_shash_digest(desc, data, nbytes, req->result); in shash_ahash_digest()
233 err = crypto_shash_digest(desc, data + offset, nbytes, in shash_ahash_digest()
H A Dhmac.c52 err = crypto_shash_digest(shash, inkey, keylen, ipad); in hmac_setkey()
H A Dtestmgr.c1357 err = crypto_shash_digest(desc, sg_virt(&tsgl->sgl[0]), in test_shash_vec_cfg()
1752 vec->digest_error = crypto_shash_digest(desc, vec->plaintext, in generate_random_hash_testvec()
/linux-6.15/Documentation/crypto/
H A Dapi-digest.rst35 … crypto_shash_digestsize crypto_shash_descsize crypto_shash_setkey crypto_shash_digest crypto_shas…
H A Dapi-samples.rst130 ret = crypto_shash_digest(&sdesc->shash, data, datalen, digest);
/linux-6.15/net/mac80211/
H A Dfils_aead.c35 crypto_shash_digest(desc, tmp, AES_BLOCK_SIZE, d); in aes_s2v()
40 crypto_shash_digest(desc, addr[i], len[i], tmp); in aes_s2v()
/linux-6.15/fs/verity/
H A Dhash_algs.c193 err = crypto_shash_digest(desc, data, params->block_size, out); in fsverity_hash_block()
/linux-6.15/crypto/asymmetric_keys/
H A Dx509_public_key.c66 ret = crypto_shash_digest(desc, cert->tbs, cert->tbs_size, in x509_get_sig_params()
H A Dpkcs7_verify.c62 ret = crypto_shash_digest(desc, pkcs7->data, pkcs7->data_len, in pkcs7_digest()
/linux-6.15/net/ipv6/
H A Dseg6_hmac.c148 ret = crypto_shash_digest(shash, text, psize, output); in __do_hmac()
/linux-6.15/include/crypto/
H A Dhash.h862 int crypto_shash_digest(struct shash_desc *desc, const u8 *data,
/linux-6.15/fs/smb/client/
H A Dlink.c48 rc = crypto_shash_digest(md5, link_str, link_len, md5_hash); in symlink_hash()
/linux-6.15/drivers/thunderbolt/
H A Ddomain.c746 ret = crypto_shash_digest(shash, challenge, sizeof(hmac), hmac); in tb_domain_challenge_switch_key()
/linux-6.15/arch/x86/kernel/cpu/sgx/
H A Dioctl.c473 return crypto_shash_digest(shash, modulus, SGX_MODULUS_SIZE, hash); in __sgx_get_key_hash()
/linux-6.15/fs/ecryptfs/
H A Dkeystore.c762 rc = crypto_shash_digest(s->hash_desc, in ecryptfs_write_tag_70_packet()
777 rc = crypto_shash_digest(s->hash_desc, (u8 *)s->hash, in ecryptfs_write_tag_70_packet()
/linux-6.15/security/keys/trusted-keys/
H A Dtrusted_tpm1.c63 ret = crypto_shash_digest(&sdesc->shash, data, datalen, digest); in TSS_sha1()
/linux-6.15/drivers/crypto/aspeed/
H A Daspeed-hace-hash.c619 return crypto_shash_digest(shash, data, len, out); in aspeed_sham_shash_digest()
/linux-6.15/fs/btrfs/
H A Dfile-item.c777 crypto_shash_digest(shash, in btrfs_csum_one_bio()
H A Ddisk-io.c172 crypto_shash_digest(shash, (const u8 *)disk_sb + BTRFS_CSUM_SIZE, in btrfs_check_super_csum()
3842 crypto_shash_digest(shash, (const char *)sb + BTRFS_CSUM_SIZE, in write_dev_supers()
/linux-6.15/drivers/base/firmware_loader/
H A Dmain.c831 if (crypto_shash_digest(shash, fw->data, fw->size, sha256buf) < 0) in fw_log_firmware_info()
/linux-6.15/drivers/crypto/intel/qat/qat_common/
H A Dqat_algs.c128 int ret = crypto_shash_digest(shash, auth_key, in qat_alg_do_precomputes()
/linux-6.15/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.c761 ret = crypto_shash_digest(&ctx->sdesc->shash, keys->authkey, in aead_hmac_init()
/linux-6.15/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.c849 ret = crypto_shash_digest(&ctx->sdesc->shash, keys->authkey, in aead_hmac_init()

12