Home
last modified time | relevance | path

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

/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
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/crypto/
H A Dshash.c183 int crypto_shash_digest(struct shash_desc *desc, const u8 *data, in crypto_shash_digest() function
194 EXPORT_SYMBOL_GPL(crypto_shash_digest);
202 return 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.c56 err = crypto_shash_digest(shash, inkey, keylen, ipad); in hmac_setkey()
H A Dtestmgr.c1349 err = crypto_shash_digest(desc, sg_virt(&tsgl->sgl[0]), in test_shash_vec_cfg()
/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.c155 ret = crypto_shash_digest(shash, text, psize, output); in __do_hmac()
157 pr_debug("sr-ipv6: crypto_shash_digest failed: err %d\n", ret); in __do_hmac()
/linux/include/crypto/
H A Dhash.h880 * crypto_shash_digest() - calculate message digest for buffer
894 int crypto_shash_digest(struct shash_desc *desc, const u8 *data,
904 * This is a simplified version of crypto_shash_digest() for users who don't
/linux/fs/smb/client/
H A Dlink.c49 rc = crypto_shash_digest(md5, link_str, link_len, md5_hash); in symlink_hash()
/linux/drivers/thunderbolt/
H A Ddomain.c746 ret = crypto_shash_digest(shash, challenge, sizeof(hmac), hmac); in tb_domain_challenge_switch_key()
/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/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()
3765 crypto_shash_digest(shash, (const char *)sb + BTRFS_CSUM_SIZE, in write_dev_supers()
H A Dinode.c3342 crypto_shash_digest(shash, kaddr, fs_info->sectorsize, csum); in btrfs_check_sector_csum()
/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/chelsio/
H A Dchcr_algo.c2217 err = crypto_shash_digest(shash, key, keylen, in chcr_ahash_setkey()
3630 err = crypto_shash_digest(shash, keys.authkey, in chcr_authenc_setkey()
/linux/drivers/block/drbd/
H A Ddrbd_receiver.c5467 rv = crypto_shash_digest(desc, peers_ch, pi.size, response); in drbd_do_auth()
5514 rv = crypto_shash_digest(desc, my_challenge, CHALLENGE_LEN, in drbd_do_auth()
/linux/drivers/md/
H A Ddm-integrity.c507 r = crypto_shash_digest(desc, sb, mac - sb, mac); in sb_mac()
509 dm_integrity_io_error(ic, "crypto_shash_digest", r); in sb_mac()
515 r = crypto_shash_digest(desc, sb, mac - sb, actual_mac); in sb_mac()
517 dm_integrity_io_error(ic, "crypto_shash_digest", r); in sb_mac()
/linux/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c2684 ret = crypto_shash_digest(ctx->shdesc, key, keylen, in safexcel_hmac_sha3_setkey()
/linux/drivers/gpu/drm/bridge/
H A Dite-it6505.c2130 err = crypto_shash_digest(desc, sha1_input, size, output_av); in it6505_sha1_digest()
2132 dev_err(dev, "crypto_shash_digest sha1 failed"); in it6505_sha1_digest()