Lines Matching refs:SSL

127 static int do_ssl3_write(SSL *ssl, int type, const uint8_t *in, unsigned len);
129 int ssl3_write_app_data(SSL *ssl, bool *out_needs_handshake, const uint8_t *in, in ssl3_write_app_data()
137 OPENSSL_PUT_ERROR(SSL, SSL_R_PROTOCOL_IS_SHUTDOWN); in ssl3_write_app_data()
155 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_LENGTH); in ssl3_write_app_data()
204 static int ssl3_write_pending(SSL *ssl, int type, const uint8_t *in, in ssl3_write_pending()
210 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_WRITE_RETRY); in ssl3_write_pending()
223 static int do_ssl3_write(SSL *ssl, int type, const uint8_t *in, unsigned len) { in do_ssl3_write()
231 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in do_ssl3_write()
249 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); in do_ssl3_write()
302 ssl_open_record_t ssl3_open_app_data(SSL *ssl, Span<uint8_t> *out, in ssl3_open_app_data()
322 OPENSSL_PUT_ERROR(SSL, SSL_R_NO_RENEGOTIATION); in ssl3_open_app_data()
335 OPENSSL_PUT_ERROR(SSL, SSL_R_UNEXPECTED_RECORD); in ssl3_open_app_data()
342 OPENSSL_PUT_ERROR(SSL, SSL_R_TOO_MUCH_READ_EARLY_DATA); in ssl3_open_app_data()
358 ssl_open_record_t ssl3_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in ssl3_open_change_cipher_spec()
369 OPENSSL_PUT_ERROR(SSL, SSL_R_UNEXPECTED_RECORD); in ssl3_open_change_cipher_spec()
375 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_CHANGE_CIPHER_SPEC); in ssl3_open_change_cipher_spec()
384 int ssl_send_alert(SSL *ssl, int level, int desc) { in ssl_send_alert()
387 OPENSSL_PUT_ERROR(SSL, SSL_R_PROTOCOL_IS_SHUTDOWN); in ssl_send_alert()
412 int ssl3_dispatch_alert(SSL *ssl) { in ssl3_dispatch_alert()
416 OPENSSL_PUT_ERROR(SSL, SSL_R_QUIC_INTERNAL_ERROR); in ssl3_dispatch_alert()