Searched refs:use_psk (Results 1 – 3 of 3) sorted by relevance
124 const char *use_psk = "secretPSK"; in server_coap_init() local137 use_psk = optarg; in server_coap_init()163 setup_data.psk_info.key.s = (const uint8_t *)use_psk; in server_coap_init()164 setup_data.psk_info.key.length = strlen(use_psk); in server_coap_init()171 coap_get_available_scheme_hint_bits(use_psk[0], in server_coap_init()
118 const char *use_psk = "secretPSK"; in client_coap_init() local128 use_psk = optarg; in client_coap_init()195 dtls_psk.psk_info.key.s = (const uint8_t *)use_psk; in client_coap_init()196 dtls_psk.psk_info.key.length = strlen(use_psk); in client_coap_init()
125 init_coap_context_endpoints(const char *use_psk) { in init_coap_context_endpoints() argument154 if (use_psk && coap_dtls_is_supported()) { in init_coap_context_endpoints()160 setup_data.psk_info.key.s = (const uint8_t *)use_psk; in init_coap_context_endpoints()161 setup_data.psk_info.key.length = strlen(use_psk); in init_coap_context_endpoints()