Home
last modified time | relevance | path

Searched refs:cdi_attest (Results 1 – 14 of 14) sorted by relevance

/external/open-dice/src/
Dtemplate_cert_op_test.cc40 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 …]
Dcbor_p384_cert_op_test.cc41 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 …]
Dtemplate_cbor_cert_op_test.cc40 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 …]
Ddice_test.cc109 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 …]
Dmbedtls_ops_test.cc41 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 …]
Dcbor_cert_op_test.cc40 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 …]
Dboringssl_ed25519_ops_test.cc41 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 …]
Ddice.c45 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()
Dtest_utils.cc734 DumpToFile(filename, state.cdi_attest, DICE_CDI_SIZE); in DumpState()
/external/open-dice/src/android/
Dbcc_test.cc184 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 …]
Dbcc.c255 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/
Dtest_utils.h37 uint8_t cdi_attest[DICE_CDI_SIZE]; member
Ddice.h102 void* context, const uint8_t cdi_attest[DICE_CDI_SIZE],
/external/open-dice/include/dice/android/
Dbcc.h90 const uint8_t** cdi_attest,