Searched refs:desc_len (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/boot/efi/ |
D | measure.c | 23 UINTN desc_len; in tpm1_measure_to_pcr_and_event_log() local 28 desc_len = StrSize(description); in tpm1_measure_to_pcr_and_event_log() 29 tcg_event = xallocate_zero_pool(offsetof(TCG_PCR_EVENT, Event) + desc_len); in tpm1_measure_to_pcr_and_event_log() 31 .EventSize = desc_len, in tpm1_measure_to_pcr_and_event_log() 35 CopyMem(tcg_event->Event, description, desc_len); in tpm1_measure_to_pcr_and_event_log() 54 UINTN desc_len; in tpm2_measure_to_pcr_and_event_log() local 59 desc_len = StrSize(description); in tpm2_measure_to_pcr_and_event_log() 60 tcg_event = xallocate_zero_pool(offsetof(EFI_TCG2_EVENT, Event) + desc_len); in tpm2_measure_to_pcr_and_event_log() 62 .Size = offsetof(EFI_TCG2_EVENT, Event) + desc_len, in tpm2_measure_to_pcr_and_event_log() 69 CopyMem(tcg_event->Event, description, desc_len); in tpm2_measure_to_pcr_and_event_log()
|
/systemd-251/src/udev/fido_id/ |
D | fido_id.c | 36 ssize_t desc_len; in run() local 75 desc_len = read(fd, desc, sizeof(desc)); in run() 76 if (desc_len < 0) in run() 79 if (desc_len == 0) in run() 83 r = is_fido_security_token_desc(desc, desc_len); in run()
|
D | fido_id_desc.c | 31 int is_fido_security_token_desc(const uint8_t *desc, size_t desc_len) { in is_fido_security_token_desc() argument 34 for (size_t pos = 0; pos < desc_len; ) { in is_fido_security_token_desc() 45 if (pos + 1 >= desc_len) in is_fido_security_token_desc() 63 if (pos + size > desc_len) in is_fido_security_token_desc()
|
D | fido_id_desc.h | 8 int is_fido_security_token_desc(const uint8_t *desc, size_t desc_len);
|