Home
last modified time | relevance | path

Searched refs:COAP_USE_PSK (Results 1 - 2 of 2) sorted by relevance

/third_party/libcoap/examples/riot/examples_libcoap_client/
H A Dclient-coap.c31 #define COAP_USE_PSK CONFIG_LIBCOAP_USE_PSK macro
33 #define COAP_USE_PSK NULL macro
172 #if defined (COAP_USE_PSK) && defined(COAP_USE_PSK_ID) in client_coap_init()
190 dtls_psk.psk_info.key.s = (const uint8_t *)COAP_USE_PSK; in client_coap_init()
191 dtls_psk.psk_info.key.length = strlen(COAP_USE_PSK); in client_coap_init()
195 #else /* ! COAP_USE_PSK && ! COAP_USE_PSK_ID */ in client_coap_init()
198 #endif /* ! COAP_USE_PSK && ! COAP_USE_PSK_ID */ in client_coap_init()
/third_party/libcoap/examples/riot/examples_libcoap_server/
H A Dserver-coap.c18 #define COAP_USE_PSK CONFIG_LIBCOAP_USE_PSK macro
20 #define COAP_USE_PSK NULL macro
202 if (!init_coap_context_endpoints(COAP_USE_PSK)) { in server_coap_run()

Completed in 2 milliseconds