Home
last modified time | relevance | path

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

12

/linux/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 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/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/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/fs/verity/
H A Dhash_algs.c193 err = crypto_shash_digest(desc, data, params->block_size, out); in fsverity_hash_block()
/linux/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/net/ipv6/
H A Dseg6_hmac.c148 ret = crypto_shash_digest(shash, text, psize, output); in __do_hmac()
150 pr_debug("sr-ipv6: crypto_shash_digest failed: err %d\n", ret); in __do_hmac()
/linux/fs/bcachefs/
H A Dstr_hash.h59 crypto_shash_digest(desc, (void *) &bi->bi_hash_seed, in bch2_hash_info_init()
/linux/drivers/thunderbolt/
H A Ddomain.c746 ret = crypto_shash_digest(shash, challenge, sizeof(hmac), hmac); in tb_domain_challenge_switch_key()
/linux/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/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/security/keys/trusted-keys/
H A Dtrusted_tpm1.c63 ret = crypto_shash_digest(&sdesc->shash, data, datalen, digest); in TSS_sha1()
/linux/drivers/crypto/aspeed/
H A Daspeed-hace-hash.c619 return crypto_shash_digest(shash, data, len, out); in aspeed_sham_shash_digest()
/linux/drivers/infiniband/sw/siw/
H A Dsiw_qp_tx.c252 crypto_shash_digest(c_tx->mpa_crc_hd, (u8 *)&c_tx->pkt, in siw_qp_prepare_tx()
/linux/fs/btrfs/
H A Dfile-item.c780 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()
3844 crypto_shash_digest(shash, (const char *)sb + BTRFS_CSUM_SIZE, in write_dev_supers()
/linux/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/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/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.c761 ret = crypto_shash_digest(&ctx->sdesc->shash, keys->authkey, in aead_hmac_init()
/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.c849 ret = crypto_shash_digest(&ctx->sdesc->shash, keys->authkey, in aead_hmac_init()
/linux/drivers/block/drbd/
H A 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