Searched refs:alg_id (Results 1 – 13 of 13) sorted by relevance
| /Linux-v5.4/net/ipv6/ |
| D | seg6_hmac.c | 77 .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()
|
| D | seg6.c | 144 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/ |
| D | seg6_hmac.h | 32 u8 alg_id; member 36 u8 alg_id; member
|
| D | xfrm.h | 1685 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/ |
| 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-v5.4/include/linux/ |
| D | tpm_eventlog.h | 80 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()
|
| D | tpm.h | 45 u16 alg_id; member 50 u16 alg_id; member
|
| /Linux-v5.4/drivers/char/tpm/ |
| D | tpm2-cmd.c | 191 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()
|
| D | tpm-interface.c | 324 if (digests[i].alg_id != chip->allocated_banks[i].alg_id) { in tpm_pcr_extend()
|
| D | tpm1-cmd.c | 787 chip->allocated_banks[0].alg_id = TPM_ALG_SHA1; in tpm1_get_pcr_allocation()
|
| /Linux-v5.4/security/integrity/ima/ |
| D | ima_queue.c | 231 digests[i].alg_id = ima_tpm_chip->allocated_banks[i].alg_id; in ima_init_digests()
|
| D | ima_crypto.c | 663 struct tpm_digest d = { .alg_id = TPM_ALG_SHA1, .digest = {0} }; in ima_calc_boot_aggregate_tfm()
|
| /Linux-v5.4/security/keys/ |
| D | trusted.c | 1239 digests[i].alg_id = chip->allocated_banks[i].alg_id; in init_digests()
|