Lines Matching +full:32 +full:v
19 int bt_crypto_f4(const uint8_t *u, const uint8_t *v, const uint8_t *x, uint8_t z, uint8_t res[16]) in bt_crypto_f4() argument
25 LOG_DBG("u %s", bt_hex(u, 32)); in bt_crypto_f4()
26 LOG_DBG("v %s", bt_hex(v, 32)); in bt_crypto_f4()
30 * U, V and Z are concatenated and used as input m to the function in bt_crypto_f4()
38 sys_memcpy_swap(m, u, 32); in bt_crypto_f4()
39 sys_memcpy_swap(m + 32, v, 32); in bt_crypto_f4()
70 uint8_t t[16], ws[32]; in bt_crypto_f5()
73 LOG_DBG("w %s", bt_hex(w, 32)); in bt_crypto_f5()
77 sys_memcpy_swap(ws, w, 32); in bt_crypto_f5()
79 err = bt_crypto_aes_cmac(salt, ws, 32, t); in bt_crypto_f5()
135 sys_memcpy_swap(m + 32, r, 16); in bt_crypto_f6()
160 int bt_crypto_g2(const uint8_t u[32], const uint8_t v[32], const uint8_t x[16], const uint8_t y[16], in bt_crypto_g2() argument
166 LOG_DBG("u %s", bt_hex(u, 32)); in bt_crypto_g2()
167 LOG_DBG("v %s", bt_hex(v, 32)); in bt_crypto_g2()
171 sys_memcpy_swap(m, u, 32); in bt_crypto_g2()
172 sys_memcpy_swap(m + 32, v, 32); in bt_crypto_g2()