/external/open-dice/src/ |
D | template_cert_op_test.cc | 40 NULL, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 42 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() 46 EXPECT_EQ(0, memcmp(next_state.cdi_seal, in TEST() 57 DeriveFakeInputValue("cdi_seal", DICE_CDI_SIZE, current_state.cdi_seal); in TEST() 68 NULL, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 70 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() 76 0, memcmp(next_state.cdi_seal, dice::test::kExpectedCdiSeal_HashOnlyInput, in TEST() 92 NULL, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 94 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() 107 NULL, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() [all …]
|
D | dice_test.cc | 110 uint8_t cdi_seal[DICE_CDI_SIZE]; member 121 &ops, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 123 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() 127 EXPECT_EQ(0, memcmp(next_state.cdi_seal, in TEST() 139 &ops, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 141 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() 152 &ops, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 154 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() 165 &ops, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 167 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() [all …]
|
D | cbor_p384_cert_op_test.cc | 41 NULL, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 43 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() 51 ASSERT_EQ(sizeof(next_state.cdi_seal), in TEST() 53 EXPECT_EQ(0, memcmp(next_state.cdi_seal, in TEST() 67 DeriveFakeInputValue("cdi_seal", DICE_CDI_SIZE, current_state.cdi_seal); in TEST() 78 NULL, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 80 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() 88 ASSERT_EQ(sizeof(next_state.cdi_seal), in TEST() 91 0, memcmp(next_state.cdi_seal, dice::test::kExpectedCdiSeal_HashOnlyInput, in TEST() 103 DeriveFakeInputValue("cdi_seal", DICE_CDI_SIZE, current_state.cdi_seal); in TEST() [all …]
|
D | template_cbor_cert_op_test.cc | 40 NULL, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 42 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() 47 EXPECT_EQ(0, memcmp(next_state.cdi_seal, in TEST() 58 DeriveFakeInputValue("cdi_seal", DICE_CDI_SIZE, current_state.cdi_seal); in TEST() 69 NULL, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 71 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() 78 0, memcmp(next_state.cdi_seal, dice::test::kExpectedCdiSeal_HashOnlyInput, in TEST() 94 NULL, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 96 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() 109 NULL, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() [all …]
|
D | mbedtls_ops_test.cc | 41 NULL, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 43 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() 49 EXPECT_EQ(0, memcmp(next_state.cdi_seal, in TEST() 60 DeriveFakeInputValue("cdi_seal", DICE_CDI_SIZE, current_state.cdi_seal); in TEST() 71 NULL, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 73 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() 81 0, memcmp(next_state.cdi_seal, dice::test::kExpectedCdiSeal_HashOnlyInput, in TEST() 92 DeriveFakeInputValue("cdi_seal", DICE_CDI_SIZE, current_state.cdi_seal); in TEST() 119 NULL, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 121 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() [all …]
|
D | cbor_cert_op_test.cc | 40 NULL, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 42 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() 48 EXPECT_EQ(0, memcmp(next_state.cdi_seal, in TEST() 59 DeriveFakeInputValue("cdi_seal", DICE_CDI_SIZE, current_state.cdi_seal); in TEST() 70 NULL, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 72 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() 81 0, memcmp(next_state.cdi_seal, dice::test::kExpectedCdiSeal_HashOnlyInput, in TEST() 92 DeriveFakeInputValue("cdi_seal", DICE_CDI_SIZE, current_state.cdi_seal); in TEST() 119 NULL, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 121 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() [all …]
|
D | boringssl_ed25519_ops_test.cc | 41 NULL, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 43 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() 49 EXPECT_EQ(0, memcmp(next_state.cdi_seal, in TEST() 60 DeriveFakeInputValue("cdi_seal", DICE_CDI_SIZE, current_state.cdi_seal); in TEST() 71 NULL, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 73 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() 82 0, memcmp(next_state.cdi_seal, dice::test::kExpectedCdiSeal_HashOnlyInput, in TEST() 93 DeriveFakeInputValue("cdi_seal", DICE_CDI_SIZE, current_state.cdi_seal); in TEST() 120 NULL, current_state.cdi_attest, current_state.cdi_seal, &input_values, in TEST() 122 &next_state.certificate_size, next_state.cdi_attest, next_state.cdi_seal); in TEST() [all …]
|
D | test_utils.cc | 736 DumpToFile(filename, state.cdi_seal, DICE_CDI_SIZE); in DumpState()
|
/external/open-dice/src/android/ |
D | bcc_test.cc | 185 const uint8_t *cdi_seal; in TEST() local 189 &cdi_attest, &cdi_seal, &bcc, &bcc_size); in TEST() 192 EXPECT_EQ(bcc_handover + 39, cdi_seal); in TEST() 211 const uint8_t *cdi_seal; in TEST() local 215 &cdi_attest, &cdi_seal, &bcc, &bcc_size); in TEST() 218 EXPECT_EQ(bcc_handover + 39, cdi_seal); in TEST() 239 const uint8_t *cdi_seal; in TEST() local 243 &cdi_attest, &cdi_seal, &bcc, &bcc_size); in TEST() 246 EXPECT_EQ(bcc_handover + 39, cdi_seal); in TEST() 265 const uint8_t *cdi_seal; in TEST() local [all …]
|
D | bcc.c | 256 const uint8_t** cdi_seal, const uint8_t** bcc, in BccHandoverParse() argument 279 CborReadBstr(&in, &item_size, cdi_seal) != CBOR_READ_RESULT_OK || in BccHandoverParse()
|
/external/open-dice/include/dice/ |
D | test_utils.h | 38 uint8_t cdi_seal[DICE_CDI_SIZE]; member
|
/external/open-dice/include/dice/android/ |
D | bcc.h | 91 const uint8_t** cdi_seal, const uint8_t** bcc,
|