• Home
  • Raw
  • Download

Lines Matching refs:SSL

442     int (*ssl_new) (SSL *s);
443 int (*ssl_clear) (SSL *s);
444 void (*ssl_free) (SSL *s);
445 int (*ssl_accept) (SSL *s);
446 int (*ssl_connect) (SSL *s);
447 int (*ssl_read) (SSL *s, void *buf, size_t len, size_t *readbytes);
448 int (*ssl_peek) (SSL *s, void *buf, size_t len, size_t *readbytes);
449 int (*ssl_write) (SSL *s, const void *buf, size_t len, size_t *written);
450 int (*ssl_shutdown) (SSL *s);
451 int (*ssl_renegotiate) (SSL *s);
452 int (*ssl_renegotiate_check) (SSL *s, int);
453 int (*ssl_read_bytes) (SSL *s, int type, int *recvd_type,
456 int (*ssl_write_bytes) (SSL *s, int type, const void *buf_, size_t len,
458 int (*ssl_dispatch_alert) (SSL *s);
459 long (*ssl_ctrl) (SSL *s, int cmd, long larg, void *parg);
464 size_t (*ssl_pending) (const SSL *s);
470 long (*ssl_callback_ctrl) (SSL *s, int cb_id, void (*fp) (void));
600 int (*TLS_ext_srp_username_callback) (SSL *, int *, void *);
602 int (*SRP_verify_param_callback) (SSL *, void *);
604 char *(*SRP_give_srp_client_pwd_callback) (SSL *, void *);
814 int (*client_cert_cb) (SSL *ssl, X509 **x509, EVP_PKEY **pkey);
817 int (*app_gen_cookie_cb) (SSL *ssl, unsigned char *cookie,
821 int (*app_verify_cookie_cb) (SSL *ssl, const unsigned char *cookie,
825 int (*gen_stateless_cookie_cb) (SSL *ssl, unsigned char *cookie,
829 int (*verify_stateless_cookie_cb) (SSL *ssl, const unsigned char *cookie,
843 void (*info_callback) (const SSL *ssl, int type, int val);
870 const void *buf, size_t len, SSL *ssl, void *arg);
927 int (*servername_cb) (SSL *, int *, void *);
933 int (*ticket_key_cb) (SSL *ssl,
939 int (*status_cb) (SSL *ssl, void *arg);
969 int (*alpn_select_cb) (SSL *s,
1025 int (*not_resumable_session_cb) (SSL *ssl, int is_forward_secure);
1048 size_t (*record_padding_cb)(SSL *s, int type, size_t len, void *arg);
1092 int (*handshake_func) (SSL *);
1125 const void *buf, size_t len, SSL *ssl, void *arg);
1210 void (*info_callback) (const SSL *ssl, int type, int val);
1267 void (*debug_cb)(SSL *s, int client_server, int type,
1429 int (*not_resumable_session_cb) (SSL *ssl, int is_forward_secure);
1459 size_t (*record_padding_cb)(SSL *s, int type, size_t len, void *arg);
1888 DH *(*dh_tmp_cb) (SSL *ssl, int is_export, int keysize);
1922 int (*cert_cb) (SSL *ssl, void *arg);
1933 int (*sec_cb) (const SSL *s, const SSL_CTX *ctx, int op, int bits, int nid,
1953 int (*enc) (SSL *, SSL3_RECORD *, size_t, int);
1954 int (*mac) (SSL *, SSL3_RECORD *, unsigned char *, int);
1955 int (*setup_key_block) (SSL *);
1956 int (*generate_master_secret) (SSL *, unsigned char *, unsigned char *,
1958 int (*change_cipher_state) (SSL *, int);
1959 size_t (*final_finish_mac) (SSL *, const char *, size_t, unsigned char *);
1965 int (*export_keying_material) (SSL *, unsigned char *, size_t,
1972 int (*set_handshake_header) (SSL *s, WPACKET *pkt, int type);
1974 int (*close_construct_packet) (SSL *s, WPACKET *pkt, int htype);
1976 int (*do_write) (SSL *s);
2227 int (*p_ssl_init_wbio_buffer) (SSL *s);
2228 int (*p_ssl3_setup_buffers) (SSL *s);
2234 static ossl_inline int ssl_has_cert(const SSL *s, int idx) in ssl_has_cert()
2242 static ossl_inline void tls1_get_peer_groups(SSL *s, const uint16_t **pgroups, in tls1_get_peer_groups()
2251 __owur int ssl_read_internal(SSL *s, void *buf, size_t num, size_t *readbytes);
2252 __owur int ssl_write_internal(SSL *s, const void *buf, size_t num, size_t *written);
2253 void ssl_clear_cipher_ctx(SSL *s);
2254 int ssl_clear_bad_session(SSL *s);
2259 __owur int ssl_generate_session_id(SSL *s, SSL_SESSION *ss);
2260 __owur int ssl_get_new_session(SSL *s, int session);
2261 __owur SSL_SESSION *lookup_sess_in_cache(SSL *s, const unsigned char *sess_id,
2263 __owur int ssl_get_prev_session(SSL *s, CLIENTHELLO_MSG *hello);
2275 __owur int ssl_cache_cipherlist(SSL *s, PACKET *cipher_suites, int sslv2format);
2276 __owur int bytes_to_cipher_list(SSL *s, PACKET *cipher_suites,
2280 void ssl_update_cache(SSL *s, int mode);
2289 __owur const SSL_CIPHER *ssl_get_cipher_by_char(SSL *ssl,
2292 __owur int ssl_cert_set0_chain(SSL *s, SSL_CTX *ctx, STACK_OF(X509) *chain);
2293 __owur int ssl_cert_set1_chain(SSL *s, SSL_CTX *ctx, STACK_OF(X509) *chain);
2294 __owur int ssl_cert_add0_chain_cert(SSL *s, SSL_CTX *ctx, X509 *x);
2295 __owur int ssl_cert_add1_chain_cert(SSL *s, SSL_CTX *ctx, X509 *x);
2298 void ssl_cert_set_cert_cb(CERT *c, int (*cb) (SSL *ssl, void *arg), void *arg);
2300 __owur int ssl_verify_cert_chain(SSL *s, STACK_OF(X509) *sk);
2301 __owur int ssl_build_cert_chain(SSL *s, SSL_CTX *ctx, int flags);
2305 __owur int ssl_security(const SSL *s, int op, int bits, int nid, void *other);
2308 int ssl_get_security_level_bits(const SSL *s, const SSL_CTX *ctx, int *levelp);
2315 int ssl_undefined_function(SSL *s);
2317 __owur int ssl_undefined_const_function(const SSL *s);
2318 __owur int ssl_get_server_cert_serverinfo(SSL *s,
2321 void ssl_set_masks(SSL *s);
2322 __owur STACK_OF(SSL_CIPHER) *ssl_get_ciphers_by_id(SSL *s);
2326 __owur int ssl_fill_hello_random(SSL *s, int server, unsigned char *field,
2328 __owur int ssl_generate_master_secret(SSL *s, unsigned char *pms, size_t pmslen,
2331 __owur int ssl_derive(SSL *s, EVP_PKEY *privkey, EVP_PKEY *pubkey,
2334 __owur unsigned int ssl_get_max_send_fragment(const SSL *ssl);
2335 __owur unsigned int ssl_get_split_send_fragment(const SSL *ssl);
2342 int ssl3_init_finished_mac(SSL *s);
2343 __owur int ssl3_setup_key_block(SSL *s);
2344 __owur int ssl3_change_cipher_state(SSL *s, int which);
2345 void ssl3_cleanup_key_block(SSL *s);
2346 __owur int ssl3_do_write(SSL *s, int type);
2347 int ssl3_send_alert(SSL *s, int level, int desc);
2348 __owur int ssl3_generate_master_secret(SSL *s, unsigned char *out,
2351 __owur int ssl3_get_req_cert_type(SSL *s, WPACKET *pkt);
2354 int ssl3_renegotiate(SSL *ssl);
2355 int ssl3_renegotiate_check(SSL *ssl, int initok);
2356 __owur int ssl3_dispatch_alert(SSL *s);
2357 __owur size_t ssl3_final_finish_mac(SSL *s, const char *sender, size_t slen,
2359 __owur int ssl3_finish_mac(SSL *s, const unsigned char *buf, size_t len);
2360 void ssl3_free_digest_list(SSL *s);
2361 __owur unsigned long ssl3_output_cert_chain(SSL *s, WPACKET *pkt,
2363 __owur const SSL_CIPHER *ssl3_choose_cipher(SSL *ssl,
2366 __owur int ssl3_digest_cached_records(SSL *s, int keep);
2367 __owur int ssl3_new(SSL *s);
2368 void ssl3_free(SSL *s);
2369 __owur int ssl3_read(SSL *s, void *buf, size_t len, size_t *readbytes);
2370 __owur int ssl3_peek(SSL *s, void *buf, size_t len, size_t *readbytes);
2371 __owur int ssl3_write(SSL *s, const void *buf, size_t len, size_t *written);
2372 __owur int ssl3_shutdown(SSL *s);
2373 int ssl3_clear(SSL *s);
2374 __owur long ssl3_ctrl(SSL *s, int cmd, long larg, void *parg);
2376 __owur long ssl3_callback_ctrl(SSL *s, int cmd, void (*fp) (void));
2379 __owur int ssl3_do_change_cipher_spec(SSL *ssl);
2382 __owur int ssl3_set_handshake_header(SSL *s, WPACKET *pkt, int htype);
2383 __owur int tls_close_construct_packet(SSL *s, WPACKET *pkt, int htype);
2384 __owur int tls_setup_handshake(SSL *s);
2385 __owur int dtls1_set_handshake_header(SSL *s, WPACKET *pkt, int htype);
2386 __owur int dtls1_close_construct_packet(SSL *s, WPACKET *pkt, int htype);
2387 __owur int ssl3_handshake_write(SSL *s);
2389 __owur int ssl_allow_compression(SSL *s);
2391 __owur int ssl_version_supported(const SSL *s, int version,
2394 __owur int ssl_set_client_hello_version(SSL *s);
2395 __owur int ssl_check_version_downgrade(SSL *s);
2397 __owur int ssl_choose_server_version(SSL *s, CLIENTHELLO_MSG *hello,
2399 __owur int ssl_choose_client_version(SSL *s, int version,
2401 __owur int ssl_get_min_max_version(const SSL *s, int *min_version,
2405 __owur int dtls1_do_write(SSL *s, int type);
2406 void dtls1_set_message_header(SSL *s,
2411 int dtls1_write_app_data_bytes(SSL *s, int type, const void *buf_, size_t len,
2414 __owur int dtls1_read_failed(SSL *s, int code);
2415 __owur int dtls1_buffer_message(SSL *s, int ccs);
2416 __owur int dtls1_retransmit_message(SSL *s, unsigned short seq, int *found);
2418 int dtls1_retransmit_buffered_messages(SSL *s);
2419 void dtls1_clear_received_buffer(SSL *s);
2420 void dtls1_clear_sent_buffer(SSL *s);
2424 __owur struct timeval *dtls1_get_timeout(SSL *s, struct timeval *timeleft);
2425 __owur int dtls1_check_timeout_num(SSL *s);
2426 __owur int dtls1_handle_timeout(SSL *s);
2427 void dtls1_start_timer(SSL *s);
2428 void dtls1_stop_timer(SSL *s);
2429 __owur int dtls1_is_timer_expired(SSL *s);
2432 __owur size_t dtls1_min_mtu(SSL *s);
2434 __owur int dtls1_query_mtu(SSL *s);
2436 __owur int tls1_new(SSL *s);
2437 void tls1_free(SSL *s);
2438 int tls1_clear(SSL *s);
2440 __owur int dtls1_new(SSL *s);
2441 void dtls1_free(SSL *s);
2442 int dtls1_clear(SSL *s);
2443 long dtls1_ctrl(SSL *s, int cmd, long larg, void *parg);
2444 __owur int dtls1_shutdown(SSL *s);
2446 __owur int dtls1_dispatch_alert(SSL *s);
2448 __owur int ssl_init_wbio_buffer(SSL *s);
2449 int ssl_free_wbio_buffer(SSL *s);
2451 __owur int tls1_change_cipher_state(SSL *s, int which);
2452 __owur int tls1_setup_key_block(SSL *s);
2453 __owur size_t tls1_final_finish_mac(SSL *s, const char *str, size_t slen,
2455 __owur int tls1_generate_master_secret(SSL *s, unsigned char *out,
2458 __owur int tls13_setup_key_block(SSL *s);
2459 __owur size_t tls13_final_finish_mac(SSL *s, const char *str, size_t slen,
2461 __owur int tls13_change_cipher_state(SSL *s, int which);
2462 __owur int tls13_update_key(SSL *s, int send);
2463 __owur int tls13_hkdf_expand(SSL *s, const EVP_MD *md,
2468 __owur int tls13_derive_key(SSL *s, const EVP_MD *md,
2471 __owur int tls13_derive_iv(SSL *s, const EVP_MD *md,
2474 __owur int tls13_derive_finishedkey(SSL *s, const EVP_MD *md,
2477 int tls13_generate_secret(SSL *s, const EVP_MD *md,
2482 __owur int tls13_generate_handshake_secret(SSL *s,
2485 __owur int tls13_generate_master_secret(SSL *s, unsigned char *out,
2488 __owur int tls1_export_keying_material(SSL *s, unsigned char *out, size_t olen,
2492 __owur int tls13_export_keying_material(SSL *s, unsigned char *out, size_t olen,
2496 __owur int tls13_export_keying_material_early(SSL *s, unsigned char *out,
2506 __owur int ssl_check_srvr_ecc_cert_and_alg(X509 *x, SSL *s);
2514 __owur int tls1_check_group_id(SSL *s, uint16_t group_id, int check_own_curves);
2515 __owur uint16_t tls1_shared_group(SSL *s, int nmatch);
2520 void tls1_get_formatlist(SSL *s, const unsigned char **pformats,
2522 __owur int tls1_check_ec_tmp_key(SSL *s, unsigned long id);
2523 __owur EVP_PKEY *ssl_generate_pkey_group(SSL *s, uint16_t id);
2527 __owur int tls_curve_allowed(SSL *s, uint16_t curve, int op);
2528 void tls1_get_supported_groups(SSL *s, const uint16_t **pgroups,
2531 __owur int tls1_set_server_sigalgs(SSL *s);
2533 __owur SSL_TICKET_STATUS tls_get_ticket_from_client(SSL *s, CLIENTHELLO_MSG *hello,
2535 __owur SSL_TICKET_STATUS tls_decrypt_ticket(SSL *s, const unsigned char *etick,
2540 __owur int tls_use_ticket(SSL *s);
2542 void ssl_set_sig_mask(uint32_t *pmask_a, SSL *s, int op);
2549 int tls1_check_chain(SSL *s, X509 *x, EVP_PKEY *pk, STACK_OF(X509) *chain,
2551 void tls1_set_cert_validity(SSL *s);
2554 __owur int ssl_validate_ct(SSL *s);
2558 __owur DH *ssl_get_auto_dh(SSL *s);
2561 __owur int ssl_security_cert(SSL *s, SSL_CTX *ctx, X509 *x, int vfy, int is_ee);
2562 __owur int ssl_security_cert_chain(SSL *s, STACK_OF(X509) *sk, X509 *ex,
2565 int tls_choose_sigalg(SSL *s, int fatalerrs);
2569 __owur long ssl_get_algorithm2(SSL *s);
2570 __owur int tls12_copy_sigalgs(SSL *s, WPACKET *pkt,
2573 __owur int tls1_save_sigalgs(SSL *s, PACKET *pkt, int cert);
2574 __owur int tls1_process_sigalgs(SSL *s);
2575 __owur int tls1_set_peer_legacy_sigalg(SSL *s, const EVP_PKEY *pkey);
2577 __owur size_t tls12_get_psigalgs(SSL *s, int sent, const uint16_t **psigs);
2579 __owur int tls_check_sigalg_curve(const SSL *s, int curve);
2581 __owur int tls12_check_peer_sigalg(SSL *s, uint16_t, EVP_PKEY *pkey);
2582 __owur int ssl_set_client_disabled(SSL *s);
2583 __owur int ssl_cipher_disabled(const SSL *s, const SSL_CIPHER *c, int op, int echde);
2585 __owur int ssl_handshake_hash(SSL *s, unsigned char *out, size_t outlen,
2588 __owur const EVP_MD *ssl_handshake_md(SSL *s);
2589 __owur const EVP_MD *ssl_prf_md(SSL *s);
2597 __owur int ssl_log_rsa_client_key_exchange(SSL *ssl,
2608 __owur int ssl_log_secret(SSL *ssl, const char *label,
2632 __owur int srp_generate_server_master_secret(SSL *s);
2633 __owur int srp_generate_client_master_secret(SSL *s);
2634 __owur int srp_verify_server_param(SSL *s);
2638 __owur int send_certificate_request(SSL *s);
2648 __owur int custom_ext_parse(SSL *s, unsigned int context, unsigned int ext_type,
2651 __owur int custom_ext_add(SSL *s, int context, WPACKET *pkt, X509 *x,