Home
last modified time | relevance | path

Searched refs:alg_id (Results 1 – 16 of 16) sorted by relevance

/linux/security/integrity/ima/
H A Dima_crypto.c338 u16 alg_id; in ima_calc_file_hash_atfm()
345 entry->digests[ima_sha1_idx].alg_id = TPM_ALG_SHA1; in ima_calc_file_hash_atfm()
352 alg_id = ima_tpm_chip->allocated_banks[i].alg_id; in ima_calc_file_hash_atfm()
353 entry->digests[i].alg_id = alg_id; in ima_calc_file_hash_atfm()
437 static int ima_calc_boot_aggregate_tfm(char *digest, u16 alg_id, in ima_calc_file_ahash()
440 struct tpm_digest d = { .alg_id = alg_id, .digest = {0} }; in ima_calc_file_ahash()
448 d.alg_id); in ima_calc_file_ahash()
625 u16 alg_id; ima_calc_field_array_hash() local
795 ima_calc_boot_aggregate_tfm(char * digest,u16 alg_id,struct crypto_shash * tfm) ima_calc_boot_aggregate_tfm() argument
842 u16 crypto_id, alg_id; ima_calc_boot_aggregate() local
[all...]
H A Dima_queue.c565 digests[i].alg_id = ima_tpm_chip->allocated_banks[i].alg_id;
/linux/drivers/char/tpm/
H A Dtpm-sysfs.c359 int alg_id; member
379 if (ha->alg_id == chip->allocated_banks[i].alg_id) in pcr_value_show()
385 digest.alg_id = ha->alg_id; in pcr_value_show()
438 .alg_id = _alg, \
511 switch (chip->allocated_banks[i].alg_id) { in tpm_sysfs_add_device()
536 chip->allocated_banks[i].alg_id); in tpm_sysfs_add_device()
H A Dtpm-interface.c386 if (digests[i].alg_id != chip->allocated_banks[i].alg_id) { in tpm_pcr_extend()
H A Dtpm1-cmd.c802 chip->allocated_banks[0].alg_id = TPM_ALG_SHA1; in tpm1_get_pcr_allocation()
/linux/net/xfrm/
H A Dxfrm_algo.c691 struct xfrm_algo_desc *xfrm_aalg_get_byid(int alg_id) in xfrm_find_algo()
694 (void *)(unsigned long)alg_id, 1); in xfrm_find_algo()
698 struct xfrm_algo_desc *xfrm_ealg_get_byid(int alg_id) in xfrm_find_algo()
701 (void *)(unsigned long)alg_id, 1); in xfrm_find_algo()
705 struct xfrm_algo_desc *xfrm_calg_get_byid(int alg_id) in xfrm_alg_id_match()
708 (void *)(unsigned long)alg_id, 1); in xfrm_alg_id_match()
711 xfrm_aalg_get_byid(int alg_id) xfrm_aalg_get_byid() argument
718 xfrm_ealg_get_byid(int alg_id) xfrm_ealg_get_byid() argument
725 xfrm_calg_get_byid(int alg_id) xfrm_calg_get_byid() argument
/linux/include/linux/
H A Dtpm_eventlog.h80 u16 alg_id; member
234 halg_size = sizeof(event->digests[i].alg_id); in __calc_tpm2_event_size()
254 if (halg == efispecid->digest_sizes[j].alg_id) { in __calc_tpm2_event_size()
H A Dtpm.h72 u16 alg_id; member
77 u16 alg_id; member
/linux/sound/soc/codecs/
H A Dcs35l56-shared.c946 .alg_id = 0x9f210,
956 .alg_id = 0xbf210,
1065 calibration_controls->alg_id); in cs35l56_perform_calibration()
1311 int alg_id; in cs35l56_cal_set_status_get()
1318 alg_id = 0x9f210; in cs35l56_cal_set_status_get()
1321 alg_id = 0xbf210; in cs35l56_cal_set_status_get()
1328 WMFW_ADSP2_YM, alg_id), in cs35l56_cal_set_status_get()
1395 unsigned int alg_id; in cs35l56_log_tuning()
1402 alg_id = 0x9f212; in cs35l56_log_tuning()
1405 alg_id in cs35l56_log_tuning()
1309 int alg_id; cs35l56_cal_set_status_get() local
1393 unsigned int alg_id; cs35l56_log_tuning() local
[all...]
H A Dcs-amp-lib.c87 cs_ctl = cs_dsp_get_ctl(dsp, ctl_name, controls->mem_region, controls->alg_id); in cs_amp_write_cal_coeff()
116 cs_ctl = cs_dsp_get_ctl(dsp, ctl_name, controls->mem_region, controls->alg_id); in cs_amp_read_cal_coeff()
H A Dcs-amp-lib-test.c693 .alg_id = 0x9f210,
/linux/drivers/firmware/cirrus/test/
H A Dcs_dsp_mock_wmfw.c171 unsigned int alg_id, in cs_dsp_mock_wmfw_start_alg_info_block() argument
182 KUNIT_ASSERT_LE(builder->test_priv->test, alg_id, 0xffffff); in cs_dsp_mock_wmfw_start_alg_info_block()
207 v1->id = cpu_to_le32(alg_id); in cs_dsp_mock_wmfw_start_alg_info_block()
239 *(__force __le32 *)&rgn->data[0] = cpu_to_le32(alg_id); in cs_dsp_mock_wmfw_start_alg_info_block()
/linux/net/ipv6/
H A Dseg6_hmac.c149 switch (hinfo->alg_id) { in seg6_hmac_compute()
240 switch (hinfo->alg_id) { in seg6_hmac_info_add()
H A Dseg6.c213 hinfo->alg_id = algid; in seg6_genl_sethmac()
305 nla_put_u8(msg, SEG6_ATTR_ALGID, hinfo->alg_id)) in __seg6_hmac_fill_info()
/linux/security/keys/trusted-keys/
H A Dtrusted_tpm1.c960 digests[i].alg_id = chip->allocated_banks[i].alg_id; in trusted_tpm_init()
/linux/sound/hda/codecs/side-codecs/
H A Dcs35l41_hda.c68 .alg_id = CAL_DSP_CTL_ALG,