Home
last modified time | relevance | path

Searched refs:psk_id (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/samples/net/prometheus/src/
Ddummy_psk.h12 static const char psk_id[] = "PSK_identity"; variable
Dmain.c141 err = tls_credential_add(PSK_TAG, TLS_CREDENTIAL_PSK_ID, psk_id, sizeof(psk_id) - 1); in setup_tls()
/Zephyr-latest/samples/net/sockets/echo_server/src/
Ddummy_psk.h12 static const char psk_id[] = "PSK_identity"; variable
Decho-server.c181 psk_id, in init_app()
182 sizeof(psk_id) - 1); in init_app()
/Zephyr-latest/samples/net/sockets/echo_client/src/
Ddummy_psk.h12 static const char psk_id[] = "PSK_identity"; variable
Decho-client.c367 psk_id, in init_app()
368 sizeof(psk_id) - 1); in init_app()
/Zephyr-latest/samples/net/sockets/http_server/src/
Ddummy_psk.h12 static const char psk_id[] = "PSK_identity"; variable
Dmain.c340 psk_id, in setup_tls()
341 sizeof(psk_id) - 1); in setup_tls()
/Zephyr-latest/tests/net/socket/tls_configurations/src/
Dmain.c27 static const char psk_id[] = "PSK_identity"; variable
173 psk_id, in setup_credentials()
174 sizeof(psk_id) - 1); in setup_credentials()
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_tls.c1057 struct tls_credential *psk_id) in tls_set_psk() argument
1062 (const unsigned char *)psk_id->buf, in tls_set_psk()
1063 psk_id->len); in tls_set_psk()
1090 struct tls_credential *psk_id = in tls_set_credential() local
1092 if (!psk_id) { in tls_set_credential()
1096 return tls_set_psk(tls, cred, psk_id); in tls_set_credential()
/Zephyr-latest/tests/net/socket/tls/src/
Dmain.c57 static const char psk_id[] = "test_identity"; variable
72 psk_id, strlen(psk_id)), in test_config_psk()