Home
last modified time | relevance | path

Searched refs:use_psk (Results 1 – 3 of 3) sorted by relevance

/third_party/libcoap/examples/lwip/
Dserver-coap.c124 const char *use_psk = "secretPSK"; in server_coap_init() local
137 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()
Dclient-coap.c118 const char *use_psk = "secretPSK"; in client_coap_init() local
128 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()
/third_party/libcoap/examples/riot/examples_libcoap_server/
Dserver-coap.c125 init_coap_context_endpoints(const char *use_psk) { in init_coap_context_endpoints() argument
154 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()