/external/boringssl/src/crypto/err/ |
D | ssl.errordata | 1 SSL,277,ALPN_MISMATCH_ON_EARLY_DATA 2 SSL,309,ALPS_MISMATCH_ON_EARLY_DATA 3 SSL,281,APPLICATION_DATA_INSTEAD_OF_HANDSHAKE 4 SSL,291,APPLICATION_DATA_ON_SHUTDOWN 5 SSL,100,APP_DATA_IN_HANDSHAKE 6 SSL,101,ATTEMPT_TO_REUSE_SESSION_IN_DIFFERENT_CONTEXT 7 SSL,102,BAD_ALERT 8 SSL,103,BAD_CHANGE_CIPHER_SPEC 9 SSL,104,BAD_DATA_RETURNED_BY_CALLBACK 10 SSL,105,BAD_DH_P_LENGTH [all …]
|
/external/libwebsockets/lib/tls/mbedtls/wrapper/include/openssl/ |
D | ssl.h | 42 ssl_get_peer_mbedtls_x509_crt(SSL *ssl); 44 int SSL_set_sni_callback(SSL *ssl, int(*cb)(void *, mbedtls_ssl_context *, 47 void SSL_set_SSL_CTX(SSL *ssl, SSL_CTX *ctx); 52 SSL *SSL_SSL_from_mbedtls_ssl_context(mbedtls_ssl_context *msc); 79 SSL* SSL_new(SSL_CTX *ctx); 88 void SSL_free(SSL *ssl); 99 int SSL_connect(SSL *ssl); 110 int SSL_accept(SSL *ssl); 124 int SSL_read(SSL *ssl, void *buffer, int len); 138 int SSL_write(SSL *ssl, const void *buffer, int len); [all …]
|
/external/boringssl/src/include/openssl/ |
D | ssl.h | 227 OPENSSL_EXPORT SSL *SSL_new(SSL_CTX *ctx); 230 OPENSSL_EXPORT void SSL_free(SSL *ssl); 235 OPENSSL_EXPORT SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl); 238 OPENSSL_EXPORT void SSL_set_connect_state(SSL *ssl); 241 OPENSSL_EXPORT void SSL_set_accept_state(SSL *ssl); 245 OPENSSL_EXPORT int SSL_is_server(const SSL *ssl); 248 OPENSSL_EXPORT int SSL_is_dtls(const SSL *ssl); 268 OPENSSL_EXPORT void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio); 275 OPENSSL_EXPORT void SSL_set0_rbio(SSL *ssl, BIO *rbio); 282 OPENSSL_EXPORT void SSL_set0_wbio(SSL *ssl, BIO *wbio); [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/ |
D | ssl.h | 227 OPENSSL_EXPORT SSL *SSL_new(SSL_CTX *ctx); 230 OPENSSL_EXPORT void SSL_free(SSL *ssl); 235 OPENSSL_EXPORT SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl); 238 OPENSSL_EXPORT void SSL_set_connect_state(SSL *ssl); 241 OPENSSL_EXPORT void SSL_set_accept_state(SSL *ssl); 245 OPENSSL_EXPORT int SSL_is_server(const SSL *ssl); 248 OPENSSL_EXPORT int SSL_is_dtls(const SSL *ssl); 268 OPENSSL_EXPORT void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio); 275 OPENSSL_EXPORT void SSL_set0_rbio(SSL *ssl, BIO *rbio); 282 OPENSSL_EXPORT void SSL_set0_wbio(SSL *ssl, BIO *wbio); [all …]
|
/external/boringssl/src/ssl/ |
D | ssl_lib.cc | 169 OPENSSL_DECLARE_ERROR_REASON(SSL, UNKNOWN_PROTOCOL) 173 OPENSSL_DECLARE_ERROR_REASON(SSL, BLOCK_CIPHER_PAD_IS_WRONG) 174 OPENSSL_DECLARE_ERROR_REASON(SSL, NO_CIPHERS_SPECIFIED) 194 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in CBBFinishArray() 201 void ssl_reset_error_state(SSL *ssl) { in ssl_reset_error_state() 209 void ssl_set_read_error(SSL* ssl) { in ssl_set_read_error() 214 static bool check_read_error(const SSL *ssl) { in check_read_error() 222 bool ssl_can_write(const SSL *ssl) { in ssl_can_write() 226 bool ssl_can_read(const SSL *ssl) { in ssl_can_read() 230 ssl_open_record_t ssl_open_handshake(SSL *ssl, size_t *out_consumed, in ssl_open_handshake() [all …]
|
D | ssl_asn1.cc | 226 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 237 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 246 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 253 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 263 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 271 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 280 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 289 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 298 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 308 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() [all …]
|
D | ssl_file.cc | 143 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in STACK_OF() 158 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in STACK_OF() 209 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_add_file_cert_subjects_to_stack() 252 int SSL_use_certificate_file(SSL *ssl, const char *file, int type) { in SSL_use_certificate_file() 260 OPENSSL_PUT_ERROR(SSL, ERR_R_BUF_LIB); in SSL_use_certificate_file() 265 OPENSSL_PUT_ERROR(SSL, ERR_R_SYS_LIB); in SSL_use_certificate_file() 277 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_SSL_FILETYPE); in SSL_use_certificate_file() 282 OPENSSL_PUT_ERROR(SSL, reason_code); in SSL_use_certificate_file() 295 int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type) { in SSL_use_RSAPrivateKey_file() 302 OPENSSL_PUT_ERROR(SSL, ERR_R_BUF_LIB); in SSL_use_RSAPrivateKey_file() [all …]
|
D | tls13_both.cc | 61 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input() 67 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input() 83 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input() 91 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input() 100 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input() 109 SSL *const ssl = hs->ssl; in tls13_process_certificate() 123 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in tls13_process_certificate() 129 OPENSSL_PUT_ERROR(SSL, SSL_R_UNCOMPRESSED_CERT_TOO_LARGE); in tls13_process_certificate() 145 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_CERT_COMPRESSION_ALG); in tls13_process_certificate() 154 OPENSSL_PUT_ERROR(SSL, SSL_R_CERT_DECOMPRESSION_FAILED); in tls13_process_certificate() [all …]
|
D | internal.h | 194 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in New() 317 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); 322 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); 431 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); 506 uint16_t ssl_protocol_version(const SSL *ssl); 919 size_t ssl_record_prefix_len(const SSL *ssl); 952 enum ssl_open_record_t tls_open_record(SSL *ssl, uint8_t *out_type, 959 enum ssl_open_record_t dtls_open_record(SSL *ssl, uint8_t *out_type, 974 size_t ssl_seal_align_prefix_len(const SSL *ssl); 987 bool tls_seal_record(SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out, [all …]
|
D | ssl_privkey.cc | 81 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_CERTIFICATE_TYPE); in ssl_set_pkey() 146 static bool pkey_supports_algorithm(const SSL *ssl, EVP_PKEY *pkey, in pkey_supports_algorithm() 172 static bool setup_ctx(SSL *ssl, EVP_MD_CTX *ctx, EVP_PKEY *pkey, in setup_ctx() 175 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_SIGNATURE_TYPE); in setup_ctx() 203 SSL *const ssl = hs->ssl; in ssl_private_key_sign() 220 OPENSSL_PUT_ERROR(SSL, SSL_R_PRIVATE_KEY_OPERATION_FAILED); in ssl_private_key_sign() 235 bool ssl_public_key_verify(SSL *ssl, Span<const uint8_t> signature, in ssl_public_key_verify() 256 SSL *const ssl = hs->ssl; in ssl_private_key_decrypt() 266 OPENSSL_PUT_ERROR(SSL, SSL_R_PRIVATE_KEY_OPERATION_FAILED); in ssl_private_key_decrypt() 275 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in ssl_private_key_decrypt() [all …]
|
D | tls_record.cc | 143 static bool ssl_needs_record_splitting(const SSL *ssl) { in ssl_needs_record_splitting() 161 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); in ssl_record_sequence_update() 165 size_t ssl_record_prefix_len(const SSL *ssl) { in ssl_record_prefix_len() 176 size_t ssl_seal_align_prefix_len(const SSL *ssl) { in ssl_seal_align_prefix_len() 190 static ssl_open_record_t skip_early_data(SSL *ssl, uint8_t *out_alert, in skip_early_data() 198 OPENSSL_PUT_ERROR(SSL, SSL_R_TOO_MUCH_SKIPPED_EARLY_DATA); in skip_early_data() 206 ssl_open_record_t tls_open_record(SSL *ssl, uint8_t *out_type, in tls_open_record() 242 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_VERSION_NUMBER); in tls_open_record() 249 OPENSSL_PUT_ERROR(SSL, SSL_R_ENCRYPTED_LENGTH_TOO_LONG); in tls_open_record() 274 OPENSSL_PUT_ERROR(SSL, SSL_R_TOO_MANY_EMPTY_FRAGMENTS); in tls_open_record() [all …]
|
D | ssl_cert.cc | 212 static void ssl_cert_set_cert_cb(CERT *cert, int (*cb)(SSL *ssl, void *arg), in ssl_cert_set_cert_cb() 236 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in check_leaf_cert_and_privkey() 241 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_CERTIFICATE_TYPE); in check_leaf_cert_and_privkey() 249 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_CERTIFICATE_TYPE); in check_leaf_cert_and_privkey() 268 OPENSSL_PUT_ERROR(SSL, ERR_R_PASSED_NULL_PARAMETER); in cert_set_chain_and_key() 273 OPENSSL_PUT_ERROR(SSL, SSL_R_CANNOT_HAVE_BOTH_PRIVKEY_AND_METHOD); in cert_set_chain_and_key() 281 OPENSSL_PUT_ERROR(SSL, SSL_R_CERTIFICATE_AND_PRIVATE_KEY_MISMATCH); in cert_set_chain_and_key() 357 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in ssl_parse_cert_chain() 368 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in ssl_parse_cert_chain() 378 OPENSSL_PUT_ERROR(SSL, SSL_R_CERT_LENGTH_MISMATCH); in ssl_parse_cert_chain() [all …]
|
D | s3_both.cc | 137 static bool add_record_to_flight(SSL *ssl, uint8_t type, in add_record_to_flight() 154 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); in add_record_to_flight() 171 bool tls_init_message(SSL *ssl, CBB *cbb, CBB *body, uint8_t type) { in tls_init_message() 176 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in tls_init_message() 184 bool tls_finish_message(SSL *ssl, CBB *cbb, Array<uint8_t> *out_msg) { in tls_finish_message() 188 bool tls_add_message(SSL *ssl, Array<uint8_t> msg) { in tls_add_message() 244 bool tls_flush_pending_hs_data(SSL *ssl) { in tls_flush_pending_hs_data() 256 OPENSSL_PUT_ERROR(SSL, SSL_R_QUIC_INTERNAL_ERROR); in tls_flush_pending_hs_data() 265 bool tls_add_change_cipher_spec(SSL *ssl) { in tls_add_change_cipher_spec() 283 int tls_flush_flight(SSL *ssl) { in tls_flush_flight() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | ssl_lib.cc | 169 OPENSSL_DECLARE_ERROR_REASON(SSL, UNKNOWN_PROTOCOL) 173 OPENSSL_DECLARE_ERROR_REASON(SSL, BLOCK_CIPHER_PAD_IS_WRONG) 174 OPENSSL_DECLARE_ERROR_REASON(SSL, NO_CIPHERS_SPECIFIED) 194 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in CBBFinishArray() 201 void ssl_reset_error_state(SSL *ssl) { in ssl_reset_error_state() 209 void ssl_set_read_error(SSL* ssl) { in ssl_set_read_error() 214 static bool check_read_error(const SSL *ssl) { in check_read_error() 222 bool ssl_can_write(const SSL *ssl) { in ssl_can_write() 226 bool ssl_can_read(const SSL *ssl) { in ssl_can_read() 230 ssl_open_record_t ssl_open_handshake(SSL *ssl, size_t *out_consumed, in ssl_open_handshake() [all …]
|
D | ssl_asn1.cc | 219 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 230 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 239 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 246 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 256 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 264 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 273 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 282 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 291 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() 301 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_SESSION_to_bytes_full() [all …]
|
D | ssl_file.cc | 143 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in STACK_OF() 158 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in STACK_OF() 209 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_add_file_cert_subjects_to_stack() 252 int SSL_use_certificate_file(SSL *ssl, const char *file, int type) { in SSL_use_certificate_file() 260 OPENSSL_PUT_ERROR(SSL, ERR_R_BUF_LIB); in SSL_use_certificate_file() 265 OPENSSL_PUT_ERROR(SSL, ERR_R_SYS_LIB); in SSL_use_certificate_file() 277 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_SSL_FILETYPE); in SSL_use_certificate_file() 282 OPENSSL_PUT_ERROR(SSL, reason_code); in SSL_use_certificate_file() 295 int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type) { in SSL_use_RSAPrivateKey_file() 302 OPENSSL_PUT_ERROR(SSL, ERR_R_BUF_LIB); in SSL_use_RSAPrivateKey_file() [all …]
|
D | tls13_both.cc | 61 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input() 67 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input() 83 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input() 91 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input() 100 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in tls13_get_cert_verify_signature_input() 109 SSL *const ssl = hs->ssl; in tls13_process_certificate() 123 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in tls13_process_certificate() 129 OPENSSL_PUT_ERROR(SSL, SSL_R_UNCOMPRESSED_CERT_TOO_LARGE); in tls13_process_certificate() 145 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_CERT_COMPRESSION_ALG); in tls13_process_certificate() 154 OPENSSL_PUT_ERROR(SSL, SSL_R_CERT_DECOMPRESSION_FAILED); in tls13_process_certificate() [all …]
|
D | internal.h | 194 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in New() 317 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); 322 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); 423 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); 498 uint16_t ssl_protocol_version(const SSL *ssl); 914 size_t ssl_record_prefix_len(const SSL *ssl); 947 enum ssl_open_record_t tls_open_record(SSL *ssl, uint8_t *out_type, 954 enum ssl_open_record_t dtls_open_record(SSL *ssl, uint8_t *out_type, 969 size_t ssl_seal_align_prefix_len(const SSL *ssl); 982 bool tls_seal_record(SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out, [all …]
|
D | ssl_privkey.cc | 81 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_CERTIFICATE_TYPE); in ssl_set_pkey() 146 static bool pkey_supports_algorithm(const SSL *ssl, EVP_PKEY *pkey, in pkey_supports_algorithm() 172 static bool setup_ctx(SSL *ssl, EVP_MD_CTX *ctx, EVP_PKEY *pkey, in setup_ctx() 175 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_SIGNATURE_TYPE); in setup_ctx() 203 SSL *const ssl = hs->ssl; in ssl_private_key_sign() 220 OPENSSL_PUT_ERROR(SSL, SSL_R_PRIVATE_KEY_OPERATION_FAILED); in ssl_private_key_sign() 235 bool ssl_public_key_verify(SSL *ssl, Span<const uint8_t> signature, in ssl_public_key_verify() 256 SSL *const ssl = hs->ssl; in ssl_private_key_decrypt() 266 OPENSSL_PUT_ERROR(SSL, SSL_R_PRIVATE_KEY_OPERATION_FAILED); in ssl_private_key_decrypt() 275 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in ssl_private_key_decrypt() [all …]
|
D | tls_record.cc | 143 static bool ssl_needs_record_splitting(const SSL *ssl) { in ssl_needs_record_splitting() 161 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); in ssl_record_sequence_update() 165 size_t ssl_record_prefix_len(const SSL *ssl) { in ssl_record_prefix_len() 176 size_t ssl_seal_align_prefix_len(const SSL *ssl) { in ssl_seal_align_prefix_len() 190 static ssl_open_record_t skip_early_data(SSL *ssl, uint8_t *out_alert, in skip_early_data() 198 OPENSSL_PUT_ERROR(SSL, SSL_R_TOO_MUCH_SKIPPED_EARLY_DATA); in skip_early_data() 206 ssl_open_record_t tls_open_record(SSL *ssl, uint8_t *out_type, in tls_open_record() 242 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_VERSION_NUMBER); in tls_open_record() 249 OPENSSL_PUT_ERROR(SSL, SSL_R_ENCRYPTED_LENGTH_TOO_LONG); in tls_open_record() 274 OPENSSL_PUT_ERROR(SSL, SSL_R_TOO_MANY_EMPTY_FRAGMENTS); in tls_open_record() [all …]
|
D | ssl_cert.cc | 212 static void ssl_cert_set_cert_cb(CERT *cert, int (*cb)(SSL *ssl, void *arg), in ssl_cert_set_cert_cb() 236 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in check_leaf_cert_and_privkey() 241 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_CERTIFICATE_TYPE); in check_leaf_cert_and_privkey() 249 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_CERTIFICATE_TYPE); in check_leaf_cert_and_privkey() 268 OPENSSL_PUT_ERROR(SSL, ERR_R_PASSED_NULL_PARAMETER); in cert_set_chain_and_key() 273 OPENSSL_PUT_ERROR(SSL, SSL_R_CANNOT_HAVE_BOTH_PRIVKEY_AND_METHOD); in cert_set_chain_and_key() 281 OPENSSL_PUT_ERROR(SSL, SSL_R_CERTIFICATE_AND_PRIVATE_KEY_MISMATCH); in cert_set_chain_and_key() 357 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in ssl_parse_cert_chain() 368 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in ssl_parse_cert_chain() 378 OPENSSL_PUT_ERROR(SSL, SSL_R_CERT_LENGTH_MISMATCH); in ssl_parse_cert_chain() [all …]
|
D | s3_both.cc | 137 static bool add_record_to_flight(SSL *ssl, uint8_t type, in add_record_to_flight() 154 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); in add_record_to_flight() 171 bool tls_init_message(SSL *ssl, CBB *cbb, CBB *body, uint8_t type) { in tls_init_message() 176 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in tls_init_message() 184 bool tls_finish_message(SSL *ssl, CBB *cbb, Array<uint8_t> *out_msg) { in tls_finish_message() 188 bool tls_add_message(SSL *ssl, Array<uint8_t> msg) { in tls_add_message() 244 bool tls_flush_pending_hs_data(SSL *ssl) { in tls_flush_pending_hs_data() 256 OPENSSL_PUT_ERROR(SSL, SSL_R_QUIC_INTERNAL_ERROR); in tls_flush_pending_hs_data() 265 bool tls_add_change_cipher_spec(SSL *ssl) { in tls_add_change_cipher_spec() 283 int tls_flush_flight(SSL *ssl) { in tls_flush_flight() [all …]
|
/external/libwebsockets/lib/tls/mbedtls/wrapper/include/platform/ |
D | ssl_pm.h | 28 int ssl_pm_new(SSL *ssl); 29 void ssl_pm_free(SSL *ssl); 31 int ssl_pm_handshake(SSL *ssl); 32 int ssl_pm_shutdown(SSL *ssl); 33 int ssl_pm_clear(SSL *ssl); 35 int ssl_pm_read(SSL *ssl, void *buffer, int len); 36 int ssl_pm_send(SSL *ssl, const void *buffer, int len); 37 int ssl_pm_pending(const SSL *ssl); 39 void ssl_pm_set_fd(SSL *ssl, int fd, int mode); 40 int ssl_pm_get_fd(const SSL *ssl, int mode); [all …]
|
/external/libwebsockets/lib/tls/mbedtls/wrapper/library/ |
D | ssl_lib.c | 68 int ossl_statem_in_error(const SSL *ssl) in ossl_statem_in_error() 81 int SSL_want(const SSL *ssl) in SSL_want() 91 int SSL_want_nothing(const SSL *ssl) in SSL_want_nothing() 104 int SSL_want_read(const SSL *ssl) in SSL_want_read() 117 int SSL_want_write(const SSL *ssl) in SSL_want_write() 130 int SSL_want_x509_lookup(const SSL *ssl) in SSL_want_x509_lookup() 140 int SSL_get_error(const SSL *ssl, int ret_code) in SSL_get_error() 171 OSSL_HANDSHAKE_STATE SSL_get_state(const SSL *ssl) in SSL_get_state() 275 SSL *SSL_new(SSL_CTX *ctx) in SSL_new() 278 SSL *ssl; in SSL_new() [all …]
|
/external/libwebsockets/lib/tls/mbedtls/wrapper/include/internal/ |
D | ssl_types.h | 78 typedef struct ssl_st SSL; typedef 161 typedef int (*next_proto_cb)(SSL *ssl, const unsigned char **out, 237 void (*info_callback) (const SSL *ssl, int type, int val); 255 int (*ssl_new)(SSL *ssl); 257 void (*ssl_free)(SSL *ssl); 259 int (*ssl_handshake)(SSL *ssl); 261 int (*ssl_shutdown)(SSL *ssl); 263 int (*ssl_clear)(SSL *ssl); 265 int (*ssl_read)(SSL *ssl, void *buffer, int len); 267 int (*ssl_send)(SSL *ssl, const void *buffer, int len); [all …]
|