• Home
  • Raw
  • Download

Lines Matching refs:Octet16

29 Octet16 h6(const Octet16& w, std::array<uint8_t, 4> keyid) {  in h6()
33 Octet16 h7(const Octet16& salt, const Octet16& w) { in h7()
37 Octet16 f4(uint8_t* u, uint8_t* v, const Octet16& x, uint8_t z) { in f4()
55 static Octet16 calculate_mac_key_or_ltk(const Octet16& t, uint8_t counter, in calculate_mac_key_or_ltk()
56 uint8_t* key_id, const Octet16& n1, in calculate_mac_key_or_ltk()
57 const Octet16& n2, uint8_t* a1, in calculate_mac_key_or_ltk()
76 void f5(uint8_t* w, const Octet16& n1, const Octet16& n2, uint8_t* a1, in f5()
77 uint8_t* a2, Octet16* mac_key, Octet16* ltk) { in f5()
83 const Octet16 salt{0xBE, 0x83, 0x60, 0x5A, 0xDB, 0x0B, 0x37, 0x60, in f5()
85 Octet16 t = aes_cmac(salt, w, BT_OCTET32_LEN); in f5()
100 Octet16 f6(const Octet16& w, const Octet16& n1, const Octet16& n2, in f6()
101 const Octet16& r, uint8_t* iocap, uint8_t* a1, uint8_t* a2) { in f6()
126 uint32_t g2(uint8_t* u, uint8_t* v, const Octet16& x, const Octet16& y) { in g2()
142 Octet16 cmac = aes_cmac(x, msg.data(), msg.size()); in g2()
153 Octet16 ltk_to_link_key(const Octet16& ltk, bool use_h7) { in ltk_to_link_key()
154 Octet16 ilk; /* intermidiate link key */ in ltk_to_link_key()
156 constexpr Octet16 salt{0x31, 0x70, 0x6D, 0x74, 0x00, 0x00, 0x00, 0x00, in ltk_to_link_key()
170 Octet16 link_key_to_ltk(const Octet16& link_key, bool use_h7) { in link_key_to_ltk()
171 Octet16 iltk; /* intermidiate long term key */ in link_key_to_ltk()
173 constexpr Octet16 salt{0x32, 0x70, 0x6D, 0x74, 0x00, 0x00, 0x00, 0x00, in link_key_to_ltk()