Lines Matching defs:dtls_psk
181 static coap_dtls_cpsk_t dtls_psk;
185 memset(&dtls_psk, 0, sizeof(dtls_psk));
186 dtls_psk.version = COAP_DTLS_CPSK_SETUP_VERSION;
192 dtls_psk.client_sni = client_sni;
193 dtls_psk.psk_info.identity.s = (const uint8_t *)use_id;
194 dtls_psk.psk_info.identity.length = strlen(use_id);
195 dtls_psk.psk_info.key.s = (const uint8_t *)use_psk;
196 dtls_psk.psk_info.key.length = strlen(use_psk);
199 COAP_PROTO_DTLS, &dtls_psk);