Home | History | Annotate | Download | only in crypto

Lines Matching refs:server

29 	int server;
36 struct tlsv1_server *server;
96 if (!global->server) {
105 if (global->server) {
106 conn->server = tlsv1_server_init(global->server_cred);
107 if (conn->server == NULL) {
127 if (conn->server)
128 tlsv1_server_deinit(conn->server);
141 if (conn->server)
142 return tlsv1_server_established(conn->server);
155 if (conn->server)
156 return tlsv1_server_shutdown(conn->server);
231 /* Currently, global parameters are only set when running in server
233 global->server = 1;
248 wpa_printf(MSG_INFO, "TLS: Failed to configure server "
286 if (conn->server)
287 return tlsv1_server_set_verify(conn->server, verify_peer);
308 if (conn->server)
309 return tlsv1_server_get_keys(conn->server, keys);
327 if (conn->server) {
328 return tlsv1_server_prf(conn->server, label,
390 if (conn->server == NULL)
396 res = tlsv1_server_handshake(conn->server, wpabuf_head(in_data),
398 if (res == NULL && tlsv1_server_established(conn->server))
439 if (conn->server) {
445 res = tlsv1_server_encrypt(conn->server, wpabuf_head(in_data),
485 if (conn->server) {
491 res = tlsv1_server_decrypt(conn->server, wpabuf_head(in_data),
514 if (conn->server)
515 return tlsv1_server_resumed(conn->server);
529 if (conn->server)
530 return tlsv1_server_set_cipher_list(conn->server, ciphers);
546 if (conn->server)
547 return tlsv1_server_get_cipher(conn->server, buf, buflen);
601 if (conn->server)
602 return tlsv1_server_get_keyblock_size(conn->server);
648 if (conn->server) {
649 tlsv1_server_set_session_ticket_cb(conn->server, cb, ctx);