Home
last modified time | relevance | path

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

/system/bt/stack/smp/
Dsmp_cmac.c182 static void cmac_prepare_last_block (BT_OCTET16 k1, BT_OCTET16 k2) in cmac_prepare_last_block() argument
195 smp_xor_128(&cmac_cb.text[0], k1); in cmac_prepare_last_block()
215 UINT8 k1[BT_OCTET16_LEN], k2[BT_OCTET16_LEN]; in cmac_subkey_cont() local
224 leftshift_onebit(pp, k1); in cmac_subkey_cont()
225 smp_xor_128(k1, const_Rb); in cmac_subkey_cont()
229 leftshift_onebit(pp, k1); in cmac_subkey_cont()
232 if ( (k1[BT_OCTET16_LEN - 1] & 0x80) != 0 ) in cmac_subkey_cont()
235 leftshift_onebit(k1, k2); in cmac_subkey_cont()
241 leftshift_onebit(k1, k2); in cmac_subkey_cont()
244 print128(k1, (const UINT8 *)"K1"); in cmac_subkey_cont()
[all …]