Home
last modified time | relevance | path

Searched refs:test_mode (Results 1 – 9 of 9) sorted by relevance

/trusty/user/base/lib/hwbcc/client/
Dhwbcc.c95 uint8_t test_mode, in sign_data() argument
133 req.hdr.test_mode = test_mode; in sign_data()
190 uint8_t test_mode, in get_bcc() argument
201 .test_mode = test_mode in get_bcc()
218 int hwbcc_get_protected_data(uint8_t test_mode, in hwbcc_get_protected_data() argument
239 rc = sign_data(chan, test_mode, cose_algorithm, data, data_size, aad, in hwbcc_get_protected_data()
246 rc = get_bcc(chan, test_mode, bcc, bcc_buf_size, bcc_size); in hwbcc_get_protected_data()
/trusty/user/base/lib/hwbcc/srv/include/lib/hwbcc/srv/
Dsrv.h54 uint32_t test_mode,
64 uint32_t test_mode,
/trusty/user/base/lib/hwbcc/common/include/lib/hwbcc/common/
Dswbcc.h53 uint32_t test_mode,
64 uint32_t test_mode,
/trusty/user/base/lib/hwbcc/rust/src/
Dlib.rs77 test_mode: HwBccMode, field
91 serializer.serialize_as_bytes(&self.test_mode)?; in serialize()
281 session.send(&BccMsgHeader { cmd, test_mode: HwBccMode::Release, context })?; in get_dice_artifacts()
312 session.send(&BccMsgHeader { cmd, test_mode: HwBccMode::Release, context: 0 })?; in ns_deprivilege()
334 pub fn get_bcc<'a>(test_mode: HwBccMode, bcc: &'a mut [u8]) -> Result<&'a [u8], HwBccError> { in get_bcc()
344 session.send(&BccMsgHeader { cmd, test_mode, context: 0 })?; in get_bcc()
371 test_mode: HwBccMode, in sign_data()
392 SignDataMsg::new(BccMsgHeader { cmd, test_mode, context: 0 }, cose_algorithm, data, aad); in sign_data()
/trusty/user/base/lib/hwbcc/srv/
Dsrv.c137 uint32_t test_mode, in handle_sign_data() argument
146 rc = hwbcc_ops->sign_key(s, test_mode, args->algorithm, data_and_aad, in handle_sign_data()
171 uint32_t test_mode) { in handle_get_bcc() argument
178 rc = hwbcc_ops->get_bcc(s, test_mode, resp.payload, sizeof(resp.payload), in handle_get_bcc()
288 return handle_sign_data(s, chan, req.hdr.test_mode, &req.args, in on_message()
297 return handle_get_bcc(s, chan, req.hdr.test_mode); in on_message()
/trusty/user/base/lib/hwbcc/client/include/lib/hwbcc/client/
Dhwbcc.h48 int hwbcc_get_protected_data(uint8_t test_mode,
/trusty/user/base/interface/hwbcc/include/interface/hwbcc/
Dhwbcc.h62 uint32_t test_mode; member
/trusty/user/base/lib/hwbcc/common/
Dswbcc.c308 uint32_t test_mode, in swbcc_sign_key() argument
334 signing_key = test_mode ? session->test_priv_key : session->priv_key; in swbcc_sign_key()
407 uint32_t test_mode, in swbcc_get_bcc() argument
424 if (test_mode) { in swbcc_get_bcc()
/trusty/user/base/lib/unittest-rust/src/
Dtypes.rs187 pub fn test_mode(&self) -> Option<&'static str> { in test_mode() method