/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() 44 EXPECT_EQ(0, memcmp(next_state.cdi_attest, in TEST() 56 DeriveFakeInputValue("cdi_attest", DICE_CDI_SIZE, current_state.cdi_attest); 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() 73 0, memcmp(next_state.cdi_attest, 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 | 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() 47 ASSERT_EQ(sizeof(next_state.cdi_attest), in TEST() 49 EXPECT_EQ(0, memcmp(next_state.cdi_attest, in TEST() 66 DeriveFakeInputValue("cdi_attest", DICE_CDI_SIZE, current_state.cdi_attest); 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() 83 ASSERT_EQ(sizeof(next_state.cdi_attest), in TEST() 86 0, memcmp(next_state.cdi_attest, in TEST() 102 DeriveFakeInputValue("cdi_attest", DICE_CDI_SIZE, current_state.cdi_attest); 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() 45 EXPECT_EQ(0, memcmp(next_state.cdi_attest, in TEST() 57 DeriveFakeInputValue("cdi_attest", DICE_CDI_SIZE, current_state.cdi_attest); 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() 75 0, memcmp(next_state.cdi_attest, 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 | dice_test.cc | 109 uint8_t cdi_attest[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() 125 EXPECT_EQ(0, memcmp(next_state.cdi_attest, 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 | 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() 47 EXPECT_EQ(0, memcmp(next_state.cdi_attest, in TEST() 59 DeriveFakeInputValue("cdi_attest", DICE_CDI_SIZE, current_state.cdi_attest); 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() 78 0, memcmp(next_state.cdi_attest, in TEST() 91 DeriveFakeInputValue("cdi_attest", DICE_CDI_SIZE, current_state.cdi_attest); 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() 46 EXPECT_EQ(0, memcmp(next_state.cdi_attest, in TEST() 58 DeriveFakeInputValue("cdi_attest", DICE_CDI_SIZE, current_state.cdi_attest); 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() 78 0, memcmp(next_state.cdi_attest, in TEST() 91 DeriveFakeInputValue("cdi_attest", DICE_CDI_SIZE, current_state.cdi_attest); 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() 47 EXPECT_EQ(0, memcmp(next_state.cdi_attest, in TEST() 59 DeriveFakeInputValue("cdi_attest", DICE_CDI_SIZE, current_state.cdi_attest); 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() 79 0, memcmp(next_state.cdi_attest, in TEST() 92 DeriveFakeInputValue("cdi_attest", DICE_CDI_SIZE, current_state.cdi_attest); 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 | dice.c | 45 void* context, const uint8_t cdi_attest[DICE_CDI_SIZE], in DiceDeriveCdiPrivateKeySeed() 48 return DiceKdf(context, /*length=*/DICE_PRIVATE_KEY_SEED_SIZE, cdi_attest, in DiceDeriveCdiPrivateKeySeed()
|
D | test_utils.cc | 734 DumpToFile(filename, state.cdi_attest, DICE_CDI_SIZE); in DumpState()
|
/external/open-dice/src/android/ |
D | bcc_test.cc | 184 const uint8_t *cdi_attest; in TEST() local 189 &cdi_attest, &cdi_seal, &bcc, &bcc_size); in TEST() 191 EXPECT_EQ(bcc_handover + 4, cdi_attest); in TEST() 210 const uint8_t *cdi_attest; in TEST() local 215 &cdi_attest, &cdi_seal, &bcc, &bcc_size); in TEST() 217 EXPECT_EQ(bcc_handover + 4, cdi_attest); in TEST() 238 const uint8_t *cdi_attest; in TEST() local 243 &cdi_attest, &cdi_seal, &bcc, &bcc_size); in TEST() 245 EXPECT_EQ(bcc_handover + 4, cdi_attest); in TEST() 264 const uint8_t *cdi_attest; in TEST() local [all …]
|
D | bcc.c | 255 const uint8_t** cdi_attest, in BccHandoverParse() argument 274 CborReadBstr(&in, &item_size, cdi_attest) != CBOR_READ_RESULT_OK || in BccHandoverParse()
|
/external/open-dice/include/dice/ |
D | test_utils.h | 37 uint8_t cdi_attest[DICE_CDI_SIZE]; member
|
D | dice.h | 102 void* context, const uint8_t cdi_attest[DICE_CDI_SIZE],
|
/external/open-dice/include/dice/android/ |
D | bcc.h | 90 const uint8_t** cdi_attest,
|