Home | History | Annotate | Download | only in smp

Lines Matching full:uint8

37     UINT8               *text;
50 void print128(BT_OCTET16 x, const UINT8 *key_name)
53 UINT8 *p = (UINT8 *)x;
54 UINT8 i;
79 static void padding ( BT_OCTET16 dest, UINT8 length )
81 UINT8 i, *p = dest;
95 static void leftshift_onebit(UINT8 *input, UINT8 *output)
97 UINT8 i, overflow = 0 , next_overflow = 0;
132 static BOOLEAN cmac_aes_k_calculate(BT_OCTET16 key, UINT8 *p_signature, UINT16 tlen)
135 UINT8 i = 1, err = 0;
136 UINT8 x[16] = {0};
137 UINT8 *p_mac;
184 // UINT8 x[16] = {0};
199 padding(&cmac_cb.text[0], (UINT8)(cmac_cb.len % 16));
215 UINT8 k1[BT_OCTET16_LEN], k2[BT_OCTET16_LEN];
216 UINT8 *pp = p->param_buf;
218 print128(pp, (const UINT8 *)"K1 before shift");
244 print128(k1, (const UINT8 *)"K1");
245 print128(k2, (const UINT8 *)"K2");
291 BOOLEAN aes_cipher_msg_auth_code(BT_OCTET16 key, UINT8 *input, UINT16 length,
292 UINT16 tlen, UINT8 *p_signature)
305 cmac_cb.text = (UINT8 *)osi_calloc(len);
328 void test_cmac_cback(UINT8 *p_mac, UINT16 tlen)
337 UINT8 M[64] = {
348 UINT8 key[16] = {
352 UINT8 i =0, tmp;