Home
last modified time | relevance | path

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

/Linux-v5.4/net/ipv6/
Dseg6_hmac.c77 .alg_id = SEG6_HMAC_ALGO_SHA1,
81 .alg_id = SEG6_HMAC_ALGO_SHA256,
105 static struct seg6_hmac_algo *__hmac_get_algo(u8 alg_id) in __hmac_get_algo() argument
113 if (algo->alg_id == alg_id) in __hmac_get_algo()
128 algo = __hmac_get_algo(hinfo->alg_id); in __do_hmac()
Dseg6.c144 hinfo->alg_id = algid; in seg6_genl_sethmac()
236 nla_put_u8(msg, SEG6_ATTR_ALGID, hinfo->alg_id)) in __seg6_hmac_fill_info()
/Linux-v5.4/include/net/
Dseg6_hmac.h32 u8 alg_id; member
36 u8 alg_id; member
Dxfrm.h1685 struct xfrm_algo_desc *xfrm_aalg_get_byid(int alg_id);
1686 struct xfrm_algo_desc *xfrm_ealg_get_byid(int alg_id);
1687 struct xfrm_algo_desc *xfrm_calg_get_byid(int alg_id);
/Linux-v5.4/net/xfrm/
Dxfrm_algo.c675 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-v5.4/include/linux/
Dtpm_eventlog.h80 u16 alg_id; member
210 halg_size = sizeof(event->digests[i].alg_id); in __calc_tpm2_event_size()
230 if (halg == efispecid->digest_sizes[j].alg_id) { in __calc_tpm2_event_size()
Dtpm.h45 u16 alg_id; member
50 u16 alg_id; member
/Linux-v5.4/drivers/char/tpm/
Dtpm2-cmd.c191 chip->allocated_banks[i].alg_id != digest->alg_id; i++) in tpm2_pcr_read()
207 tpm_buf_append_u16(&buf, digest->alg_id); in tpm2_pcr_read()
274 tpm_buf_append_u16(&buf, digests[i].alg_id); in tpm2_pcr_extend()
816 struct tpm_digest digest = { .alg_id = bank->alg_id }; in tpm2_init_bank_info()
826 if (bank->alg_id != tpm2_hash_map[i].tpm_id) in tpm2_init_bank_info()
900 chip->allocated_banks[nr_alloc_banks].alg_id = hash_alg; in tpm2_get_pcr_allocation()
Dtpm-interface.c324 if (digests[i].alg_id != chip->allocated_banks[i].alg_id) { in tpm_pcr_extend()
Dtpm1-cmd.c787 chip->allocated_banks[0].alg_id = TPM_ALG_SHA1; in tpm1_get_pcr_allocation()
/Linux-v5.4/security/integrity/ima/
Dima_queue.c231 digests[i].alg_id = ima_tpm_chip->allocated_banks[i].alg_id; in ima_init_digests()
Dima_crypto.c663 struct tpm_digest d = { .alg_id = TPM_ALG_SHA1, .digest = {0} }; in ima_calc_boot_aggregate_tfm()
/Linux-v5.4/security/keys/
Dtrusted.c1239 digests[i].alg_id = chip->allocated_banks[i].alg_id; in init_digests()