Home
last modified time | relevance | path

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

/babblesim_ext_libCryptov1-latest/src/
Dblecrypt_unittest.c38 uint8_t skd_be[KEY_LEN]; in blecrypt_session_key_calc()
39 uint8_t ltk_be[KEY_LEN]; in blecrypt_session_key_calc()
42 blecrypt_reverse_byte_order(skd, skd_be, KEY_LEN); in blecrypt_session_key_calc()
43 blecrypt_reverse_byte_order(ltk, ltk_be, KEY_LEN); in blecrypt_session_key_calc()
59 uint8_t sk_le[KEY_LEN]; in test_session_key_calc()
65 blecrypt_reverse_byte_order(sk, sk_le, KEY_LEN); in test_session_key_calc()
66 if (memcmp(sk_le, expected_sk, KEY_LEN) != 0) in test_session_key_calc()
72 print_bytes(sk_le, KEY_LEN); in test_session_key_calc()
189 static const uint8_t ref_ltk[KEY_LEN] = {
214 static const uint8_t ref_sk[KEY_LEN] = {
[all …]
Dblecrypt.h19 #define KEY_LEN 16 macro
20 #define SKD_LEN KEY_LEN