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
184 static int have_handshake_fragment(SSL *s, int type, unsigned char *buf,
186 static int dtls1_record_replay_check(SSL *s, DTLS1_BITMAP *bitmap);
187 static void dtls1_record_bitmap_update(SSL *s, DTLS1_BITMAP *bitmap);
188 static DTLS1_BITMAP *dtls1_get_bitmap(SSL *s, SSL3_RECORD *rr,
191 static int dtls1_record_needs_buffering(SSL *s, SSL3_RECORD *rr,
195 static int dtls1_buffer_record(SSL *s, record_pqueue *q,
197 static int dtls1_process_record(SSL *s);
199 /* copy buffered record into SSL structure */
200 static int dtls1_copy_record(SSL *s, pitem *item)
221 dtls1_buffer_record(SSL *s, record_pqueue *queue, unsigned char *priority)
286 static int dtls1_retrieve_buffered_record(SSL *s, record_pqueue *queue)
319 static int dtls1_process_buffered_records(SSL *s)
352 static int dtls1_get_buffered_record(SSL *s)
394 static int dtls1_process_record(SSL *s)
572 int dtls1_get_record(SSL *s)
751 * If we don't have stored data to work from, read a SSL/TLS record first
771 int dtls1_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek)
776 void (*cb) (const SSL *ssl, int type2, int val) = NULL;
1105 * but we trigger an SSL handshake, we return -1 with
1202 ERR_add_error_data(2, "SSL alert number ", tmp);
1335 * trigger an SSL handshake, we return -1 with the retry
1406 int dtls1_write_app_data_bytes(SSL *s, int type, const void *buf_, int len)
1447 have_handshake_fragment(SSL *s, int type, unsigned char *buf,
1479 int dtls1_write_bytes(SSL *s, int type, const void *buf, int len)
1489 int do_dtls1_write(SSL *s, int type, const unsigned char *buf,
1718 static int dtls1_record_replay_check(SSL *s, DTLS1_BITMAP *bitmap)
1739 static void dtls1_record_bitmap_update(SSL *s, DTLS1_BITMAP *bitmap)
1760 int dtls1_dispatch_alert(SSL *s)
1763 void (*cb) (const SSL *ssl, int type, int val) = NULL;
1823 static DTLS1_BITMAP *dtls1_get_bitmap(SSL *s, SSL3_RECORD *rr,
1845 dtls1_record_needs_buffering(SSL *s, SSL3_RECORD *rr,
1903 void dtls1_reset_seq_numbers(SSL *s, int rw)