attestation: Implement the attestation database.

This database format is compatible with the current database used by
cryptohome. This CL does not include the TPM functions required to
decrypt an actual database so its testing is limited to unit tests.

BUG=brillo:737
TEST=unit

Change-Id: I97b3cbd60159a01e318aad738ce178af54505a71
Reviewed-on: https://chromium-review.googlesource.com/265551
Reviewed-by: Utkarsh Sanghi <[email protected]>
Reviewed-by: Alex Vakulenko <[email protected]>
Commit-Queue: Darren Krahn <[email protected]>
Tested-by: Darren Krahn <[email protected]>
14 files changed
tree: 7f1d65c0a5315c3e69897cc7c18e3255e35b01d2
  1. client/
  2. common/
  3. server/
  4. attestation.gyp
  5. attestation_testrunner.cc
  6. OWNERS