Lines Matching +full:5 +full:k +full:- +full:24 +full:k
2 * SPDX-License-Identifier: Apache-2.0
16 * Defined in Core Vol. 3, part H 2.2.5.
18 * @param[in] key 128-bit key
24 * @retval -EIO Computation failed.
33 * @param[in] u 256-bit
34 * @param[in] v 256-bit
35 * @param[in] x 128-bit key
36 * @param[in] z 8-bit
40 * @retval -EIO Computation failed.
49 * @param[in] w 256-bit
50 * @param[in] n1 128-bit
51 * @param[in] n2 128-bit
52 * @param[in] a1 56-bit
53 * @param[in] a2 56-bit
54 * @param[out] mackey most significant 128-bit of the result
55 * @param[out] ltk least significant 128-bit of the result
58 * @retval -EIO Computation failed.
68 * @param[in] w 128-bit
69 * @param[in] n1 128-bit
70 * @param[in] n2 128-bit
71 * @param[in] r 128-bit
72 * @param[in] iocap 24-bit
73 * @param[in] a1 56-bit
74 * @param[in] a2 56-bit
78 * @retval -EIO Computation failed.
89 * @param[in] u 256-bit
90 * @param[in] v 256-bit
91 * @param[in] x 128-bit
92 * @param[in] y 128-bit
96 * @retval -EIO Computation failed.
106 * @param[in] w 128-bit key
107 * @param[in] key_id 32-bit
108 * @param[out] res 128-bit
111 * @retval -EIO Computation failed.
120 * @param[in] salt 128-bit key
121 * @param[in] w 128-bit input of the AES-CMAC function
122 * @param[out] res 128-bit
125 * @retval -EIO Computation failed.
137 * Pseudocode: `aes_cmac(key=aes_cmac(key=s, plaintext=k), plaintext=key_id)`
139 * @param[in] k (128-bit number in big endian)
140 * @param[in] s (128-bit number in big endian)
141 * @param[in] key_id (32-bit number in big endian)
142 * @param[out] res (128-bit number in big endian)
145 * @retval -EIO Computation failed.
147 int bt_crypto_h8(const uint8_t k[16], const uint8_t s[16], const uint8_t key_id[4],