Searched refs:km_pub_key (Results 1 – 4 of 4) sorted by relevance
/trusty/user/base/lib/hwbcc/rust/src/ |
D | test.rs | 115 let km_pub_key = &mut [0u8; ED25519_PUBLIC_KEY_LEN as usize]; in test_get_bcc_test_mode() localVariable 125 km_pub_key as *mut [u8; ED25519_PUBLIC_KEY_LEN as usize], in test_get_bcc_test_mode() 153 assert_ne!(km_pub_key, km_pub_key2); in test_get_bcc_test_mode() 176 let km_pub_key = &mut [0u8; ED25519_PUBLIC_KEY_LEN as usize]; in test_get_bcc() localVariable 186 km_pub_key as *mut [u8; ED25519_PUBLIC_KEY_LEN as usize], in test_get_bcc() 191 assert_eq!(dk_pub_key, km_pub_key); in test_get_bcc()
|
/trusty/user/base/lib/hwbcc/test/ |
D | main.cpp | 88 uint8_t* km_pub_key; in TEST_F() local 102 km_pub_key = keys[1].data(); in TEST_F() 103 ASSERT_EQ(memcmp(dk_pub_key, km_pub_key, ED25519_PUBLIC_KEY_LEN), 0); in TEST_F() 185 uint8_t* km_pub_key; in TEST() local 203 km_pub_key = keys[1].data(); 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/ |
D | common.cpp | 206 uint8_t km_pub_key[ED25519_PUBLIC_KEY_LEN]) { in validate_bcc() 220 std::copy(keys[1].begin(), keys[1].end(), km_pub_key); in validate_bcc() 250 PubKey km_pub_key; in validate_bcc_impl() local 253 CHECK(validate_bcc_entry(bcc_entry, dk_pub_key, &km_pub_key)); in validate_bcc_impl() 256 keys->push_back(km_pub_key); in validate_bcc_impl()
|
/trusty/user/base/lib/hwbcc/common/include/lib/hwbcc/common/ |
D | common.h | 55 uint8_t km_pub_key[ED25519_PUBLIC_KEY_LEN]);
|