Home
last modified time | relevance | path

Searched refs:dk_pub_key (Results 1 – 4 of 4) sorted by relevance

/trusty/user/base/lib/hwbcc/rust/src/
Dtest.rs114 let dk_pub_key = &mut [0u8; ED25519_PUBLIC_KEY_LEN as usize]; in test_get_bcc_test_mode() localVariable
124 dk_pub_key as *mut [u8; ED25519_PUBLIC_KEY_LEN as usize], in test_get_bcc_test_mode()
152 assert_ne!(dk_pub_key, dk_pub_key2); in test_get_bcc_test_mode()
175 let dk_pub_key = &mut [0u8; ED25519_PUBLIC_KEY_LEN as usize]; in test_get_bcc() localVariable
185 dk_pub_key as *mut [u8; ED25519_PUBLIC_KEY_LEN as usize], in test_get_bcc()
190 assert_eq!(EMULATOR_PUB_KEY, dk_pub_key); in test_get_bcc()
191 assert_eq!(dk_pub_key, km_pub_key); in test_get_bcc()
/trusty/user/base/lib/hwbcc/test/
Dmain.cpp87 uint8_t* dk_pub_key; in TEST_F() local
101 dk_pub_key = keys[0].data(); in TEST_F()
103 ASSERT_EQ(memcmp(dk_pub_key, km_pub_key, ED25519_PUBLIC_KEY_LEN), 0); in TEST_F()
184 uint8_t* dk_pub_key; in TEST() local
202 dk_pub_key = keys[0].data(); in TEST()
204 ASSERT_EQ(memcmp(emulator_pub_key, dk_pub_key, ED25519_PUBLIC_KEY_LEN), 0); in TEST()
205 ASSERT_EQ(memcmp(dk_pub_key, km_pub_key, ED25519_PUBLIC_KEY_LEN), 0); in TEST()
/trusty/user/base/lib/hwbcc/common/
Dcommon.cpp205 uint8_t dk_pub_key[ED25519_PUBLIC_KEY_LEN], in validate_bcc()
219 std::copy(keys[0].begin(), keys[0].end(), dk_pub_key); in validate_bcc()
249 PubKey dk_pub_key; in validate_bcc_impl() local
252 CHECK(validate_pub_key_ed25519(dk_pub, &dk_pub_key)); in validate_bcc_impl()
253 CHECK(validate_bcc_entry(bcc_entry, dk_pub_key, &km_pub_key)); in validate_bcc_impl()
255 keys->push_back(dk_pub_key); in validate_bcc_impl()
/trusty/user/base/lib/hwbcc/common/include/lib/hwbcc/common/
Dcommon.h54 uint8_t dk_pub_key[ED25519_PUBLIC_KEY_LEN],