Lines Matching refs:SSL

62  * This package is an SSL implementation written
64 * The implementation was written so as to conform with Netscapes SSL.
69 * lhash, DES, etc., code; not just the SSL code. The SSL documentation
169 static int have_handshake_fragment(SSL *s, int type, unsigned char *buf,
171 static int dtls1_record_replay_check(SSL *s, DTLS1_BITMAP *bitmap);
172 static void dtls1_record_bitmap_update(SSL *s, DTLS1_BITMAP *bitmap);
173 static DTLS1_BITMAP *dtls1_get_bitmap(SSL *s, SSL3_RECORD *rr,
176 static int dtls1_record_needs_buffering(SSL *s, SSL3_RECORD *rr,
179 static int dtls1_buffer_record(SSL *s, record_pqueue *q,
181 static int dtls1_process_record(SSL *s);
183 /* copy buffered record into SSL structure */
185 dtls1_copy_record(SSL *s, pitem *item)
207 dtls1_buffer_record(SSL *s, record_pqueue *queue, unsigned char *priority)
268 dtls1_retrieve_buffered_record(SSL *s, record_pqueue *queue)
299 dtls1_process_buffered_records(SSL *s)
333 dtls1_get_buffered_record(SSL *s)
376 dtls1_process_record(SSL *s)
534 int dtls1_get_record(SSL *s)
729 * If we don't have stored data to work from, read a SSL/TLS record first
749 int dtls1_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek)
754 void (*cb)(const SSL *ssl,int type2,int val)=NULL;
1073 * but we trigger an SSL handshake, we return -1 with
1169 ERR_add_error_data(2,"SSL alert number ",tmp);
1306 * but we trigger an SSL handshake, we return -1 with
1382 dtls1_write_app_data_bytes(SSL *s, int type, const void *buf_, int len)
1420 have_handshake_fragment(SSL *s, int type, unsigned char *buf,
1454 int dtls1_write_bytes(SSL *s, int type, const void *buf, int len)
1464 int do_dtls1_write(SSL *s, int type, const unsigned char *buf, unsigned int len, int create_empty_fragment)
1685 static int dtls1_record_replay_check(SSL *s, DTLS1_BITMAP *bitmap)
1708 static void dtls1_record_bitmap_update(SSL *s, DTLS1_BITMAP *bitmap)
1732 int dtls1_dispatch_alert(SSL *s)
1735 void (*cb)(const SSL *ssl,int type,int val)=NULL;
1798 dtls1_get_bitmap(SSL *s, SSL3_RECORD *rr, unsigned int *is_next_epoch)
1821 dtls1_record_needs_buffering(SSL *s, SSL3_RECORD *rr, unsigned short *priority,
1885 dtls1_reset_seq_numbers(SSL *s, int rw)