Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/bluetooth/host/
Daes_ccm.c103 uint8_t b[16], Xn[16], s0[16]; in ccm_auth() local
124 ccm_calculate_X0(key, aad, aad_len, mic_size, msg_len, b, Xn); in ccm_auth()
130 b[i] = Xn[i] ^ cleartext_msg[(j * 16) + i]; in ccm_auth()
133 memcpy(&b[i], &Xn[i], 16 - i); in ccm_auth()
135 xor16(b, Xn, &cleartext_msg[j * 16]); in ccm_auth()
138 err = bt_encrypt_be(key, b, Xn); in ccm_auth()
146 mic[i] = s0[i] ^ Xn[i]; in ccm_auth()