Lines Matching refs:size_t
420 int (*ssl_read) (SSL *s, void *buf, size_t len, size_t *readbytes);
421 int (*ssl_peek) (SSL *s, void *buf, size_t len, size_t *readbytes);
422 int (*ssl_write) (SSL *s, const void *buf, size_t len, size_t *written);
427 unsigned char *buf, size_t len, int peek,
428 size_t *readbytes);
429 int (*ssl_write_bytes) (SSL *s, uint8_t type, const void *buf_, size_t len,
430 size_t *written);
436 size_t *len);
437 size_t (*ssl_pending) (const SSL *s);
482 size_t master_key_length;
492 size_t session_id_length;
499 size_t sid_ctx_length;
536 size_t ticklen; /* Session ticket length */
544 size_t alpn_selected_len;
557 size_t ticket_appdata_len;
642 size_t received_order;
649 size_t session_id_len;
651 size_t dtls_cookie_len;
654 size_t compressions_len;
657 size_t pre_proc_exts_len;
731 int ssl_hmac_init(SSL_HMAC *ctx, void *key, size_t len, char *md);
732 int ssl_hmac_update(SSL_HMAC *ctx, const unsigned char *data, size_t len);
733 int ssl_hmac_final(SSL_HMAC *ctx, unsigned char *md, size_t *len,
734 size_t max_size);
735 size_t ssl_hmac_size(const SSL_HMAC *ctx);
740 size_t enckeylen);
805 size_t session_cache_size;
886 size_t *cookie_len);
890 size_t cookie_len);
923 size_t max_cert_list;
934 size_t sid_ctx_length;
960 size_t split_send_fragment;
965 size_t max_send_fragment;
968 size_t max_pipelines;
971 size_t default_read_buf_len;
1013 size_t ecpointformats_len;
1016 size_t supportedgroups_len;
1020 size_t supported_groups_default_len;
1048 size_t alpn_len;
1122 size_t (*record_padding_cb)(SSL *s, int type, size_t len, void *arg);
1124 size_t block_padding;
1125 size_t hs_padding;
1133 size_t num_tickets;
1151 size_t ssl_mac_secret_size[SSL_MD_NUM_IDX];
1153 size_t tls12_sigalgs_len;
1160 size_t group_list_len;
1161 size_t group_list_max_len;
1164 size_t sigalg_list_len;
1165 size_t sigalg_list_max_len;
1180 size_t client_cert_type_len;
1182 size_t server_cert_type_len;
1267 size_t init_num; /* amount read/written */
1268 size_t init_off; /* amount read/written */
1270 size_t ssl_pkey_num;
1310 size_t finish_md_len;
1312 size_t peer_finish_md_len;
1313 size_t message_size;
1322 size_t ctype_len;
1325 size_t key_block_length;
1330 size_t new_mac_secret_size;
1339 size_t ciphers_rawlen;
1342 size_t pmslen;
1346 size_t psklen;
1361 size_t peer_sigalgslen;
1362 size_t peer_cert_sigalgslen;
1389 size_t previous_client_finished_len;
1391 size_t previous_server_finished_len;
1412 size_t alpn_selected_len;
1415 size_t alpn_proposed_len;
1442 const void *buf, size_t len, SSL *ssl, void *arg);
1485 size_t cert_verify_hash_len;
1495 size_t sid_ctx_length;
1502 size_t psksession_id_len;
1510 size_t tmp_session_id_len;
1549 size_t max_cert_list;
1560 size_t split_send_fragment;
1565 size_t max_send_fragment;
1567 size_t max_pipelines;
1593 size_t resp_len;
1600 size_t ecpointformats_len;
1604 size_t peer_ecpointformats_len;
1607 size_t supportedgroups_len;
1611 size_t peer_supportedgroups_len;
1628 size_t alpn_len;
1637 size_t npn_len;
1652 size_t tls13_cookie_len;
1733 size_t pha_context_len;
1757 size_t asyncrw;
1778 size_t num_tickets;
1780 size_t sent_tickets;
1797 size_t shared_sigalgslen;
1806 size_t client_cert_type_len;
1808 size_t server_cert_type_len;
1885 size_t msg_len;
1887 size_t frag_off;
1888 size_t frag_len;
1920 size_t pqueue_size(pqueue *pq);
1924 size_t cookie_len;
1934 size_t link_mtu; /* max on-the-wire DTLS packet size */
1935 size_t mtu; /* max DTLS packet size */
1966 size_t len;
1967 size_t orig_len;
1990 size_t serverinfo_length;
2042 size_t meths_count;
2060 size_t ssl_pkey_num;
2063 size_t ctype_len;
2071 size_t conf_sigalgslen;
2081 size_t client_sigalgslen;
2119 unsigned char *, size_t, size_t *);
2121 size_t (*final_finish_mac) (SSL_CONNECTION *, const char *, size_t,
2124 size_t client_finished_label_len;
2126 size_t server_finished_label_len;
2128 int (*export_keying_material) (SSL_CONNECTION *, unsigned char *, size_t,
2129 const char *, size_t,
2130 const unsigned char *, size_t,
2442 size_t len; in ssl_has_cert_type()
2474 size_t *pgroupslen) in tls1_get_peer_groups()
2490 __owur int ssl_read_internal(SSL *s, void *buf, size_t num, size_t *readbytes);
2491 __owur int ssl_write_internal(SSL *s, const void *buf, size_t num,
2492 uint64_t flags, size_t *written);
2494 __owur CERT *ssl_cert_new(size_t ssl_pkey_num);
2502 size_t sess_id_len);
2526 int *mac_pkey_type, size_t *mac_secret_size);
2529 int *mac_pkey_type, size_t *mac_secret_size,
2531 __owur int ssl_cipher_get_overhead(const SSL_CIPHER *c, size_t *mac_overhead,
2532 size_t *int_overhead, size_t *blocksize,
2533 size_t *ext_overhead);
2534 __owur int ssl_cert_is_disabled(SSL_CTX *ctx, size_t idx);
2561 __owur int ssl_cert_lookup_by_nid(int nid, size_t *pidx, SSL_CTX *ctx);
2563 size_t *pidx,
2565 __owur const SSL_CERT_LOOKUP *ssl_cert_lookup_by_idx(size_t idx, SSL_CTX *ctx);
2571 size_t *serverinfo_length);
2581 unsigned char *field, size_t len,
2584 size_t pmslen, int free_pms);
2586 __owur int ssl_gensecret(SSL_CONNECTION *s, unsigned char *pms, size_t pmslen);
2590 const unsigned char *ct, size_t ctlen,
2593 unsigned char **ctp, size_t *ctlenp,
2596 __owur int ssl_set_tmp_ecdh_groups(uint16_t **pext, size_t *pextlen,
2605 size_t *len);
2613 unsigned char *p, size_t len,
2614 size_t *secret_size);
2623 __owur size_t ssl3_final_finish_mac(SSL_CONNECTION *s, const char *sender,
2624 size_t slen, unsigned char *p);
2626 size_t len);
2636 __owur int ssl3_read(SSL *s, void *buf, size_t len, size_t *readbytes);
2637 __owur int ssl3_peek(SSL *s, void *buf, size_t len, size_t *readbytes);
2638 __owur int ssl3_write(SSL *s, const void *buf, size_t len, size_t *written);
2677 size_t len,
2678 size_t frag_off, size_t frag_len);
2681 size_t len, size_t *written);
2701 size_t cookie_len);
2702 __owur size_t dtls1_min_mtu(SSL_CONNECTION *s);
2723 __owur size_t tls1_final_finish_mac(SSL_CONNECTION *s, const char *str,
2724 size_t slen, unsigned char *p);
2726 unsigned char *p, size_t len,
2727 size_t *secret_size);
2729 __owur size_t tls13_final_finish_mac(SSL_CONNECTION *s, const char *str, size_t slen,
2736 const unsigned char *label, size_t labellen,
2737 const unsigned char *data, size_t datalen,
2738 unsigned char *out, size_t outlen, int fatal);
2742 const unsigned char *label, size_t labellen,
2743 const unsigned char *data, size_t datalen,
2744 unsigned char *out, size_t outlen,
2748 size_t keylen);
2751 size_t ivlen);
2754 unsigned char *fin, size_t finlen);
2758 size_t insecretlen,
2762 size_t insecretlen);
2764 unsigned char *prev, size_t prevlen,
2765 size_t *secret_size);
2767 unsigned char *out, size_t olen,
2768 const char *label, size_t llen,
2769 const unsigned char *p, size_t plen,
2772 unsigned char *out, size_t olen,
2773 const char *label, size_t llen,
2775 size_t contextlen, int use_context);
2777 unsigned char *out, size_t olen,
2778 const char *label, size_t llen,
2780 size_t contextlen);
2796 __owur int tls1_set_groups(uint16_t **pext, size_t *pextlen,
2797 int *curves, size_t ncurves);
2798 __owur int tls1_set_groups_list(SSL_CTX *ctx, uint16_t **pext, size_t *pextlen,
2805 size_t *num_formats);
2810 size_t *pgroupslen);
2819 size_t eticklen,
2821 size_t sesslen, SSL_SESSION **psess);
2828 __owur int tls1_set_raw_sigalgs(CERT *c, const uint16_t *psigs, size_t salglen,
2830 __owur int tls1_set_sigalgs(CERT *c, const int *salg, size_t salglen,
2851 const uint16_t *psig, size_t psiglen);
2852 __owur int tls1_save_u16(PACKET *pkt, uint16_t **pdest, size_t *pdestlen);
2858 __owur size_t tls12_get_psigalgs(SSL_CONNECTION *s, int sent,
2867 unsigned char *out, size_t outlen,
2868 size_t *hashlen);
2882 size_t encrypted_premaster_len,
2884 size_t premaster_len);
2892 const uint8_t *secret, size_t secret_len);
2917 size_t *idx);
2931 const unsigned char *ext_data, size_t ext_size,
2932 X509 *x, size_t chainidx);
2934 size_t chainidx, int maxversion);
2963 int ssl_hmac_old_init(SSL_HMAC *ctx, void *key, size_t len, char *md);
2964 int ssl_hmac_old_update(SSL_HMAC *ctx, const unsigned char *data, size_t len);
2965 int ssl_hmac_old_final(SSL_HMAC *ctx, unsigned char *md, size_t *len);
2966 size_t ssl_hmac_old_size(const SSL_HMAC *ctx);
3011 size_t ossl_calculate_comp_expansion(int alg, size_t length);