Home
last modified time | relevance | path

Searched refs:bcc_size (Results 1 – 8 of 8) sorted by relevance

/trusty/user/base/lib/hwbcc/test/
Dmain.cpp85 size_t bcc_size = 0; in TEST_F() local
92 rc = swbcc_get_bcc(_state->s, true, bcc, sizeof(bcc), &bcc_size); in TEST_F()
94 ASSERT_GT(bcc_size, 0); in TEST_F()
96 ASSERT_EQ(validate_bcc_impl(bcc, bcc_size, &keys), true); in TEST_F()
114 size_t bcc_size; in TEST() local
125 &cose_sign1_size, bcc, sizeof(bcc), &bcc_size); in TEST()
129 ASSERT_GT(bcc_size, 0); in TEST()
131 ASSERT_EQ(validate_bcc_impl(bcc, bcc_size, &keys1), true); in TEST()
140 &cose_sign1_size, bcc, sizeof(bcc), &bcc_size); in TEST()
144 ASSERT_GT(bcc_size, 0); in TEST()
[all …]
/trusty/user/base/lib/hwbcc/common/include/lib/hwbcc/common/
Dcommon.h39 size_t bcc_size,
53 size_t bcc_size,
Dswbcc.h67 size_t* bcc_size);
/trusty/user/base/lib/hwbcc/client/
Dhwbcc.c193 size_t* bcc_size) { in get_bcc() argument
197 assert(bcc_size); in get_bcc()
215 return recv_resp(chan, &hdr, bcc, bcc_buf_size, bcc_size); in get_bcc()
229 size_t* bcc_size) { in hwbcc_get_protected_data() argument
246 rc = get_bcc(chan, test_mode, bcc, bcc_buf_size, bcc_size); in hwbcc_get_protected_data()
/trusty/user/base/lib/hwbcc/client/include/lib/hwbcc/client/
Dhwbcc.h59 size_t* bcc_size);
/trusty/user/base/lib/hwbcc/common/
Dcommon.cpp204 size_t bcc_size, in validate_bcc() argument
209 if (!validate_bcc_impl(bcc, bcc_size, &keys)) { in validate_bcc()
227 size_t bcc_size, in validate_bcc_impl() argument
235 auto [parsed_bcc, _, err_msg] = cppbor::parse(bcc, bcc_size); in validate_bcc_impl()
Dswbcc.c410 size_t* bcc_size) { in swbcc_get_bcc() argument
421 assert(bcc_size); in swbcc_get_bcc()
440 *bcc_size = bcc_used; in swbcc_get_bcc()
453 *bcc_size += bcc_used; in swbcc_get_bcc()
463 *bcc_size += bcc_used; in swbcc_get_bcc()
/trusty/user/base/lib/hwbcc/srv/include/lib/hwbcc/srv/
Dsrv.h67 size_t* bcc_size);