Home
last modified time | relevance | path

Searched refs:crypto_shash_tfm_digest (Results 1 – 23 of 23) sorted by relevance

/linux/fs/ubifs/
H A Dauth.c33 return crypto_shash_tfm_digest(c->hash_tfm, node, le32_to_cpu(ch->len), in __ubifs_node_calc_hash()
48 return crypto_shash_tfm_digest(c->hmac_tfm, hash, c->hash_len, hmac); in ubifs_hash_calc_hmac()
515 return crypto_shash_tfm_digest(c->hmac_tfm, well_known_message, in ubifs_hmac_wkm()
H A Dmaster.c72 ret = crypto_shash_tfm_digest(c->hash_tfm, node + sizeof(struct ubifs_ch), in mst_node_check_hash()
/linux/samples/tsm-mr/
H A Dtsm_mr_sample.c35 rc = crypto_shash_tfm_digest(tfm, (u8 *)&sample_report, in sample_report_refresh()
41 pr_err("crypto_shash_tfm_digest failed: %d\n", rc); in sample_report_refresh()
/linux/crypto/
H A Dshash.c196 int crypto_shash_tfm_digest(struct crypto_shash *tfm, const u8 *data, in crypto_shash_tfm_digest() function
204 EXPORT_SYMBOL_GPL(crypto_shash_tfm_digest);
H A Dhkdf.c52 err = crypto_shash_tfm_digest(hmac_tfm, ikm, ikmlen, prk); in hkdf_extract()
H A Dessiv.c81 err = crypto_shash_tfm_digest(tctx->hash, key, keylen, salt); in essiv_skcipher_setkey()
/linux/drivers/nvme/common/
H A Dauth.c323 ret = crypto_shash_tfm_digest(tfm, skey, skey_len, hkey); in nvme_auth_hash_skey()
367 ret = crypto_shash_tfm_digest(tfm, challenge, hlen, aug); in nvme_auth_augmented_challenge()
/linux/security/keys/encrypted-keys/
H A Dencrypted.c347 err = crypto_shash_tfm_digest(tfm, buf, buflen, digest); in calc_hmac()
377 ret = crypto_shash_tfm_digest(hash_tfm, derived_buf, derived_buf_len, in get_derived_key()
/linux/include/crypto/
H A Dhash.h898 * crypto_shash_tfm_digest() - calculate message digest for buffer
906 * crypto_shash_tfm_digest() takes a hash transformation object (crypto_shash)
913 int crypto_shash_tfm_digest(struct crypto_shash *tfm, const u8 *data,
/linux/drivers/nfc/s3fwrn5/
H A Dfirmware.c428 ret = crypto_shash_tfm_digest(tfm, fw->image, image_size, hash_data); in s3fwrn5_fw_download()
/linux/drivers/crypto/ccp/
H A Dccp-crypto-sha.c291 ret = crypto_shash_tfm_digest(shash, key, key_len, in ccp_sha_setkey()
/linux/net/sctp/
H A Dauth.c745 crypto_shash_tfm_digest(tfm, (u8 *)auth, end - (unsigned char *)auth, in sctp_auth_calculate_hmac()
H A Dsm_make_chunk.c1716 crypto_shash_tfm_digest(tfm, (u8 *)&cookie->c, bodysize, in sctp_pack_cookie()
1783 crypto_shash_tfm_digest(tfm, (u8 *)bear_cookie, bodysize, in sctp_unpack_cookie()
/linux/drivers/crypto/
H A Domap-sham.c1229 return crypto_shash_tfm_digest(tctx->fallback, ctx->buffer + offset, in omap_sham_final_shash()
1296 err = crypto_shash_tfm_digest(bctx->shash, key, keylen, in omap_sham_setkey()
H A Ds5p-sss.c1534 return crypto_shash_tfm_digest(tctx->fallback, ctx->buffer, in s5p_hash_final()
/linux/arch/arm64/crypto/
H A Daes-glue.c174 crypto_shash_tfm_digest(ctx->hash, in_key, key_len, digest); in essiv_cbc_set_key()
/linux/drivers/crypto/ccree/
H A Dcc_cipher.c472 err = crypto_shash_tfm_digest(ctx_p->shash_tfm, in cc_cipher_setkey()
/linux/fs/nfsd/
H A Dnfs4recover.c131 status = crypto_shash_tfm_digest(tfm, clname->data, clname->len, in nfs4_make_rec_clidname()
/linux/drivers/crypto/axis/
H A Dartpec6_crypto.c2249 ret = crypto_shash_tfm_digest(tfm_ctx->child_hash, key, keylen, in artpec6_crypto_hash_set_key()
/linux/drivers/crypto/stm32/
H A Dstm32-hash.c951 ret = crypto_shash_tfm_digest(ctx->xtfm, NULL, 0, rctx->digest); in stm32_hash_emptymsg_fallback()
/linux/drivers/crypto/tegra/
H A Dtegra-se-aes.c1656 return crypto_shash_tfm_digest(ctx->fallback_tfm, in tegra_cmac_do_final()
/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c1354 ret = crypto_shash_tfm_digest(hash_tfm, keys->authkey, in sec_aead_auth_set_key()
/linux/net/bluetooth/
H A Dsmp.c196 err = crypto_shash_tfm_digest(tfm, msg_msb, len, mac_msb); in aes_cmac()