mirror of
https://github.com/google/go-attestation.git
synced 2025-02-01 08:17:57 +00:00
9176b4bcb6
Crypto agile logs may contain digest types that we don't currently handle. However, we still need to know how long each digest is in order to read over the appropriate amount of the buffer. This information is provided to us as part of the spec header - make use of it rather than hardcoding the set of digests and lengths we know about.