Home | History | Annotate | Download | only in smp

Lines Matching refs:k2

185 static void cmac_prepare_last_block (BT_OCTET16 k1, BT_OCTET16 k2)
200 else /* padding then xor with k2 */
204 smp_xor_128(&cmac_cb.text[0], k2);
218 UINT8 k1[BT_OCTET16_LEN], k2[BT_OCTET16_LEN];
237 /* K2 = (K1 << 1) (+) Rb */
238 leftshift_onebit(k1, k2);
239 smp_xor_128(k2, const_Rb);
243 /* If MSB(K1) = 0, then K2 = K1 << 1 */
244 leftshift_onebit(k1, k2);
248 print128(k2, (const UINT8 *)"K2");
250 cmac_prepare_last_block (k1, k2);