Home
last modified time | relevance | path

Searched refs:HwBccMode (Results 1 – 3 of 3) sorted by relevance

/trusty/user/base/lib/hwbcc/rust/src/
Dtest.rs110 let bcc = get_bcc(HwBccMode::Test, &mut bcc_buf).expect("could not get bcc"); in test_get_bcc_test_mode()
132 let bcc = get_bcc(HwBccMode::Test, &mut bcc_buf).expect("could not get bcc"); in test_get_bcc_test_mode()
171 let bcc = get_bcc(HwBccMode::Release, &mut bcc_buf).expect("could not get bcc"); in test_get_bcc()
199 HwBccMode::Test, in test_sign_data_test_mode()
216 HwBccMode::Release, in test_sign_data()
Dlib.rs77 test_mode: HwBccMode,
204 pub enum HwBccMode { enum
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() argument
371 test_mode: HwBccMode, in sign_data() argument
/trusty/user/app/keymint/
Drpc.rs19 use hwbcc::{get_bcc, sign_data, HwBccMode, SigningAlgorithm, HWBCC_MAX_RESP_PAYLOAD_LENGTH};
56 let bcc = get_bcc(HwBccMode::Release, &mut bcc_buf) in get_dice_info()
102 HwBccMode::Release, in sign_data_in_cose_sign1()