Lines Matching refs:UINT8
46 typedef UINT8 tSMP_ASSO_MODEL;
130 typedef UINT8 tSMP_EVENT;
157 typedef UINT8 tSMP_STATE;
187 typedef UINT8 tSMP_BR_EVENT;
198 typedef UINT8 tSMP_BR_STATE;
231 UINT8 key_type;
232 UINT8* p_data;
237 UINT8 *p_data; /* UINT8 type data pointer */
272 UINT8 trace_level;
281 UINT8 failure;
282 UINT8 status;
283 UINT8 role;
285 UINT8 cb_evt;
317 UINT8 round; /* authentication stage 1 round for passkey association model */
320 UINT8 peer_enc_size;
321 UINT8 loc_enc_size;
322 UINT8 peer_i_key;
323 UINT8 peer_r_key;
324 UINT8 local_i_key;
325 UINT8 local_r_key;
333 UINT8 rand_enc_proc_state;
334 UINT8 addr_type;
338 UINT8 rcvd_cmd_code;
339 UINT8 rcvd_cmd_len;
342 UINT8 cert_failure; /*failure case for certification */
377 extern void smp_aes_cmac_rfc4493_chk (UINT8 *key, UINT8 *msg, UINT8 msg_len,
378 UINT8 mac_len, UINT8 *mac);
379 extern void smp_f4_calc_chk (UINT8 *U, UINT8 *V, UINT8 *X, UINT8 *Z, UINT8 *mac);
380 extern void smp_g2_calc_chk (UINT8 *U, UINT8 *V, UINT8 *X, UINT8 *Y);
381 extern void smp_h6_calc_chk (UINT8 *key, UINT8 *key_id, UINT8 *mac);
382 extern void smp_f5_key_calc_chk (UINT8 *w, UINT8 *mac);
383 extern void smp_f5_mackey_or_ltk_calc_chk(UINT8 *t, UINT8 *counter,
384 UINT8 *key_id, UINT8 *n1,
385 UINT8 *n2, UINT8 *a1, UINT8 *a2,
386 UINT8 *length, UINT8 *mac);
387 extern void smp_f5_calc_chk (UINT8 *w, UINT8 *n1, UINT8 *n2, UINT8 *a1, UINT8 *a2,
388 UINT8 *mac_key, UINT8 *ltk);
389 extern void smp_f6_calc_chk (UINT8 *w, UINT8 *n1, UINT8 *n2, UINT8 *r,
390 UINT8 *iocap, UINT8 *a1, UINT8 *a2, UINT8 *mac);
477 extern BOOLEAN smp_send_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
482 extern void smp_mask_enc_key(UINT8 loc_enc_size, UINT8 * p_data);
485 extern BOOLEAN smp_encrypt_data (UINT8 *key, UINT8 key_len,
486 UINT8 *plain_text, UINT8 pt_len,
491 extern void smp_reverse_array(UINT8 *arr, UINT8 len);
492 extern UINT8 smp_calculate_random_input(UINT8 *random, UINT8 round);
493 extern void smp_collect_local_io_capabilities(UINT8 *iocap, tSMP_CB *p_cb);
494 extern void smp_collect_peer_io_capabilities(UINT8 *iocap, tSMP_CB *p_cb);
495 extern void smp_collect_local_ble_address(UINT8 *le_addr, tSMP_CB *p_cb);
496 extern void smp_collect_peer_ble_address(UINT8 *le_addr, tSMP_CB *p_cb);
521 extern void smp_calculate_f4(UINT8 *u, UINT8 *v, UINT8 *x, UINT8 z, UINT8 *c);
522 extern UINT32 smp_calculate_g2(UINT8 *u, UINT8 *v, UINT8 *x, UINT8 *y);
523 extern BOOLEAN smp_calculate_f5(UINT8 *w, UINT8 *n1, UINT8 *n2, UINT8 *a1, UINT8 *a2,
524 UINT8 *mac_key, UINT8 *ltk);
525 extern BOOLEAN smp_calculate_f5_mackey_or_long_term_key(UINT8 *t, UINT8 *counter,
526 UINT8 *key_id, UINT8 *n1, UINT8 *n2, UINT8 *a1,
527 UINT8 *a2, UINT8 *length, UINT8 *mac);
528 extern BOOLEAN smp_calculate_f5_key(UINT8 *w, UINT8 *t);
529 extern BOOLEAN smp_calculate_f6(UINT8 *w, UINT8 *n1, UINT8 *n2, UINT8 *r, UINT8 *iocap,
530 UINT8 *a1, UINT8 *a2, UINT8 *f3);
531 extern BOOLEAN smp_calculate_h6(UINT8 *w, UINT8 *keyid, UINT8 *h2);
533 extern void smp_debug_print_nbyte_little_endian (UINT8 *p, const UINT8 *key_name,
534 UINT8 len);
538 extern BOOLEAN aes_cipher_msg_auth_code(BT_OCTET16 key, UINT8 *input, UINT16 length,
539 UINT16 tlen, UINT8 *p_signature);
540 extern void print128(BT_OCTET16 x, const UINT8 *key_name);