Home
last modified time | relevance | path

Searched refs:UNITTEST_DERIVED_KEYSLOT (Results 1 – 2 of 2) sorted by relevance

/trusty/user/app/sample/hwcrypto-unittest/
Dmain.c59 static const uint8_t UNITTEST_DERIVED_KEYSLOT[] = variable
829 uint8_t dest[sizeof(UNITTEST_DERIVED_KEYSLOT) - 1]; in TEST_F()
837 rc = memcmp(UNITTEST_DERIVED_KEYSLOT, dest, in TEST_F()
838 sizeof(UNITTEST_DERIVED_KEYSLOT) - 1); in TEST_F()
1079 uint8_t key_buf[sizeof(UNITTEST_DERIVED_KEYSLOT) - 1]; in TEST_F()
1086 rc = memcmp(UNITTEST_DERIVED_KEYSLOT, key_buf, sizeof(key_buf)); in TEST_F()
/trusty/user/base/lib/hwkey/rust/src/
Dtest.rs34 const UNITTEST_DERIVED_KEYSLOT: &'static [u8] = b"unittestderivedkeyslotunittestde"; constant
505 assert_eq!(UNITTEST_DERIVED_KEYSLOT, keyslot_res.expect("could not get keyslot data")) in test_get_derived_keybox()
716 assert_eq!(UNITTEST_DERIVED_KEYSLOT, keyslot_data) in test_get_opaque_derived_key()