HomeSort by: relevance | last modified time | path
    Searched refs:tls_ctx (Results 1 - 20 of 20) sorted by relevancy

  /src/external/bsd/wpa/dist/src/crypto/
tls_none.c 25 int tls_get_errors(void *tls_ctx)
31 struct tls_connection * tls_connection_init(void *tls_ctx)
37 void tls_connection_deinit(void *tls_ctx, struct tls_connection *conn)
42 int tls_connection_established(void *tls_ctx, struct tls_connection *conn)
48 char * tls_connection_peer_serial_num(void *tls_ctx,
55 int tls_connection_shutdown(void *tls_ctx, struct tls_connection *conn)
61 int tls_connection_set_params(void *tls_ctx, struct tls_connection *conn,
68 int tls_global_set_params(void *tls_ctx,
75 int tls_global_set_verify(void *tls_ctx, int check_crl, int strict)
81 int tls_connection_set_verify(void *tls_ctx, struct tls_connection *conn
    [all...]
tls.h 228 * Returns: Context data to be used as tls_ctx in calls to other functions,
241 * @tls_ctx: TLS context data from tls_init()
249 void tls_deinit(void *tls_ctx);
253 * @tls_ctx: TLS context data from tls_init()
258 int tls_get_errors(void *tls_ctx);
262 * @tls_ctx: TLS context data from tls_init()
265 struct tls_connection * tls_connection_init(void *tls_ctx);
269 * @tls_ctx: TLS context data from tls_init()
274 void tls_connection_deinit(void *tls_ctx, struct tls_connection *conn);
278 * @tls_ctx: TLS context data from tls_init(
    [all...]
tls_internal.c 87 int tls_get_errors(void *tls_ctx)
93 struct tls_connection * tls_connection_init(void *tls_ctx)
96 struct tls_global *global = tls_ctx;
150 void tls_connection_deinit(void *tls_ctx, struct tls_connection *conn)
166 int tls_connection_established(void *tls_ctx, struct tls_connection *conn)
180 char * tls_connection_peer_serial_num(void *tls_ctx,
188 int tls_connection_shutdown(void *tls_ctx, struct tls_connection *conn)
202 int tls_connection_set_params(void *tls_ctx, struct tls_connection *conn,
298 int tls_global_set_params(void *tls_ctx,
302 struct tls_global *global = tls_ctx;
    [all...]
tls_wolfssl.c 318 int tls_get_errors(void *tls_ctx)
336 struct tls_connection * tls_connection_init(void *tls_ctx)
338 WOLFSSL_CTX *ssl_ctx = tls_ctx;
367 void tls_connection_deinit(void *tls_ctx, struct tls_connection *conn)
387 int tls_connection_established(void *tls_ctx, struct tls_connection *conn)
393 char * tls_connection_peer_serial_num(void *tls_ctx,
401 int tls_connection_shutdown(void *tls_ctx, struct tls_connection *conn)
524 static int tls_connection_private_key(void *tls_ctx,
531 WOLFSSL_CTX *ctx = tls_ctx;
1170 static int tls_connection_ca_cert(void *tls_ctx, struct tls_connection *conn
    [all...]
tls_gnutls.c 298 char * tls_connection_peer_serial_num(void *tls_ctx,
353 int tls_connection_set_params(void *tls_ctx, struct tls_connection *conn,
736 int tls_global_set_params(void *tls_ctx,
739 struct tls_global *global = tls_ctx;
900 int tls_connection_export_key(void *tls_ctx, struct tls_connection *conn,
921 int tls_connection_get_eap_fast_key(void *tls_ctx, struct tls_connection *conn,
1447 struct wpabuf * tls_connection_handshake(void *tls_ctx,
1452 struct tls_global *global = tls_ctx;
1568 struct wpabuf * tls_connection_server_handshake(void *tls_ctx,
1573 return tls_connection_handshake(tls_ctx, conn, in_data, appl_data)
    [all...]
tls_openssl.c 1804 char * tls_connection_peer_serial_num(void *tls_ctx,
4404 int tls_connection_export_key(void *tls_ctx, struct tls_connection *conn,
4417 int tls_connection_get_eap_fast_key(void *tls_ctx, struct tls_connection *conn,
4727 struct wpabuf * tls_connection_server_handshake(void *tls_ctx,
4737 struct wpabuf * tls_connection_encrypt(void *tls_ctx,
4777 struct wpabuf * tls_connection_decrypt(void *tls_ctx,
4840 int tls_connection_set_cipher_list(void *tls_ctx, struct tls_connection *conn,
5326 int tls_connection_set_params(void *tls_ctx, struct tls_connection *conn,
5329 struct tls_data *data = tls_ctx;
5666 int tls_global_set_params(void *tls_ctx,
    [all...]
  /src/external/bsd/openldap/dist/libraries/libldap/
ldap-tls.h 24 struct tls_ctx;
29 typedef struct tls_ctx tls_ctx; typedef in typeref:struct:tls_ctx
35 typedef tls_ctx *(TI_ctx_new)(struct ldapoptions *lo);
36 typedef void (TI_ctx_ref)(tls_ctx *ctx);
37 typedef void (TI_ctx_free)(tls_ctx *ctx);
41 typedef tls_session *(TI_session_new)(tls_ctx *ctx, int is_server);
tls_g.c 103 static tls_ctx *
120 return (tls_ctx *)ctx;
124 tlsg_ctx_ref( tls_ctx *ctx )
133 tlsg_ctx_free ( tls_ctx *ctx )
407 tlsg_session_new ( tls_ctx * ctx, int is_server )
tls_o.c 273 static tls_ctx *
276 return (tls_ctx *) SSL_CTX_new( SSLv23_method() );
280 tlso_ctx_ref( tls_ctx *ctx )
290 tlso_ctx_free ( tls_ctx *ctx )
678 tlso_session_new( tls_ctx *ctx, int is_server )
tls2.c 91 tls_ctx_ref( tls_ctx *ctx )
311 tls_ctx *ctx;
364 tls_ctx *ctx;
  /src/usr.bin/nc/
netcat.c 155 void report_tls(struct tls *tls_ctx, char * host, char *tlsexpectname);
180 struct tls *tls_ctx = NULL; local
604 if ((tls_ctx = tls_server()) == NULL)
606 if (tls_configure(tls_ctx, tls_cfg) == -1)
608 tls_error(tls_ctx));
661 (tls_cctx = tls_setup_server(tls_ctx, connfd, host)))
716 if ((tls_ctx = tls_client()) == NULL)
718 if (tls_configure(tls_ctx, tls_cfg) == -1)
720 tls_error(tls_ctx));
763 tls_setup_client(tls_ctx, s, host)
    [all...]
  /src/external/mpl/bind/dist/bin/tests/
test_server.c 47 static isc_tlsctx_t *tls_ctx = NULL; variable
177 if (tls_ctx) {
178 isc_tlsctx_free(&tls_ctx);
259 isc_tlsctx_createserver(NULL, NULL, &tls_ctx);
263 accept_cb, NULL, 0, NULL, tls_ctx, ISC_NM_PROXY_NONE,
273 isc_tlsctx_createserver(NULL, NULL, &tls_ctx);
282 tls_ctx, eps, 0, ISC_NM_PROXY_NONE, &sock);
test_client.c 71 static isc_tlsctx_t *tls_ctx = NULL; variable
300 if (tls_ctx) {
301 isc_tlsctx_free(&tls_ctx);
389 isc_tlsctx_createclient(&tls_ctx);
393 timeout, tls_ctx, NULL, NULL,
411 isc_tlsctx_createclient(&tls_ctx);
414 req_url, is_post, connect_cb, NULL, tls_ctx,
  /src/external/bsd/wpa/dist/src/radius/
radius_client.c 249 void *tls_ctx; member in struct:radius_client_data
509 out = tls_connection_encrypt(radius->tls_ctx, conn, buf);
927 out = tls_connection_encrypt(radius->tls_ctx, conn, buf);
999 out = tls_connection_handshake(radius->tls_ctx, conn, in, &appl);
1007 if (tls_connection_get_failed(radius->tls_ctx, conn)) {
1012 if (tls_connection_established(radius->tls_ctx, conn)) {
1078 tls_connection_deinit(radius->tls_ctx, conn);
1164 out = tls_connection_decrypt(radius->tls_ctx, conn, in);
1334 tls_connection_deinit(radius->tls_ctx,
1346 tls_connection_deinit(radius->tls_ctx,
    [all...]
  /src/external/ibm-public/postfix/dist/src/posttls-finger/
posttls-finger.c 506 TLS_APPL_STATE *tls_ctx; /* Application TLS context */ member in struct:STATE
928 ctx = state->tls_ctx,
976 tls_update_app_logmask(state->tls_ctx, state->log_mask);
1012 if ((state->wrapper_mode || words) && state->tls_ctx)
1706 tls_client_stop(state->tls_ctx, state->stream,
1820 if (state->tls_ctx != 0)
1821 tls_free_app_context(state->tls_ctx);
1901 state->tls_ctx =
1918 if (state->tls_ctx != 0
1920 SSL_CTX_set_msg_callback(state->tls_ctx->ssl_ctx, ssl_trace)
    [all...]
  /src/external/bsd/nsd/dist/
nsd.h 411 SSL_CTX *tls_ctx; member in struct:nsd
nsd.c 1149 nsd.tls_ctx = NULL;
1519 if(!(nsd.tls_ctx = server_tls_ctx_create(&nsd, NULL,
server.c 1642 if (nsd->tls_ctx)
1643 SSL_CTX_free(nsd->tls_ctx);
3364 if (nsd->tls_ctx &&
5651 tcp_data->tls = incoming_ssl_fd(tcp_data->nsd->tls_ctx, s);
xfrd.c 440 if (xfrd->nsd->tls_ctx)
441 SSL_CTX_free(xfrd->nsd->tls_ctx);
  /src/external/bsd/unbound/dist/util/
net_help.c 1464 add_WIN_cacerts_to_openssl_store(SSL_CTX* tls_ctx)
1474 if (!tls_ctx)
1491 store = SSL_CTX_get_cert_store(tls_ctx);

Completed in 68 milliseconds