Home
last modified time | relevance | path

Searched refs:cdi_seal (Results 1 – 12 of 12) 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()
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 …]
Ddice_test.cc110 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 …]
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()
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 …]
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()
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 …]
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()
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 …]
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()
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 …]
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()
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 …]
Dtest_utils.cc736 DumpToFile(filename, state.cdi_seal, DICE_CDI_SIZE); in DumpState()
/external/open-dice/src/android/
Dbcc_test.cc185 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 …]
Dbcc.c256 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/
Dtest_utils.h38 uint8_t cdi_seal[DICE_CDI_SIZE]; member
/external/open-dice/include/dice/android/
Dbcc.h91 const uint8_t** cdi_seal, const uint8_t** bcc,