Home
last modified time | relevance | path

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

/third_party/libcoap/src/
Dcoap_mbedtls.c76 #define IS_PSK (1 << 0) macro
909 if (m_context->psk_pki_enabled & IS_PSK) { in setup_server_ssl_session()
1059 if (m_context->psk_pki_enabled & IS_PSK) { in setup_client_ssl_session()
1092 (m_context->psk_pki_enabled & (IS_PSK | IS_PKI)) == 0) { in setup_client_ssl_session()
1383 m_context->psk_pki_enabled |= IS_PSK; in coap_dtls_context_set_spsk()
1411 m_context->psk_pki_enabled |= IS_PSK; in coap_dtls_context_set_cpsk()
Dcoap_gnutls.c100 #define IS_PSK (1 << 0) macro
343 g_context->psk_pki_enabled |= IS_PSK; in coap_dtls_context_set_spsk()
361 g_context->psk_pki_enabled |= IS_PSK; in coap_dtls_context_set_cpsk()
1700 if (g_context->psk_pki_enabled & IS_PSK) { in setup_client_ssl_session()
1746 (g_context->psk_pki_enabled & (IS_PSK | IS_PKI)) == 0) { in setup_client_ssl_session()
1865 if (g_context->psk_pki_enabled & IS_PSK) { in setup_server_ssl_session()
2089 if (g_context->psk_pki_enabled & IS_PSK) { in coap_dtls_free_gnutls_env()
2104 (IS_PSK | IS_PKI | IS_CLIENT)) == IS_CLIENT) { in coap_dtls_free_gnutls_env()
Dcoap_openssl.c115 #define IS_PSK 0x1 macro
858 o_context->psk_pki_enabled |= IS_PSK; in coap_dtls_context_set_spsk()
889 o_context->psk_pki_enabled |= IS_PSK; in coap_dtls_context_set_cpsk()
2810 if (context->psk_pki_enabled & IS_PSK) { in setup_client_ssl_session()