go-attestation/attest
Eric Chiang f0e8d0fe7c attest: fix another unbounded memory allocation
@brandonweeks detected another case of the "make([]T, untrustedValue)"
pattern, which would allow an attacker to cause the parser to allocate
an unbounded amount of memory.

Fix this by reading one algorithm at a time instead of pre-allocating a
slice of algorithms.
2019-10-09 08:39:15 -07:00
..
attest-tool Rename AIK to AK everywhere 2019-10-09 08:56:19 +11:00
testdata Rename AIK to AK everywhere 2019-10-09 08:56:19 +11:00
activation_test.go Rename AIK to AK everywhere 2019-10-09 08:56:19 +11:00
activation.go ParseEventLog fuzz target 2019-10-09 10:05:21 +11:00
attest_simulated_tpm20_test.go Rename AIK to AK everywhere 2019-10-09 08:56:19 +11:00
attest_test.go Rename AIK to AK everywhere 2019-10-09 08:56:19 +11:00
attest_tpm12_test.go Rename AIK to AK everywhere 2019-10-09 08:56:19 +11:00
attest.go Rename AIK to AK everywhere 2019-10-09 08:56:19 +11:00
challenge_test.go Rename AIK to AK everywhere 2019-10-09 08:56:19 +11:00
challenge.go Rename AIK to AK everywhere 2019-10-09 08:56:19 +11:00
eventlog_fuzz.go ParseEventLog fuzz target 2019-10-09 10:05:21 +11:00
eventlog_test.go attest: fix another unbounded memory allocation 2019-10-09 08:39:15 -07:00
eventlog.go attest: fix another unbounded memory allocation 2019-10-09 08:39:15 -07:00
example_test.go Rename AIK to AK everywhere 2019-10-09 08:56:19 +11:00
key_linux.go ParseEventLog fuzz target 2019-10-09 10:05:21 +11:00
key_windows.go Rename AIK to AK everywhere 2019-10-09 08:56:19 +11:00
pcp_windows.go Rename AIK to AK everywhere 2019-10-09 08:56:19 +11:00
storage.go Refactor part 1: Refactor logic for keys into structs for each TPM/platform invariant. (#53) 2019-07-19 13:05:18 -07:00
tpm_linux.go ParseEventLog fuzz target 2019-10-09 10:05:21 +11:00
tpm_other.go ParseEventLog fuzz target 2019-10-09 10:05:21 +11:00
tpm_test.go attest: re-work EK API (#79) 2019-08-21 10:26:55 -07:00
tpm_windows.go Rename AIK to AK everywhere 2019-10-09 08:56:19 +11:00
tpm.go ParseEventLog fuzz target 2019-10-09 10:05:21 +11:00
vendors.go Update vendors list (#57) 2019-08-06 16:47:13 -07:00