Home
last modified time | relevance | path

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

/system/bt/stack/smp/
Dsmp_cmac.c185 static void cmac_prepare_last_block (BT_OCTET16 k1, BT_OCTET16 k2) in cmac_prepare_last_block() argument
198 smp_xor_128(&cmac_cb.text[0], k1); in cmac_prepare_last_block()
218 UINT8 k1[BT_OCTET16_LEN], k2[BT_OCTET16_LEN]; in cmac_subkey_cont() local
227 leftshift_onebit(pp, k1); in cmac_subkey_cont()
228 smp_xor_128(k1, const_Rb); in cmac_subkey_cont()
232 leftshift_onebit(pp, k1); in cmac_subkey_cont()
235 if ( (k1[BT_OCTET16_LEN - 1] & 0x80) != 0 ) in cmac_subkey_cont()
238 leftshift_onebit(k1, k2); in cmac_subkey_cont()
244 leftshift_onebit(k1, k2); in cmac_subkey_cont()
247 print128(k1, (const UINT8 *)"K1"); in cmac_subkey_cont()
[all …]