Lines Matching refs:m

22 	uint8_t m[65];  in bt_crypto_f4()  local
38 sys_memcpy_swap(m, u, 32); in bt_crypto_f4()
39 sys_memcpy_swap(m + 32, v, 32); in bt_crypto_f4()
40 m[64] = z; in bt_crypto_f4()
44 err = bt_crypto_aes_cmac(xs, m, sizeof(m), res); in bt_crypto_f4()
61 uint8_t m[53] = {0x00, /* counter */ in bt_crypto_f5() local
86 sys_memcpy_swap(m + 5, n1, 16); in bt_crypto_f5()
87 sys_memcpy_swap(m + 21, n2, 16); in bt_crypto_f5()
88 m[37] = a1->type; in bt_crypto_f5()
89 sys_memcpy_swap(m + 38, a1->a.val, 6); in bt_crypto_f5()
90 m[44] = a2->type; in bt_crypto_f5()
91 sys_memcpy_swap(m + 45, a2->a.val, 6); in bt_crypto_f5()
93 err = bt_crypto_aes_cmac(t, m, sizeof(m), mackey); in bt_crypto_f5()
103 m[0] = 0x01; in bt_crypto_f5()
105 err = bt_crypto_aes_cmac(t, m, sizeof(m), ltk); in bt_crypto_f5()
122 uint8_t m[65]; in bt_crypto_f6() local
133 sys_memcpy_swap(m, n1, 16); in bt_crypto_f6()
134 sys_memcpy_swap(m + 16, n2, 16); in bt_crypto_f6()
135 sys_memcpy_swap(m + 32, r, 16); in bt_crypto_f6()
136 sys_memcpy_swap(m + 48, iocap, 3); in bt_crypto_f6()
138 m[51] = a1->type; in bt_crypto_f6()
139 memcpy(m + 52, a1->a.val, 6); in bt_crypto_f6()
140 sys_memcpy_swap(m + 52, a1->a.val, 6); in bt_crypto_f6()
142 m[58] = a2->type; in bt_crypto_f6()
143 memcpy(m + 59, a2->a.val, 6); in bt_crypto_f6()
144 sys_memcpy_swap(m + 59, a2->a.val, 6); in bt_crypto_f6()
148 err = bt_crypto_aes_cmac(ws, m, sizeof(m), check); in bt_crypto_f6()
163 uint8_t m[80], xs[16]; in bt_crypto_g2() local
171 sys_memcpy_swap(m, u, 32); in bt_crypto_g2()
172 sys_memcpy_swap(m + 32, v, 32); in bt_crypto_g2()
173 sys_memcpy_swap(m + 64, y, 16); in bt_crypto_g2()
178 err = bt_crypto_aes_cmac(xs, m, sizeof(m), xs); in bt_crypto_g2()