Searched refs:alg_id (Results 1 – 17 of 17) sorted by relevance
/linux/security/integrity/ima/ |
H A D | ima_crypto.c | 625 u16 alg_id; in ima_calc_field_array_hash() local 632 entry->digests[ima_sha1_idx].alg_id = TPM_ALG_SHA1; in ima_calc_field_array_hash() 639 alg_id = ima_tpm_chip->allocated_banks[i].alg_id; in ima_calc_field_array_hash() 640 entry->digests[i].alg_id = alg_id; in ima_calc_field_array_hash() 795 static int ima_calc_boot_aggregate_tfm(char *digest, u16 alg_id, in ima_calc_boot_aggregate_tfm() argument 798 struct tpm_digest d = { .alg_id = alg_id, .digest = {0} }; in ima_calc_boot_aggregate_tfm() 806 d.alg_id); in ima_calc_boot_aggregate_tfm() 827 if (alg_id != TPM_ALG_SHA1) { in ima_calc_boot_aggregate_tfm() 842 u16 crypto_id, alg_id; in ima_calc_boot_aggregate() local 871 alg_id = ima_tpm_chip->allocated_banks[bank_idx].alg_id; in ima_calc_boot_aggregate() [all …]
|
/linux/net/ipv6/ |
H A D | seg6_hmac.c | 75 .alg_id = SEG6_HMAC_ALGO_SHA1, 79 .alg_id = SEG6_HMAC_ALGO_SHA256, 103 static struct seg6_hmac_algo *__hmac_get_algo(u8 alg_id) in __hmac_get_algo() argument 111 if (algo->alg_id == alg_id) in __hmac_get_algo() 126 algo = __hmac_get_algo(hinfo->alg_id); in __do_hmac()
|
H A D | seg6.c | 213 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/drivers/char/tpm/ |
H A D | tpm-sysfs.c | 359 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 D | tpm2-cmd.c | 181 chip->allocated_banks[i].alg_id != digest->alg_id; i++) in tpm2_pcr_read() 197 tpm_buf_append_u16(&buf, digest->alg_id); in tpm2_pcr_read() 263 tpm_buf_append_u16(&buf, digests[i].alg_id); in tpm2_pcr_extend() 547 struct tpm_digest digest = { .alg_id = bank->alg_id }; in tpm2_init_bank_info() 557 if (bank->alg_id != tpm2_hash_map[i].tpm_id) in tpm2_init_bank_info() 633 chip->allocated_banks[nr_alloc_banks].alg_id = hash_alg; in tpm2_get_pcr_allocation()
|
H A D | tpm-interface.c | 326 if (digests[i].alg_id != chip->allocated_banks[i].alg_id) { in tpm_pcr_extend()
|
H A D | tpm1-cmd.c | 807 chip->allocated_banks[0].alg_id = TPM_ALG_SHA1; in tpm1_get_pcr_allocation()
|
/linux/net/xfrm/ |
H A D | xfrm_algo.c | 711 struct xfrm_algo_desc *xfrm_aalg_get_byid(int alg_id) in xfrm_aalg_get_byid() argument 714 (void *)(unsigned long)alg_id, 1); in xfrm_aalg_get_byid() 718 struct xfrm_algo_desc *xfrm_ealg_get_byid(int alg_id) in xfrm_ealg_get_byid() argument 721 (void *)(unsigned long)alg_id, 1); in xfrm_ealg_get_byid() 725 struct xfrm_algo_desc *xfrm_calg_get_byid(int alg_id) in xfrm_calg_get_byid() argument 728 (void *)(unsigned long)alg_id, 1); in xfrm_calg_get_byid()
|
/linux/include/net/ |
H A D | seg6_hmac.h | 32 u8 alg_id; member 36 u8 alg_id; member
|
H A D | xfrm.h | 1900 struct xfrm_algo_desc *xfrm_aalg_get_byid(int alg_id); 1901 struct xfrm_algo_desc *xfrm_ealg_get_byid(int alg_id); 1902 struct xfrm_algo_desc *xfrm_calg_get_byid(int alg_id);
|
/linux/include/sound/ |
H A D | cs-amp-lib.h | 39 unsigned int alg_id; member
|
/linux/include/linux/ |
H A D | tpm.h | 70 u16 alg_id; member 75 u16 alg_id; member
|
/linux/sound/soc/codecs/ |
H A D | cs-amp-lib.c | 35 cs_ctl = cs_dsp_get_ctl(dsp, ctl_name, controls->mem_region, controls->alg_id); in cs_amp_write_cal_coeff()
|
H A D | cs-amp-lib-test.c | 562 .alg_id = 0x9f210,
|
H A D | cs35l56-shared.c | 710 .alg_id = 0x9f210,
|
/linux/security/keys/trusted-keys/ |
H A D | trusted_tpm1.c | 1036 digests[i].alg_id = chip->allocated_banks[i].alg_id; in init_digests()
|
/linux/sound/pci/hda/ |
H A D | cs35l41_hda.c | 69 .alg_id = CAL_DSP_CTL_ALG,
|