Lines Matching refs:sm_stk_generation_method
322 stk_generation_method_t sm_stk_generation_method; member
851 setup->sm_stk_generation_method = JUST_WORKS; in sm_setup_tk()
877 setup->sm_stk_generation_method = OOB; in sm_setup_tk()
909 …setup->sm_stk_generation_method = generation_method[sm_pairing_packet_get_io_capability(setup->sm_… in sm_setup_tk()
912 …m_m_preq), sm_pairing_packet_get_io_capability(setup->sm_s_pres), setup->sm_stk_generation_method); in sm_setup_tk()
1064 switch (setup->sm_stk_generation_method){ in sm_trigger_user_response()
1260 log_info("SMP: generation method %u", setup->sm_stk_generation_method); in sm_stk_generation_init()
1283 sm_conn->sm_connection_authenticated = (setup->sm_stk_generation_method == JUST_WORKS) ? 0 : 1; in sm_stk_generation_init()
1640 if (setup->sm_stk_generation_method == OOB){ in sm_sc_start_calculating_local_confirm()
1650 if (setup->sm_stk_generation_method == OOB){ in sm_sc_state_after_receiving_random()
1657 switch (setup->sm_stk_generation_method){ in sm_sc_state_after_receiving_random()
1712 if (setup->sm_stk_generation_method == OOB){ in sm_sc_cmac_done()
1938 if (sm_passkey_entry(setup->sm_stk_generation_method)){ in sm_sc_calculate_local_confirm()
1949 if (setup->sm_stk_generation_method == OOB){ in sm_sc_calculate_remote_confirm()
1959 if (sm_passkey_entry(setup->sm_stk_generation_method)){ in sm_sc_calculate_remote_confirm()
2673 log_info("stk method %u, bit num: %u", setup->sm_stk_generation_method, setup->sm_passkey_bit); in sm_run_state_sc_send_pairing_random()
2674 if (sm_passkey_entry(setup->sm_stk_generation_method) && (setup->sm_passkey_bit < 20u)){ in sm_run_state_sc_send_pairing_random()
2687 if (setup->sm_stk_generation_method == NUMERIC_COMPARISON){ in sm_run_state_sc_send_pairing_random()
2737 switch (setup->sm_stk_generation_method){ in sm_run_state_sc_send_public_key_command()
3056 if (setup->sm_stk_generation_method == PK_INIT_INPUT){ in sm_run()
3095 … if (!setup->sm_use_secure_connections || (setup->sm_stk_generation_method == JUST_WORKS)){ in sm_run()
4316 switch (setup->sm_stk_generation_method){ in sm_validate_stk_generation_method()
4433 log_info("public key received, generation method %u", setup->sm_stk_generation_method); in sm_pdu_handler_pairing_public_key()
4441 switch (setup->sm_stk_generation_method){ in sm_pdu_handler_pairing_public_key()
4541 if (setup->sm_stk_generation_method == PK_RESP_INPUT){ in sm_pdu_handler()
4549 if (setup->sm_stk_generation_method == JUST_WORKS){ in sm_pdu_handler()
4671 if (sm_passkey_used(setup->sm_stk_generation_method)){ in sm_pdu_handler()
4681 if (sm_just_works_or_numeric_comparison(setup->sm_stk_generation_method)){ in sm_pdu_handler()
4701 …_RESPONDER(sm_conn->sm_role), sm_just_works_or_numeric_comparison(setup->sm_stk_generation_method), in sm_pdu_handler()
4702 …sm_passkey_used(setup->sm_stk_generation_method), sm_passkey_entry(setup->sm_stk_generation_method… in sm_pdu_handler()
4703 …ESPONDER(sm_conn->sm_role) && sm_just_works_or_numeric_comparison(setup->sm_stk_generation_method)) in sm_pdu_handler()
4704 || (sm_passkey_entry(setup->sm_stk_generation_method)) ) { in sm_pdu_handler()
4710 if (setup->sm_stk_generation_method == OOB){ in sm_pdu_handler()
4799 if (setup->sm_stk_generation_method == PK_INIT_INPUT){ in sm_pdu_handler()
5379 switch (setup->sm_stk_generation_method){ in sm_bonding_decline()