Home
last modified time | relevance | path

Searched refs:tfm (Results 451 – 475 of 481) sorted by relevance

1...<<11121314151617181920

/openbmc/linux/net/sctp/
H A Dsm_make_chunk.c1718 struct crypto_shash *tfm = sctp_sk(ep->base.sk)->hmac; in sctp_pack_cookie() local
1722 err = crypto_shash_setkey(tfm, ep->secret_key, in sctp_pack_cookie()
1724 crypto_shash_tfm_digest(tfm, (u8 *)&cookie->c, bodysize, in sctp_pack_cookie()
1786 struct crypto_shash *tfm = sctp_sk(ep->base.sk)->hmac; in sctp_unpack_cookie() local
1789 err = crypto_shash_setkey(tfm, ep->secret_key, in sctp_unpack_cookie()
1791 crypto_shash_tfm_digest(tfm, (u8 *)bear_cookie, bodysize, in sctp_unpack_cookie()
H A Dsocket.c8526 struct crypto_shash *tfm = NULL; in sctp_listen_start() local
8533 tfm = crypto_alloc_shash(alg, 0, 0); in sctp_listen_start()
8534 if (IS_ERR(tfm)) { in sctp_listen_start()
8536 sp->sctp_hmac_alg, PTR_ERR(tfm)); in sctp_listen_start()
8539 sctp_sk(sk)->hmac = tfm; in sctp_listen_start()
/openbmc/linux/drivers/crypto/bcm/
H A Dutil.c233 sdesc->shash.tfm = hash; in do_shash()
/openbmc/openbmc/meta-arm/meta-arm-bsp/documentation/corstone1000/
H A Dchange-log.rst244 - psa-arch-tests: The tests are align with latest tfm version for psa-crypto-api suite.
/openbmc/linux/drivers/crypto/marvell/cesa/
H A Dtdma.c160 ctx = crypto_tfm_ctx(req->tfm); in mv_cesa_tdma_process()
/openbmc/linux/drivers/nvme/host/
H A Dauth.c467 shash->tfm = chap->shash_tfm; in nvme_auth_dhchap_setup_host_response()
552 shash->tfm = chap->shash_tfm; in nvme_auth_dhchap_setup_ctrl_response()
/openbmc/linux/drivers/infiniband/sw/siw/
H A Dsiw_qp.c250 c_tx->mpa_crc_hd->tfm = siw_crypto_shash; in siw_qp_enable_crc()
251 c_rx->mpa_crc_hd->tfm = siw_crypto_shash; in siw_qp_enable_crc()
/openbmc/linux/net/bluetooth/
H A Dsmp.c170 static int aes_cmac(struct crypto_shash *tfm, const u8 k[16], const u8 *m, in aes_cmac() argument
179 if (!tfm) { in aes_cmac()
180 BT_ERR("tfm %p", tfm); in aes_cmac()
191 err = crypto_shash_setkey(tfm, tmp, 16); in aes_cmac()
197 err = crypto_shash_tfm_digest(tfm, msg_msb, len, mac_msb); in aes_cmac()
/openbmc/linux/drivers/block/drbd/
H A Ddrbd_receiver.c3786 struct crypto_shash *tfm; in drbd_crypto_alloc_digest_safe() local
3791 tfm = crypto_alloc_shash(alg, 0, 0); in drbd_crypto_alloc_digest_safe()
3792 if (IS_ERR(tfm)) { in drbd_crypto_alloc_digest_safe()
3794 alg, name, PTR_ERR(tfm)); in drbd_crypto_alloc_digest_safe()
3795 return tfm; in drbd_crypto_alloc_digest_safe()
3797 return tfm; in drbd_crypto_alloc_digest_safe()
5392 desc->tfm = connection->cram_hmac_tfm; in drbd_do_auth()
H A Ddrbd_nl.c2312 alloc_shash(struct crypto_shash **tfm, char *tfm_name, int err_alg) in alloc_shash() argument
2317 *tfm = crypto_alloc_shash(tfm_name, 0, 0); in alloc_shash()
2318 if (IS_ERR(*tfm)) { in alloc_shash()
2319 *tfm = NULL; in alloc_shash()
/openbmc/linux/include/linux/
H A Djbd2.h1785 desc.shash.tfm = journal->j_chksum_driver; in jbd2_chksum()
/openbmc/linux/net/tls/
H A Dtls_sw.c2669 struct crypto_tfm *tfm; in tls_set_sw_offload() local
2772 tfm = crypto_aead_tfm(sw_ctx_rx->aead_recv); in tls_set_sw_offload()
2777 !!(tfm->__crt_alg->cra_flags & CRYPTO_ALG_ASYNC); in tls_set_sw_offload()
/openbmc/linux/drivers/crypto/inside-secure/
H A Dsafexcel.c847 ctx = crypto_tfm_ctx(req->tfm); in safexcel_dequeue()
1031 ctx = crypto_tfm_ctx(req->tfm); in safexcel_handle_result_descriptor()
/openbmc/linux/security/keys/trusted-keys/
H A Dtrusted_tpm1.c47 sdesc->shash.tfm = alg; in init_sdesc()
/openbmc/linux/fs/ubifs/
H A Dreplay.c569 hash_desc->tfm = c->hash_tfm; in authenticate_sleb_hash()
/openbmc/linux/drivers/tee/
H A Dtee_core.c166 desc->tfm = shash; in uuid_v5()
/openbmc/linux/fs/btrfs/
H A Dfile-item.c762 shash->tfm = fs_info->csum_shash; in btrfs_csum_one_bio()
H A Ddisk-io.c84 shash->tfm = fs_info->csum_shash; in csum_tree_block()
150 shash->tfm = fs_info->csum_shash; in btrfs_check_super_csum()
3770 shash->tfm = fs_info->csum_shash; in write_dev_supers()
H A Dcheck-integrity.c1670 shash->tfm = fs_info->csum_shash; in btrfsic_test_for_metadata()
H A Dscrub.c650 shash->tfm = fs_info->csum_shash; in scrub_verify_one_metadata()
/openbmc/linux/drivers/base/firmware_loader/
H A Dmain.c824 shash->tfm = alg; in fw_log_firmware_info()
/openbmc/linux/drivers/target/iscsi/
H A Discsi_target.c4417 struct crypto_ahash *tfm; in iscsit_close_connection() local
4419 tfm = crypto_ahash_reqtfm(conn->conn_rx_hash); in iscsit_close_connection()
4421 crypto_free_ahash(tfm); in iscsit_close_connection()
/openbmc/linux/drivers/md/
H A Ddm-integrity.c505 desc->tfm = ic->journal_mac; in sb_mac()
796 desc->tfm = ic->journal_mac; in section_mac()
1659 req->tfm = ic->internal_hash; in integrity_sector_checksum()
/openbmc/linux/fs/ext4/
H A Dext4.h2460 desc.shash.tfm = sbi->s_chksum_driver; in ext4_chksum()
/openbmc/linux/fs/f2fs/
H A Df2fs.h1934 desc.shash.tfm = sbi->s_chksum_driver; in __f2fs_crc32()

1...<<11121314151617181920