Searched refs:alg_id (Results 1 – 14 of 14) sorted by relevance
| /linux/security/integrity/ima/ |
| A D | ima_crypto.c | 629 u16 alg_id; in ima_calc_field_array_hash() local 636 entry->digests[ima_sha1_idx].alg_id = TPM_ALG_SHA1; in ima_calc_field_array_hash() 643 alg_id = ima_tpm_chip->allocated_banks[i].alg_id; in ima_calc_field_array_hash() 644 entry->digests[i].alg_id = alg_id; in ima_calc_field_array_hash() 799 static int ima_calc_boot_aggregate_tfm(char *digest, u16 alg_id, in ima_calc_boot_aggregate_tfm() argument 802 struct tpm_digest d = { .alg_id = alg_id, .digest = {0} }; in ima_calc_boot_aggregate_tfm() 810 d.alg_id); in ima_calc_boot_aggregate_tfm() 831 if (alg_id != TPM_ALG_SHA1) { in ima_calc_boot_aggregate_tfm() 846 u16 crypto_id, alg_id; in ima_calc_boot_aggregate() local 875 alg_id = ima_tpm_chip->allocated_banks[bank_idx].alg_id; in ima_calc_boot_aggregate() [all …]
|
| A D | ima_queue.c | 229 digests[i].alg_id = ima_tpm_chip->allocated_banks[i].alg_id; in ima_init_digests()
|
| /linux/drivers/char/tpm/ |
| A D | tpm-sysfs.c | 341 int alg_id; member 361 if (ha->alg_id == chip->allocated_banks[i].alg_id) in pcr_value_show() 367 digest.alg_id = ha->alg_id; in pcr_value_show() 420 .alg_id = _alg, \ 490 switch (chip->allocated_banks[i].alg_id) { in tpm_sysfs_add_device() 515 chip->allocated_banks[i].alg_id); in tpm_sysfs_add_device()
|
| A D | tpm2-cmd.c | 177 chip->allocated_banks[i].alg_id != digest->alg_id; i++) in tpm2_pcr_read() 193 tpm_buf_append_u16(&buf, digest->alg_id); in tpm2_pcr_read() 260 tpm_buf_append_u16(&buf, digests[i].alg_id); in tpm2_pcr_extend() 510 struct tpm_digest digest = { .alg_id = bank->alg_id }; in tpm2_init_bank_info() 520 if (bank->alg_id != tpm2_hash_map[i].tpm_id) in tpm2_init_bank_info() 596 chip->allocated_banks[nr_alloc_banks].alg_id = hash_alg; in tpm2_get_pcr_allocation()
|
| A D | tpm-interface.c | 325 if (digests[i].alg_id != chip->allocated_banks[i].alg_id) { in tpm_pcr_extend()
|
| A D | tpm1-cmd.c | 802 chip->allocated_banks[0].alg_id = TPM_ALG_SHA1; in tpm1_get_pcr_allocation()
|
| /linux/net/ipv6/ |
| 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()
|
| A D | seg6.c | 210 hinfo->alg_id = algid; in seg6_genl_sethmac() 302 nla_put_u8(msg, SEG6_ATTR_ALGID, hinfo->alg_id)) in __seg6_hmac_fill_info()
|
| /linux/net/xfrm/ |
| A D | xfrm_algo.c | 675 struct xfrm_algo_desc *xfrm_aalg_get_byid(int alg_id) in xfrm_aalg_get_byid() argument 678 (void *)(unsigned long)alg_id, 1); in xfrm_aalg_get_byid() 682 struct xfrm_algo_desc *xfrm_ealg_get_byid(int alg_id) in xfrm_ealg_get_byid() argument 685 (void *)(unsigned long)alg_id, 1); in xfrm_ealg_get_byid() 689 struct xfrm_algo_desc *xfrm_calg_get_byid(int alg_id) in xfrm_calg_get_byid() argument 692 (void *)(unsigned long)alg_id, 1); in xfrm_calg_get_byid()
|
| /linux/include/net/ |
| A D | seg6_hmac.h | 32 u8 alg_id; member 36 u8 alg_id; member
|
| A D | xfrm.h | 1701 struct xfrm_algo_desc *xfrm_aalg_get_byid(int alg_id); 1702 struct xfrm_algo_desc *xfrm_ealg_get_byid(int alg_id); 1703 struct xfrm_algo_desc *xfrm_calg_get_byid(int alg_id);
|
| /linux/include/linux/ |
| A D | tpm_eventlog.h | 80 u16 alg_id; member 229 halg_size = sizeof(event->digests[i].alg_id); in __calc_tpm2_event_size() 249 if (halg == efispecid->digest_sizes[j].alg_id) { in __calc_tpm2_event_size()
|
| A D | tpm.h | 53 u16 alg_id; member 58 u16 alg_id; member
|
| /linux/security/keys/trusted-keys/ |
| A D | trusted_tpm1.c | 1025 digests[i].alg_id = chip->allocated_banks[i].alg_id; in init_digests()
|
Completed in 35 milliseconds