Lines Matching refs:__owur
814 __owur int tls13_set_encoded_pub_key(EVP_PKEY *pkey,
2202 __owur const SSL_METHOD *ssl_bad_method(int ver);
2203 __owur const SSL_METHOD *sslv3_method(void);
2204 __owur const SSL_METHOD *sslv3_server_method(void);
2205 __owur const SSL_METHOD *sslv3_client_method(void);
2206 __owur const SSL_METHOD *tlsv1_method(void);
2207 __owur const SSL_METHOD *tlsv1_server_method(void);
2208 __owur const SSL_METHOD *tlsv1_client_method(void);
2209 __owur const SSL_METHOD *tlsv1_1_method(void);
2210 __owur const SSL_METHOD *tlsv1_1_server_method(void);
2211 __owur const SSL_METHOD *tlsv1_1_client_method(void);
2212 __owur const SSL_METHOD *tlsv1_2_method(void);
2213 __owur const SSL_METHOD *tlsv1_2_server_method(void);
2214 __owur const SSL_METHOD *tlsv1_2_client_method(void);
2215 __owur const SSL_METHOD *tlsv1_3_method(void);
2216 __owur const SSL_METHOD *tlsv1_3_server_method(void);
2217 __owur const SSL_METHOD *tlsv1_3_client_method(void);
2218 __owur const SSL_METHOD *dtlsv1_method(void);
2219 __owur const SSL_METHOD *dtlsv1_server_method(void);
2220 __owur const SSL_METHOD *dtlsv1_client_method(void);
2221 __owur const SSL_METHOD *dtls_bad_ver_client_method(void);
2222 __owur const SSL_METHOD *dtlsv1_2_method(void);
2223 __owur const SSL_METHOD *dtlsv1_2_server_method(void);
2224 __owur const SSL_METHOD *dtlsv1_2_client_method(void);
2378 __owur int ssl_read_internal(SSL *s, void *buf, size_t num, size_t *readbytes);
2379 __owur int ssl_write_internal(SSL *s, const void *buf, size_t num, size_t *written);
2382 __owur CERT *ssl_cert_new(void);
2383 __owur CERT *ssl_cert_dup(CERT *cert);
2386 __owur int ssl_generate_session_id(SSL *s, SSL_SESSION *ss);
2387 __owur int ssl_get_new_session(SSL *s, int session);
2388 __owur SSL_SESSION *lookup_sess_in_cache(SSL *s, const unsigned char *sess_id,
2390 __owur int ssl_get_prev_session(SSL *s, CLIENTHELLO_MSG *hello);
2391 __owur SSL_SESSION *ssl_session_dup(const SSL_SESSION *src, int ticket);
2392 __owur int ssl_cipher_id_cmp(const SSL_CIPHER *a, const SSL_CIPHER *b);
2394 __owur int ssl_cipher_ptr_id_cmp(const SSL_CIPHER *const *ap,
2396 __owur STACK_OF(SSL_CIPHER) *ssl_create_cipher_list(SSL_CTX *ctx,
2402 __owur int ssl_cache_cipherlist(SSL *s, PACKET *cipher_suites, int sslv2format);
2403 __owur int bytes_to_cipher_list(SSL *s, PACKET *cipher_suites,
2408 __owur int ssl_cipher_get_evp_cipher(SSL_CTX *ctx, const SSL_CIPHER *sslc,
2410 __owur int ssl_cipher_get_evp(SSL_CTX *ctxc, const SSL_SESSION *s,
2414 __owur int ssl_cipher_get_overhead(const SSL_CIPHER *c, size_t *mac_overhead,
2417 __owur int ssl_cert_is_disabled(SSL_CTX *ctx, size_t idx);
2418 __owur const SSL_CIPHER *ssl_get_cipher_by_char(SSL *ssl,
2421 __owur int ssl_cert_set0_chain(SSL *s, SSL_CTX *ctx, STACK_OF(X509) *chain);
2422 __owur int ssl_cert_set1_chain(SSL *s, SSL_CTX *ctx, STACK_OF(X509) *chain);
2423 __owur int ssl_cert_add0_chain_cert(SSL *s, SSL_CTX *ctx, X509 *x);
2424 __owur int ssl_cert_add1_chain_cert(SSL *s, SSL_CTX *ctx, X509 *x);
2425 __owur int ssl_cert_select_current(CERT *c, X509 *x);
2426 __owur int ssl_cert_set_current(CERT *c, long arg);
2429 __owur int ssl_verify_cert_chain(SSL *s, STACK_OF(X509) *sk);
2430 __owur int ssl_build_cert_chain(SSL *s, SSL_CTX *ctx, int flags);
2431 __owur int ssl_cert_set_cert_store(CERT *c, X509_STORE *store, int chain,
2433 __owur int ssl_cert_get_cert_store(CERT *c, X509_STORE **pstore, int chain);
2435 __owur int ssl_security(const SSL *s, int op, int bits, int nid, void *other);
2436 __owur int ssl_ctx_security(const SSL_CTX *ctx, int op, int bits, int nid,
2440 __owur int ssl_cert_lookup_by_nid(int nid, size_t *pidx);
2441 __owur const SSL_CERT_LOOKUP *ssl_cert_lookup_by_pkey(const EVP_PKEY *pk,
2443 __owur const SSL_CERT_LOOKUP *ssl_cert_lookup_by_idx(size_t idx);
2446 __owur int ssl_undefined_void_function(void);
2447 __owur int ssl_undefined_const_function(const SSL *s);
2448 __owur int ssl_get_server_cert_serverinfo(SSL *s,
2452 __owur STACK_OF(SSL_CIPHER) *ssl_get_ciphers_by_id(SSL *s);
2453 __owur int ssl_x509err2alert(int type);
2456 __owur int ssl_setup_sig_algs(SSL_CTX *ctx);
2458 __owur int ssl_fill_hello_random(SSL *s, int server, unsigned char *field,
2460 __owur int ssl_generate_master_secret(SSL *s, unsigned char *pms, size_t pmslen,
2462 __owur EVP_PKEY *ssl_generate_pkey(SSL *s, EVP_PKEY *pm);
2463 __owur int ssl_gensecret(SSL *s, unsigned char *pms, size_t pmslen);
2464 __owur int ssl_derive(SSL *s, EVP_PKEY *privkey, EVP_PKEY *pubkey,
2466 __owur int ssl_decapsulate(SSL *s, EVP_PKEY *privkey,
2469 __owur int ssl_encapsulate(SSL *s, EVP_PKEY *pubkey,
2472 __owur EVP_PKEY *ssl_dh_to_pkey(DH *dh);
2473 __owur int ssl_set_tmp_ecdh_groups(uint16_t **pext, size_t *pextlen,
2475 __owur unsigned int ssl_get_max_send_fragment(const SSL *ssl);
2476 __owur unsigned int ssl_get_split_send_fragment(const SSL *ssl);
2478 __owur const SSL_CIPHER *ssl3_get_cipher_by_id(uint32_t id);
2479 __owur const SSL_CIPHER *ssl3_get_cipher_by_std_name(const char *stdname);
2480 __owur const SSL_CIPHER *ssl3_get_cipher_by_char(const unsigned char *p);
2481 __owur int ssl3_put_cipher_by_char(const SSL_CIPHER *c, WPACKET *pkt,
2484 __owur int ssl3_setup_key_block(SSL *s);
2485 __owur int ssl3_change_cipher_state(SSL *s, int which);
2487 __owur int ssl3_do_write(SSL *s, int type);
2489 __owur int ssl3_generate_master_secret(SSL *s, unsigned char *out,
2492 __owur int ssl3_get_req_cert_type(SSL *s, WPACKET *pkt);
2493 __owur int ssl3_num_ciphers(void);
2494 __owur const SSL_CIPHER *ssl3_get_cipher(unsigned int u);
2499 __owur int ssl3_dispatch_alert(SSL *s);
2500 __owur size_t ssl3_final_finish_mac(SSL *s, const char *sender, size_t slen,
2502 __owur int ssl3_finish_mac(SSL *s, const unsigned char *buf, size_t len);
2504 __owur unsigned long ssl3_output_cert_chain(SSL *s, WPACKET *pkt,
2506 __owur const SSL_CIPHER *ssl3_choose_cipher(SSL *ssl,
2509 __owur int ssl3_digest_cached_records(SSL *s, int keep);
2510 __owur int ssl3_new(SSL *s);
2512 __owur int ssl3_read(SSL *s, void *buf, size_t len, size_t *readbytes);
2513 __owur int ssl3_peek(SSL *s, void *buf, size_t len, size_t *readbytes);
2514 __owur int ssl3_write(SSL *s, const void *buf, size_t len, size_t *written);
2515 __owur int ssl3_shutdown(SSL *s);
2517 __owur long ssl3_ctrl(SSL *s, int cmd, long larg, void *parg);
2518 __owur long ssl3_ctx_ctrl(SSL_CTX *s, int cmd, long larg, void *parg);
2519 __owur long ssl3_callback_ctrl(SSL *s, int cmd, void (*fp) (void));
2520 __owur long ssl3_ctx_callback_ctrl(SSL_CTX *s, int cmd, void (*fp) (void));
2522 __owur int ssl3_do_change_cipher_spec(SSL *ssl);
2523 __owur long ssl3_default_timeout(void);
2525 __owur int ssl3_set_handshake_header(SSL *s, WPACKET *pkt, int htype);
2526 __owur int tls_close_construct_packet(SSL *s, WPACKET *pkt, int htype);
2527 __owur int tls_setup_handshake(SSL *s);
2528 __owur int dtls1_set_handshake_header(SSL *s, WPACKET *pkt, int htype);
2529 __owur int dtls1_close_construct_packet(SSL *s, WPACKET *pkt, int htype);
2530 __owur int ssl3_handshake_write(SSL *s);
2532 __owur int ssl_allow_compression(SSL *s);
2534 __owur int ssl_version_supported(const SSL *s, int version,
2537 __owur int ssl_set_client_hello_version(SSL *s);
2538 __owur int ssl_check_version_downgrade(SSL *s);
2539 __owur int ssl_set_version_bound(int method_version, int version, int *bound);
2540 __owur int ssl_choose_server_version(SSL *s, CLIENTHELLO_MSG *hello,
2542 __owur int ssl_choose_client_version(SSL *s, int version,
2544 __owur int ssl_get_min_max_version(const SSL *s, int *min_version,
2547 __owur long tls1_default_timeout(void);
2548 __owur int dtls1_do_write(SSL *s, int type);
2557 __owur int dtls1_read_failed(SSL *s, int code);
2558 __owur int dtls1_buffer_message(SSL *s, int ccs);
2559 __owur int dtls1_retransmit_message(SSL *s, unsigned short seq, int *found);
2560 __owur int dtls1_get_queue_priority(unsigned short seq, int is_ccs);
2566 __owur long dtls1_default_timeout(void);
2567 __owur struct timeval *dtls1_get_timeout(SSL *s, struct timeval *timeleft);
2568 __owur int dtls1_check_timeout_num(SSL *s);
2569 __owur int dtls1_handle_timeout(SSL *s);
2572 __owur int dtls1_is_timer_expired(SSL *s);
2573 __owur int dtls_raw_hello_verify_request(WPACKET *pkt, unsigned char *cookie,
2575 __owur size_t dtls1_min_mtu(SSL *s);
2577 __owur int dtls1_query_mtu(SSL *s);
2579 __owur int tls1_new(SSL *s);
2583 __owur int dtls1_new(SSL *s);
2587 __owur int dtls1_shutdown(SSL *s);
2589 __owur int dtls1_dispatch_alert(SSL *s);
2591 __owur int ssl_init_wbio_buffer(SSL *s);
2594 __owur int tls1_change_cipher_state(SSL *s, int which);
2595 __owur int tls1_setup_key_block(SSL *s);
2596 __owur size_t tls1_final_finish_mac(SSL *s, const char *str, size_t slen,
2598 __owur int tls1_generate_master_secret(SSL *s, unsigned char *out,
2601 __owur int tls13_setup_key_block(SSL *s);
2602 __owur size_t tls13_final_finish_mac(SSL *s, const char *str, size_t slen,
2604 __owur int tls13_change_cipher_state(SSL *s, int which);
2605 __owur int tls13_update_key(SSL *s, int send);
2606 __owur int tls13_hkdf_expand(SSL *s, const EVP_MD *md,
2611 __owur int tls13_derive_key(SSL *s, const EVP_MD *md,
2614 __owur int tls13_derive_iv(SSL *s, const EVP_MD *md,
2617 __owur int tls13_derive_finishedkey(SSL *s, const EVP_MD *md,
2625 __owur int tls13_generate_handshake_secret(SSL *s,
2628 __owur int tls13_generate_master_secret(SSL *s, unsigned char *out,
2631 __owur int tls1_export_keying_material(SSL *s, unsigned char *out, size_t olen,
2635 __owur int tls13_export_keying_material(SSL *s, unsigned char *out, size_t olen,
2639 __owur int tls13_export_keying_material_early(SSL *s, unsigned char *out,
2644 __owur int tls1_alert_code(int code);
2645 __owur int tls13_alert_code(int code);
2646 __owur int ssl3_alert_code(int code);
2648 __owur int ssl_check_srvr_ecc_cert_and_alg(X509 *x, SSL *s);
2652 __owur const TLS_GROUP_INFO *tls1_group_id_lookup(SSL_CTX *ctx, uint16_t curve_id);
2653 __owur int tls1_group_id2nid(uint16_t group_id, int include_unknown);
2654 __owur uint16_t tls1_nid2group_id(int nid);
2655 __owur int tls1_check_group_id(SSL *s, uint16_t group_id, int check_own_curves);
2656 __owur uint16_t tls1_shared_group(SSL *s, int nmatch);
2657 __owur int tls1_set_groups(uint16_t **pext, size_t *pextlen,
2659 __owur int tls1_set_groups_list(SSL_CTX *ctx, uint16_t **pext, size_t *pextlen,
2661 __owur EVP_PKEY *ssl_generate_pkey_group(SSL *s, uint16_t id);
2662 __owur int tls_valid_group(SSL *s, uint16_t group_id, int minversion,
2664 __owur EVP_PKEY *ssl_generate_param_group(SSL *s, uint16_t id);
2667 __owur int tls1_check_ec_tmp_key(SSL *s, unsigned long id);
2669 __owur int tls_group_allowed(SSL *s, uint16_t curve, int op);
2673 __owur int tls1_set_server_sigalgs(SSL *s);
2675 __owur SSL_TICKET_STATUS tls_get_ticket_from_client(SSL *s, CLIENTHELLO_MSG *hello,
2677 __owur SSL_TICKET_STATUS tls_decrypt_ticket(SSL *s, const unsigned char *etick,
2682 __owur int tls_use_ticket(SSL *s);
2686 __owur int tls1_set_sigalgs_list(CERT *c, const char *str, int client);
2687 __owur int tls1_set_raw_sigalgs(CERT *c, const uint16_t *psigs, size_t salglen,
2689 __owur int tls1_set_sigalgs(CERT *c, const int *salg, size_t salglen,
2696 __owur int ssl_validate_ct(SSL *s);
2699 __owur EVP_PKEY *ssl_get_auto_dh(SSL *s);
2701 __owur int ssl_security_cert(SSL *s, SSL_CTX *ctx, X509 *x, int vfy, int is_ee);
2702 __owur int ssl_security_cert_chain(SSL *s, STACK_OF(X509) *sk, X509 *ex,
2707 __owur EVP_MD_CTX *ssl_replace_hash(EVP_MD_CTX **hash, const EVP_MD *md);
2709 __owur long ssl_get_algorithm2(SSL *s);
2710 __owur int tls12_copy_sigalgs(SSL *s, WPACKET *pkt,
2712 __owur int tls1_save_u16(PACKET *pkt, uint16_t **pdest, size_t *pdestlen);
2713 __owur int tls1_save_sigalgs(SSL *s, PACKET *pkt, int cert);
2714 __owur int tls1_process_sigalgs(SSL *s);
2715 __owur int tls1_set_peer_legacy_sigalg(SSL *s, const EVP_PKEY *pkey);
2716 __owur int tls1_lookup_md(SSL_CTX *ctx, const SIGALG_LOOKUP *lu,
2718 __owur size_t tls12_get_psigalgs(SSL *s, int sent, const uint16_t **psigs);
2719 __owur int tls_check_sigalg_curve(const SSL *s, int curve);
2720 __owur int tls12_check_peer_sigalg(SSL *s, uint16_t, EVP_PKEY *pkey);
2721 __owur int ssl_set_client_disabled(SSL *s);
2722 __owur int ssl_cipher_disabled(const SSL *s, const SSL_CIPHER *c, int op, int echde);
2724 __owur int ssl_handshake_hash(SSL *s, unsigned char *out, size_t outlen,
2726 __owur const EVP_MD *ssl_md(SSL_CTX *ctx, int idx);
2727 __owur const EVP_MD *ssl_handshake_md(SSL *s);
2728 __owur const EVP_MD *ssl_prf_md(SSL *s);
2736 __owur int ssl_log_rsa_client_key_exchange(SSL *ssl,
2747 __owur int ssl_log_secret(SSL *ssl, const char *label,
2773 __owur char ssl3_cbc_record_digest_supported(const EVP_MD_CTX *ctx);
2774 __owur int ssl3_cbc_digest_record(const EVP_MD *md,
2784 __owur int srp_generate_server_master_secret(SSL *s);
2785 __owur int srp_generate_client_master_secret(SSL *s);
2786 __owur int srp_verify_server_param(SSL *s);
2790 __owur int send_certificate_request(SSL *s);
2800 __owur int custom_ext_parse(SSL *s, unsigned int context, unsigned int ext_type,
2803 __owur int custom_ext_add(SSL *s, int context, WPACKET *pkt, X509 *x,
2806 __owur int custom_exts_copy(custom_ext_methods *dst,
2808 __owur int custom_exts_copy_flags(custom_ext_methods *dst,