/openbmc/linux/net/sctp/ |
H A D | sm_make_chunk.c | 1718 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 D | socket.c | 8526 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 D | util.c | 233 sdesc->shash.tfm = hash; in do_shash()
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/documentation/corstone1000/ |
H A D | change-log.rst | 244 - psa-arch-tests: The tests are align with latest tfm version for psa-crypto-api suite.
|
/openbmc/linux/drivers/crypto/marvell/cesa/ |
H A D | tdma.c | 160 ctx = crypto_tfm_ctx(req->tfm); in mv_cesa_tdma_process()
|
/openbmc/linux/drivers/nvme/host/ |
H A D | auth.c | 467 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 D | siw_qp.c | 250 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 D | smp.c | 170 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 D | drbd_receiver.c | 3786 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 D | drbd_nl.c | 2312 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 D | jbd2.h | 1785 desc.shash.tfm = journal->j_chksum_driver; in jbd2_chksum()
|
/openbmc/linux/net/tls/ |
H A D | tls_sw.c | 2669 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 D | safexcel.c | 847 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 D | trusted_tpm1.c | 47 sdesc->shash.tfm = alg; in init_sdesc()
|
/openbmc/linux/fs/ubifs/ |
H A D | replay.c | 569 hash_desc->tfm = c->hash_tfm; in authenticate_sleb_hash()
|
/openbmc/linux/drivers/tee/ |
H A D | tee_core.c | 166 desc->tfm = shash; in uuid_v5()
|
/openbmc/linux/fs/btrfs/ |
H A D | file-item.c | 762 shash->tfm = fs_info->csum_shash; in btrfs_csum_one_bio()
|
H A D | disk-io.c | 84 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 D | check-integrity.c | 1670 shash->tfm = fs_info->csum_shash; in btrfsic_test_for_metadata()
|
H A D | scrub.c | 650 shash->tfm = fs_info->csum_shash; in scrub_verify_one_metadata()
|
/openbmc/linux/drivers/base/firmware_loader/ |
H A D | main.c | 824 shash->tfm = alg; in fw_log_firmware_info()
|
/openbmc/linux/drivers/target/iscsi/ |
H A D | iscsi_target.c | 4417 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 D | dm-integrity.c | 505 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 D | ext4.h | 2460 desc.shash.tfm = sbi->s_chksum_driver; in ext4_chksum()
|
/openbmc/linux/fs/f2fs/ |
H A D | f2fs.h | 1934 desc.shash.tfm = sbi->s_chksum_driver; in __f2fs_crc32()
|