Lines Matching defs:sm_setup_context
307 typedef struct sm_setup_context { struct
309 btstack_timer_source_t sm_timeout;
312 uint8_t sm_user_response;
313 …itmap: passkey started, digit entered, digit erased, passkey cleared, passkey complete, 3 bit count
316 uint8_t sm_key_distribution_send_set;
317 uint8_t sm_key_distribution_sent_set;
318 uint8_t sm_key_distribution_expected_set;
319 uint8_t sm_key_distribution_received_set;
322 stk_generation_method_t sm_stk_generation_method;
323 sm_key_t sm_tk;
324 uint8_t sm_have_oob_data;
325 bool sm_use_secure_connections;
327 sm_key_t sm_c1_t3_value; // c1 calculation
328 sm_pairing_packet_t sm_m_preq; // pairing request - needed only for c1
329 sm_pairing_packet_t sm_s_pres; // pairing response - needed only for c1
330 sm_key_t sm_local_random;
331 sm_key_t sm_local_confirm;
332 sm_key_t sm_peer_random;
333 sm_key_t sm_peer_confirm;
334 uint8_t sm_m_addr_type; // address and type can be removed
335 uint8_t sm_s_addr_type; // ''
336 bd_addr_t sm_m_address; // ''
337 bd_addr_t sm_s_address; // ''
338 sm_key_t sm_ltk;
340 uint8_t sm_state_vars;
342 uint8_t sm_peer_q[64]; // also stores random for EC key generation during init
343 sm_key_t sm_peer_nonce; // might be combined with sm_peer_random
344 sm_key_t sm_local_nonce; // might be combined with sm_local_random
345 uint8_t sm_dhkey[32];
346 sm_key_t sm_peer_dhkey_check;
347 sm_key_t sm_local_dhkey_check;
348 sm_key_t sm_ra;
349 sm_key_t sm_rb;
350 sm_key_t sm_t; // used for f5 and h6
351 sm_key_t sm_mackey;
352 … uint8_t sm_passkey_bit; // also stores number of generated random bytes for EC key generation
358 uint16_t sm_local_y;
359 uint16_t sm_local_div;
360 uint16_t sm_local_ediv;
384 } sm_setup_context_t; argument