Searched refs:keys_are_sufficiently_distinct (Results 1 – 3 of 3) sorted by relevance
/trusty/user/base/lib/hwkey/rust/src/ |
D | test.rs | 40 fn keys_are_sufficiently_distinct(key1: &[u8], key2: &[u8]) -> bool { in keys_are_sufficiently_distinct() function 89 assert!(keys_are_sufficiently_distinct(buf, buf2)); in test_hwkey_derive_repeatable_versioned() 107 assert!(keys_are_sufficiently_distinct(buf, buf2)) in test_hwkey_derive_repeatable_versioned() 141 assert!(keys_are_sufficiently_distinct(buf1, buf2)); in test_hwkey_derive_different_default() 179 assert!(keys_are_sufficiently_distinct(buf1, buf2)); in test_hwkey_derive_different_specified() 202 assert!(keys_are_sufficiently_distinct(buf1, buf2)); in test_hwkey_derive_different_specified() 219 assert!(keys_are_sufficiently_distinct(buf1, buf_shared)); in test_hwkey_derive_different_specified() 220 assert!(keys_are_sufficiently_distinct(buf2, buf_shared)); in test_hwkey_derive_different_specified() 238 assert!(keys_are_sufficiently_distinct(buf1, buf_shared2)); in test_hwkey_derive_different_specified() 239 assert!(keys_are_sufficiently_distinct(buf2, buf_shared2)); in test_hwkey_derive_different_specified() [all …]
|
/trusty/user/app/sample/hwcrypto-unittest/ |
D | main.c | 70 static bool keys_are_sufficiently_distinct(uint8_t* buf1, in keys_are_sufficiently_distinct() function 195 EXPECT_EQ(true, keys_are_sufficiently_distinct(dest, size, dest2, size), in TEST_F() 211 EXPECT_EQ(true, keys_are_sufficiently_distinct(dest, size, dest2, size), in TEST_F() 317 EXPECT_EQ(true, keys_are_sufficiently_distinct(dest, size, dest2, size), in TEST_F() 378 EXPECT_EQ(true, keys_are_sufficiently_distinct(dest, size, dest2, size), in TEST_F() 406 EXPECT_EQ(true, keys_are_sufficiently_distinct(dest, size, dest2, size), in TEST_F() 433 keys_are_sufficiently_distinct(dest, size, dest_shared, size), in TEST_F() 436 keys_are_sufficiently_distinct(dest2, size, dest_shared, size), in TEST_F() 465 keys_are_sufficiently_distinct(dest, size, dest_shared, size), in TEST_F() 468 keys_are_sufficiently_distinct(dest2, size, dest_shared, size), in TEST_F() [all …]
|
/trusty/user/app/sample/hwcryptokey-test/ |
D | versioned_keys_explicit.rs | 72 fn keys_are_sufficiently_distinct(key1: Vec<u8>, key2: Vec<u8>) -> bool { in keys_are_sufficiently_distinct() function 358 keys_are_sufficiently_distinct(derived_key2, derived_key1), in explicit_keys_unique_by_context() 464 keys_are_sufficiently_distinct(derived_key1, derived_key2), in large_context()
|