Remove RawPayload

Rewrite the remaining functions that used it on top of
check_sign1_chain().

Delete a couple of tests for the deleted code; the behavior we care
about is still covered by the remaining tests. Also modified all the
tests to use `foo?` rather than `assert!(foo.is_ok())`; that way we
get to see the error messages if they fail.

Move test files from testdata/open-dice to testdata/bcc and modify
them to contain certs that are valid bcc and not just valid for
open-dice (i.e. have valid configuration descriptors). The 7
standalone certs were extraced from testdata/bcc/valid.chain via a set
of carefully crafted dd commands; the array is the concatenation of
byte 0x83 (CBOR "array of 3") followed by the first 3 certs.

Bug: 225177477
Bug: 235075115
Test: atest libcert_request_validator_tests
Change-Id: Ic430a1e51347788f2174f073cdcc11e551c96b18
18 files changed
tree: cf8e9185d47aa08777263af888ce6a6a54da4ffd
  1. fuzzing/
  2. gdb/
  3. remote_provisioning/
  4. sanitizer-status/
  5. CleanSpec.mk
  6. OWNERS
  7. PREUPLOAD.cfg