Home
last modified time | relevance | path

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

12

/Linux-v6.6/Documentation/crypto/
Dapi-digest.rst35 … crypto_shash_digestsize crypto_shash_descsize crypto_shash_setkey crypto_shash_digest crypto_shas…
Dapi-samples.rst130 ret = crypto_shash_digest(&sdesc->shash, data, datalen, digest);
/Linux-v6.6/crypto/
Dshash.c227 int crypto_shash_digest(struct shash_desc *desc, const u8 *data, in crypto_shash_digest() function
251 EXPORT_SYMBOL_GPL(crypto_shash_digest);
261 err = crypto_shash_digest(desc, data, len, out); in crypto_shash_tfm_digest()
366 err = crypto_shash_digest(desc, data + offset, nbytes, in shash_ahash_digest()
Dhmac.c63 err = crypto_shash_digest(shash, inkey, keylen, ipad); in hmac_setkey()
Dtestmgr.c1326 err = crypto_shash_digest(desc, sg_virt(&tsgl->sgl[0]), in test_shash_vec_cfg()
1722 vec->digest_error = crypto_shash_digest(desc, vec->plaintext, in generate_random_hash_testvec()
/Linux-v6.6/net/mac80211/
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-v6.6/fs/verity/
Dhash_algs.c193 err = crypto_shash_digest(desc, data, params->block_size, out); in fsverity_hash_block()
/Linux-v6.6/crypto/asymmetric_keys/
Dx509_public_key.c78 ret = crypto_shash_digest(desc, cert->tbs, cert->tbs_size, in x509_get_sig_params()
Dpkcs7_verify.c62 ret = crypto_shash_digest(desc, pkcs7->data, pkcs7->data_len, in pkcs7_digest()
/Linux-v6.6/net/ipv6/
Dseg6_hmac.c148 ret = crypto_shash_digest(shash, text, psize, output); in __do_hmac()
/Linux-v6.6/include/crypto/
Dhash.h921 int crypto_shash_digest(struct shash_desc *desc, const u8 *data,
/Linux-v6.6/net/bluetooth/
Damp.c158 ret = crypto_shash_digest(shash, plaintext, psize, output); in hmac_sha256()
/Linux-v6.6/drivers/thunderbolt/
Ddomain.c741 ret = crypto_shash_digest(shash, challenge, sizeof(hmac), hmac); in tb_domain_challenge_switch_key()
/Linux-v6.6/arch/x86/kernel/cpu/sgx/
Dioctl.c466 return crypto_shash_digest(shash, modulus, SGX_MODULUS_SIZE, hash); in __sgx_get_key_hash()
/Linux-v6.6/fs/ecryptfs/
Dkeystore.c760 rc = crypto_shash_digest(s->hash_desc, in ecryptfs_write_tag_70_packet()
775 rc = crypto_shash_digest(s->hash_desc, (u8 *)s->hash, in ecryptfs_write_tag_70_packet()
/Linux-v6.6/security/keys/trusted-keys/
Dtrusted_tpm1.c63 ret = crypto_shash_digest(&sdesc->shash, data, datalen, digest); in TSS_sha1()
/Linux-v6.6/drivers/base/firmware_loader/
Dmain.c826 if (crypto_shash_digest(shash, fw->data, fw->size, sha256buf) < 0) in fw_log_firmware_info()
/Linux-v6.6/fs/btrfs/
Dfile-item.c771 crypto_shash_digest(shash, in btrfs_csum_one_bio()
Ddisk-io.c157 crypto_shash_digest(shash, (const u8 *)disk_sb + BTRFS_CSUM_SIZE, in btrfs_check_super_csum()
3782 crypto_shash_digest(shash, (const char *)sb + BTRFS_CSUM_SIZE, in write_dev_supers()
/Linux-v6.6/drivers/crypto/aspeed/
Daspeed-hace-hash.c619 return crypto_shash_digest(shash, data, len, out); in aspeed_sham_shash_digest()
/Linux-v6.6/drivers/crypto/intel/qat/qat_common/
Dqat_algs.c128 int ret = crypto_shash_digest(shash, auth_key, in qat_alg_do_precomputes()
/Linux-v6.6/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c780 ret = crypto_shash_digest(&ctx->sdesc->shash, ctx->key, in aead_hmac_init()
/Linux-v6.6/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_algs.c835 ret = crypto_shash_digest(&ctx->sdesc->shash, ctx->key, in aead_hmac_init()
/Linux-v6.6/drivers/crypto/chelsio/
Dchcr_algo.c2210 err = crypto_shash_digest(shash, key, keylen, in chcr_ahash_setkey()
3623 err = crypto_shash_digest(shash, keys.authkey, in chcr_authenc_setkey()
/Linux-v6.6/drivers/block/drbd/
Ddrbd_receiver.c5463 rv = crypto_shash_digest(desc, peers_ch, pi.size, response); in drbd_do_auth()
5510 rv = crypto_shash_digest(desc, my_challenge, CHALLENGE_LEN, in drbd_do_auth()

12