Lines Matching refs:KEY_LEN
38 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] = {
288 uint8_t sk[KEY_LEN]; // sk is big-endian for OpenSSL in main()