/Zephyr-latest/samples/net/prometheus/src/ |
D | main.c | 116 err = tls_credential_add(HTTP_SERVER_CERTIFICATE_TAG, TLS_CREDENTIAL_CA_CERTIFICATE, in setup_tls() 123 err = tls_credential_add(HTTP_SERVER_CERTIFICATE_TAG, TLS_CREDENTIAL_SERVER_CERTIFICATE, in setup_tls() 129 err = tls_credential_add(HTTP_SERVER_CERTIFICATE_TAG, TLS_CREDENTIAL_PRIVATE_KEY, in setup_tls() 136 err = tls_credential_add(PSK_TAG, TLS_CREDENTIAL_PSK, psk, sizeof(psk)); in setup_tls() 141 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/ |
D | echo-server.c | 146 err = tls_credential_add(SERVER_CERTIFICATE_TAG, in init_app() 155 err = tls_credential_add(SERVER_CERTIFICATE_TAG, in init_app() 164 err = tls_credential_add(SERVER_CERTIFICATE_TAG, in init_app() 172 err = tls_credential_add(PSK_TAG, in init_app() 179 err = tls_credential_add(PSK_TAG, in init_app()
|
/Zephyr-latest/tests/net/lib/tls_credentials/src/ |
D | main.c | 29 ret = tls_credential_add(i, TLS_CREDENTIAL_CA_CERTIFICATE, in test_credential_add() 37 ret = tls_credential_add(common_tag, TLS_CREDENTIAL_SERVER_CERTIFICATE, in test_credential_add() 42 ret = tls_credential_add(common_tag, TLS_CREDENTIAL_PRIVATE_KEY, in test_credential_add() 49 ret = tls_credential_add(unused_tag, TLS_CREDENTIAL_CA_CERTIFICATE, in test_credential_add() 54 ret = tls_credential_add(common_tag, TLS_CREDENTIAL_PRIVATE_KEY, in test_credential_add()
|
/Zephyr-latest/tests/net/lib/http_server/tls/src/ |
D | main.c | 236 ret = tls_credential_add(CA_CERTIFICATE_TAG, in setup() 241 ret = tls_credential_add(SERVER_CERTIFICATE_TAG, in setup() 246 ret = tls_credential_add(SERVER_CERTIFICATE_TAG, in setup() 251 ret = tls_credential_add(CLIENT_CERTIFICATE_TAG, in setup() 256 ret = tls_credential_add(CLIENT_CERTIFICATE_TAG, in setup()
|
/Zephyr-latest/samples/subsys/mgmt/updatehub/src/ |
D | main.c | 91 if (tls_credential_add(CA_CERTIFICATE_TAG, in main() 99 if (tls_credential_add(CA_CERTIFICATE_TAG, in main()
|
/Zephyr-latest/tests/net/socket/tls_configurations/src/ |
D | main.c | 153 err = tls_credential_add(CA_CERTIFICATE_TAG, in setup_credentials() 164 err = tls_credential_add(PSK_TAG, in setup_credentials() 171 err = tls_credential_add(PSK_TAG, in setup_credentials()
|
/Zephyr-latest/tests/net/socket/tls_ext/src/ |
D | main.c | 444 r = tls_credential_add(CA_CERTIFICATE_TAG, in setup() 449 r = tls_credential_add(SERVER_CERTIFICATE_TAG, in setup() 454 r = tls_credential_add(SERVER_CERTIFICATE_TAG, in setup() 459 r = tls_credential_add(CLIENT_CERTIFICATE_TAG, in setup() 464 r = tls_credential_add(CLIENT_CERTIFICATE_TAG, in setup()
|
/Zephyr-latest/include/zephyr/net/ |
D | tls_credentials.h | 92 int tls_credential_add(sec_tag_t tag, enum tls_credential_type type,
|
/Zephyr-latest/samples/net/sockets/http_server/src/ |
D | main.c | 314 err = tls_credential_add(HTTP_SERVER_CERTIFICATE_TAG, in setup_tls() 322 err = tls_credential_add(HTTP_SERVER_CERTIFICATE_TAG, in setup_tls() 330 err = tls_credential_add(PSK_TAG, in setup_tls() 338 err = tls_credential_add(PSK_TAG, in setup_tls()
|
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_engine/src/ |
D | stubs.h | 49 DECLARE_FAKE_VALUE_FUNC(int, tls_credential_add, sec_tag_t, enum tls_credential_type, const void *, 83 FUNC(tls_credential_add) \
|
D | stubs.c | 35 DEFINE_FAKE_VALUE_FUNC(int, tls_credential_add, sec_tag_t, enum tls_credential_type, const void *,
|
/Zephyr-latest/samples/net/sockets/echo_client/src/ |
D | echo-client.c | 349 int err = tls_credential_add(CA_CERTIFICATE_TAG, in init_app() 358 err = tls_credential_add(PSK_TAG, in init_app() 365 err = tls_credential_add(PSK_TAG, in init_app()
|
/Zephyr-latest/samples/subsys/mgmt/hawkbit/src/ |
D | main.c | 90 tls_credential_add(CA_CERTIFICATE_TAG, TLS_CREDENTIAL_CA_CERTIFICATE, in main()
|
/Zephyr-latest/samples/net/cloud/aws_iot_mqtt/src/ |
D | main.c | 71 ret = tls_credential_add(TLS_TAG_DEVICE_CERTIFICATE, TLS_CREDENTIAL_SERVER_CERTIFICATE, in setup_credentials() 78 ret = tls_credential_add(TLS_TAG_DEVICE_PRIVATE_KEY, TLS_CREDENTIAL_PRIVATE_KEY, in setup_credentials() 85 ret = tls_credential_add(TLS_TAG_AWS_CA_CERTIFICATE, TLS_CREDENTIAL_CA_CERTIFICATE, ca_cert, in setup_credentials()
|
/Zephyr-latest/samples/net/sockets/http_get/src/ |
D | http_get.c | 69 tls_credential_add(CA_CERTIFICATE_TAG, TLS_CREDENTIAL_CA_CERTIFICATE, in main()
|
/Zephyr-latest/samples/net/mqtt_publisher/src/ |
D | main.c | 81 err = tls_credential_add(APP_CA_CERT_TAG, TLS_CREDENTIAL_CA_CERTIFICATE, in tls_init() 90 err = tls_credential_add(APP_PSK_TAG, TLS_CREDENTIAL_PSK, in tls_init() 97 err = tls_credential_add(APP_PSK_TAG, TLS_CREDENTIAL_PSK_ID, in tls_init()
|
/Zephyr-latest/samples/net/sockets/dumb_http_server_mt/src/ |
D | main.c | 415 int err = tls_credential_add(SERVER_CERTIFICATE_TAG, in main() 423 err = tls_credential_add(SERVER_CERTIFICATE_TAG, in main()
|
/Zephyr-latest/subsys/net/lib/tls_credentials/ |
D | tls_credentials.c | 124 int tls_credential_add(sec_tag_t tag, enum tls_credential_type type, in tls_credential_add() function
|
D | tls_credentials_trusted.c | 326 int tls_credential_add(sec_tag_t tag, enum tls_credential_type type, in tls_credential_add() function
|
/Zephyr-latest/modules/thrift/src/thrift/transport/ |
D | TSSLSocket.cpp | 452 const int status = tls_credential_add(Thrift_TLS_SERVER_CERT_TAG, in loadCertificateFromBuffer() 489 tls_credential_add(Thrift_TLS_PRIVATE_KEY, TLS_CREDENTIAL_PRIVATE_KEY, in loadPrivateKeyFromBuffer() 522 const int status = tls_credential_add(Thrift_TLS_CA_CERT_TAG, TLS_CREDENTIAL_CA_CERTIFICATE, in loadTrustedCertificatesFromBuffer()
|
/Zephyr-latest/samples/net/sockets/big_http_download/src/ |
D | big_http_download.c | 378 tls_credential_add(CA_CERTIFICATE_TAG + i, in main()
|
/Zephyr-latest/samples/net/sockets/http_client/src/ |
D | main.c | 162 ret = tls_credential_add(CA_CERTIFICATE_TAG, in run_queries()
|
/Zephyr-latest/samples/net/sockets/websocket_client/src/ |
D | main.c | 315 ret = tls_credential_add(CA_CERTIFICATE_TAG, in main()
|
/Zephyr-latest/samples/net/cloud/mqtt_azure/src/ |
D | main.c | 79 err = tls_credential_add(APP_CA_CERT_TAG, TLS_CREDENTIAL_CA_CERTIFICATE, in tls_init()
|
/Zephyr-latest/samples/net/secure_mqtt_sensor_actuator/src/ |
D | mqtt_client.c | 61 rc = tls_credential_add(APP_CA_CERT_TAG, TLS_CREDENTIAL_CA_CERTIFICATE, in tls_init()
|