Lines Matching full:bcc
15 #include "dice/android/bcc.h"
56 const uint8_t bcc[] = { in TEST() local
57 // Fake BCC with the root public key and two entries. in TEST()
62 // Fake BCC entry. in TEST()
64 // Fake BCC entry. in TEST()
66 // 8-bytes of trailing data that aren't part of the BCC. in TEST()
76 BccMainFlow(/*context=*/NULL, fake_cdi_attest, fake_cdi_seal, bcc, in TEST()
77 sizeof(bcc), &input_values, sizeof(next_bcc), next_bcc, in TEST()
80 EXPECT_GT(next_bcc_size, sizeof(bcc)); in TEST()
82 EXPECT_NE(0, memcmp(next_bcc + 1, bcc + 1, sizeof(bcc) - 1)); in TEST()
83 EXPECT_EQ(0, memcmp(next_bcc + 1, bcc + 1, sizeof(bcc) - 8 - 1)); in TEST()
97 // BCC in TEST()
100 // 8-bytes of trailing data that aren't part of the BCC. in TEST()
129 // 8-bytes of trailing data that aren't part of the BCC. in TEST()
155 // 8-bytes of trailing data that aren't part of the BCC. in TEST()
179 // BCC in TEST()
182 // 8-bytes of trailing data that aren't part of the BCC. in TEST()
186 const uint8_t *bcc; in TEST() local
189 &cdi_attest, &cdi_seal, &bcc, &bcc_size); in TEST()
193 EXPECT_EQ(bcc_handover + 72, bcc); in TEST()
208 // 8-bytes of trailing data that aren't part of the BCC. in TEST()
212 const uint8_t *bcc; in TEST() local
215 &cdi_attest, &cdi_seal, &bcc, &bcc_size); in TEST()
219 EXPECT_EQ(nullptr, bcc); in TEST()
236 // 8-bytes of trailing data that aren't part of the BCC. in TEST()
240 const uint8_t *bcc; in TEST() local
243 &cdi_attest, &cdi_seal, &bcc, &bcc_size); in TEST()
247 EXPECT_EQ(nullptr, bcc); in TEST()
262 // 8-bytes of trailing data that aren't part of the BCC. in TEST()
266 const uint8_t *bcc; in TEST() local
269 &cdi_attest, &cdi_seal, &bcc, &bcc_size); in TEST()