openssl / openssl

TLS/SSL and crypto library
https://www.openssl.org
Apache License 2.0
25.41k stars 10.06k forks source link

Incorrect error handling with malformed records using AES-CCM and Chacha20 ciphers #25290

Open tomato42 opened 2 weeks ago

tomato42 commented 2 weeks ago

When using openssl 3.2 (cfbe6c0fce96b277a1) when the server receives malformed AES-CCM ciphertexts it responds with incorrect Alert messages: ones with internal_error instead of bad_record_mac.

reproducer

``` openssl req -x509 -newkey rsa -keyout /tmp/localhost.key -out /tmp/localhost.crt -subj /CN=localhost -nodes -batch openssl s_server -key /tmp/localhost.key -cert /tmp/localhost.crt -www -cipher ALL:COMPLEMENTOFALL:@SECLEVEL=0 2>server.err >server.out & openssl_pid=$! git clone https://github.com/tlsfuzzer/tlsfuzzer pushd tlsfuzzer git clone https://github.com/tlsfuzzer/tlslite-ng .tlslite-ng ln -s .tlslite-ng/tlslite tlslite git clone https://github.com/tlsfuzzer/python-ecdsa .python-ecdsa ln -s .python-ecdsa/src/ecdsa ecdsa PYTHONPATH=. python scripts/test-aesccm.py -n 0 -d --ems popd kill $openssl_pid ```

OpenSSL output

``` Using default temp DH parameters ACCEPT 40072C8EF67F0000:error:1C800066:Provider routines:ossl_ccm_stream_update:cipher operation failed:providers/implementations/ciphers/ciphercommon_ccm.c:281: 40072C8EF67F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40072C8EF67F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40072C8EF67F0000:error:1C800073:Provider routines:ossl_ccm_set_ctx_params:invalid data:providers/implementations/ciphers/ciphercommon_ccm.c:126: 40072C8EF67F0000:error:0A0C0103:SSL routines:tls1_cipher:internal error:ssl/record/methods/tls1_meth.c:274: 40072C8EF67F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40072C8EF67F0000:error:1C800066:Provider routines:ossl_ccm_stream_update:cipher operation failed:providers/implementations/ciphers/ciphercommon_ccm.c:281: 40072C8EF67F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40072C8EF67F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40072C8EF67F0000:error:1C800066:Provider routines:ossl_ccm_stream_update:cipher operation failed:providers/implementations/ciphers/ciphercommon_ccm.c:281: 40072C8EF67F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40072C8EF67F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40072C8EF67F0000:error:1C800066:Provider routines:ossl_ccm_stream_update:cipher operation failed:providers/implementations/ciphers/ciphercommon_ccm.c:281: 40072C8EF67F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40072C8EF67F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40072C8EF67F0000:error:1C800066:Provider routines:ossl_ccm_stream_update:cipher operation failed:providers/implementations/ciphers/ciphercommon_ccm.c:281: 40072C8EF67F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40072C8EF67F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40072C8EF67F0000:error:1C800066:Provider routines:ossl_ccm_stream_update:cipher operation failed:providers/implementations/ciphers/ciphercommon_ccm.c:281: 40072C8EF67F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40072C8EF67F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40072C8EF67F0000:error:1C800066:Provider routines:ossl_ccm_stream_update:cipher operation failed:providers/implementations/ciphers/ciphercommon_ccm.c:281: 40072C8EF67F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40072C8EF67F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40072C8EF67F0000:error:1C800066:Provider routines:ossl_ccm_stream_update:cipher operation failed:providers/implementations/ciphers/ciphercommon_ccm.c:281: 40072C8EF67F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: ... ```

tlsfuzzer output

``` sanity ... OK fuzz tag with 1 on pos -6 - using cipher with 16 byte tag ... OK 3 bytes long ciphertext ... Error encountered while processing node ExpectAlert(level=2, description=(20,)) (child: ) with last message being: Error while processing Traceback (most recent call last): File "/home/hkario/dev/tlsfuzzer/scripts/test-aesccm.py", line 583, in main runner.run() File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run node.process(self.state, msg) File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1926, in process raise AssertionError(problem_desc) AssertionError: Expected alert description "bad_record_mac" does not match received "internal_error" fuzz tag with 8 on pos -3 - using cipher with 16 byte tag ... OK fuzz tag with 16 on pos -11 - using cipher with 16 byte tag ... OK fuzz tag with 1 on pos -5 - using cipher with 16 byte tag ... OK fuzz tag with 2 on pos -6 - using cipher with 8 byte tag ... OK fuzz tag with 8 on pos -2 - using cipher with 8 byte tag ... OK fuzz tag with 2 on pos -8 - using cipher with 8 byte tag ... OK fuzz tag with 128 on pos -6 - using cipher with 16 byte tag ... OK fuzz tag with 64 on pos -15 - using cipher with 16 byte tag ... OK fuzz tag with 64 on pos -6 - using cipher with 8 byte tag ... OK 9 bytes long ciphertext ... Error encountered while processing node ExpectAlert(level=2, description=(20,)) (child: ) with last message being: Error while processing Traceback (most recent call last): File "/home/hkario/dev/tlsfuzzer/scripts/test-aesccm.py", line 583, in main runner.run() File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run node.process(self.state, msg) File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1926, in process raise AssertionError(problem_desc) AssertionError: Expected alert description "bad_record_mac" does not match received "internal_error" fuzz tag with 64 on pos -1 - using cipher with 8 byte tag ... OK fuzz tag with 1 on pos -7 - using cipher with 8 byte tag ... OK fuzz tag with 2 on pos -3 - using cipher with 16 byte tag ... OK fuzz tag with 128 on pos -2 - using cipher with 16 byte tag ... OK fuzz tag with 64 on pos -4 - using cipher with 16 byte tag ... OK fuzz tag with 1 on pos -8 - using cipher with 16 byte tag ... OK fuzz tag with 16 on pos -7 - using cipher with 8 byte tag ... OK too big plaintext - above TLSCompressed max with _8 ciphers ... OK fuzz tag with 1 on pos -9 - using cipher with 16 byte tag ... OK fuzz tag with 64 on pos -3 - using cipher with 8 byte tag ... OK fuzz tag with 4 on pos -6 - using cipher with 8 byte tag ... OK fuzz tag with 16 on pos -2 - using cipher with 8 byte tag ... OK fuzz tag with 128 on pos -4 - using cipher with 8 byte tag ... OK fuzz tag with 32 on pos -12 - using cipher with 16 byte tag ... OK fuzz tag with 16 on pos -16 - using cipher with 16 byte tag ... OK fuzz tag with 32 on pos -15 - using cipher with 16 byte tag ... OK fuzz tag with 64 on pos -10 - using cipher with 16 byte tag ... OK fuzz tag with 16 on pos -6 - using cipher with 16 byte tag ... OK fuzz tag with 8 on pos -8 - using cipher with 8 byte tag ... OK fuzz tag with 32 on pos -16 - using cipher with 16 byte tag ... OK fuzz tag with 16 on pos -3 - using cipher with 8 byte tag ... OK fuzz tag with 8 on pos -4 - using cipher with 8 byte tag ... OK fuzz tag with 128 on pos -14 - using cipher with 16 byte tag ... OK fuzz tag with 16 on pos -8 - using cipher with 8 byte tag ... OK fuzz tag with 32 on pos -5 - using cipher with 8 byte tag ... OK fuzz tag with 1 on pos -3 - using cipher with 8 byte tag ... OK fuzz tag with 2 on pos -1 - using cipher with 16 byte tag ... OK fuzz tag with 8 on pos -5 - using cipher with 16 byte tag ... OK fuzz tag with 128 on pos -7 - using cipher with 8 byte tag ... OK [...many lines omitted...] sanity ... OK This script runs fuzzing tests against TLS1.2 AES-CCM ciphers Test end ==================== version: 6 ==================== TOTAL: 230 SKIP: 0 PASS: 206 XFAIL: 0 FAIL: 24 XPASS: 0 ==================== FAILED: '0 bytes long ciphertext' '0 bytes long ciphertext against _8 ciphers' '1 bytes long ciphertext' '1 bytes long ciphertext against _8 ciphers' '2 bytes long ciphertext' '2 bytes long ciphertext against _8 ciphers' '3 bytes long ciphertext' '3 bytes long ciphertext against _8 ciphers' '4 bytes long ciphertext' '4 bytes long ciphertext against _8 ciphers' '5 bytes long ciphertext' '5 bytes long ciphertext against _8 ciphers' '6 bytes long ciphertext' '6 bytes long ciphertext against _8 ciphers' '7 bytes long ciphertext' '7 bytes long ciphertext against _8 ciphers' '8 bytes long ciphertext' '9 bytes long ciphertext' '10 bytes long ciphertext' '11 bytes long ciphertext' '12 bytes long ciphertext' '13 bytes long ciphertext' '14 bytes long ciphertext' '15 bytes long ciphertext' ```

tomato42 commented 2 weeks ago

@openssl I think you may want to mark the above comment as spam

beldmit commented 2 weeks ago

Done

tomato42 commented 2 weeks ago

Similar thing happens when executing the test-chacha20.py script, too small to be valid ciphertexts are rejected with internal_error instead of bad_record_mac.

using test-chacha20.py -n 0 --extra-exts as reproducer, 17cb182ad8fa8164 as OpenSSL version (3.2.3-dev):

OpenSSL output

``` Using default temp DH parameters ACCEPT 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000102:SSL routines:tls_early_post_process_client_hello:unsupported protocol:ssl/statem/statem_srvr.c:1755: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:1C800073:Provider routines:chacha20_poly1305_set_ctx_params:invalid data:providers/implementations/ciphers/cipher_chacha20_poly1305.c:224: 40379E2E737F0000:error:0A0C0103:SSL routines:tls1_cipher:internal error:ssl/record/methods/tls1_meth.c:274: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:1C800073:Provider routines:chacha20_poly1305_set_ctx_params:invalid data:providers/implementations/ciphers/cipher_chacha20_poly1305.c:224: 40379E2E737F0000:error:0A0C0103:SSL routines:tls1_cipher:internal error:ssl/record/methods/tls1_meth.c:274: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:1C800073:Provider routines:chacha20_poly1305_set_ctx_params:invalid data:providers/implementations/ciphers/cipher_chacha20_poly1305.c:224: 40379E2E737F0000:error:0A0C0103:SSL routines:tls1_cipher:internal error:ssl/record/methods/tls1_meth.c:274: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A0000C6:SSL routines:tls_get_more_records:packet length too long:ssl/record/methods/tls_common.c:662: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:1C800073:Provider routines:chacha20_poly1305_set_ctx_params:invalid data:providers/implementations/ciphers/cipher_chacha20_poly1305.c:224: 40379E2E737F0000:error:0A0C0103:SSL routines:tls1_cipher:internal error:ssl/record/methods/tls1_meth.c:274: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:1C800073:Provider routines:chacha20_poly1305_set_ctx_params:invalid data:providers/implementations/ciphers/cipher_chacha20_poly1305.c:224: 40379E2E737F0000:error:0A0C0103:SSL routines:tls1_cipher:internal error:ssl/record/methods/tls1_meth.c:274: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:1C800073:Provider routines:chacha20_poly1305_set_ctx_params:invalid data:providers/implementations/ciphers/cipher_chacha20_poly1305.c:224: 40379E2E737F0000:error:0A0C0103:SSL routines:tls1_cipher:internal error:ssl/record/methods/tls1_meth.c:274: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:1C800073:Provider routines:chacha20_poly1305_set_ctx_params:invalid data:providers/implementations/ciphers/cipher_chacha20_poly1305.c:224: 40379E2E737F0000:error:0A0C0103:SSL routines:tls1_cipher:internal error:ssl/record/methods/tls1_meth.c:274: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:1C800073:Provider routines:chacha20_poly1305_set_ctx_params:invalid data:providers/implementations/ciphers/cipher_chacha20_poly1305.c:224: 40379E2E737F0000:error:0A0C0103:SSL routines:tls1_cipher:internal error:ssl/record/methods/tls1_meth.c:274: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:1C800073:Provider routines:chacha20_poly1305_set_ctx_params:invalid data:providers/implementations/ciphers/cipher_chacha20_poly1305.c:224: 40379E2E737F0000:error:0A0C0103:SSL routines:tls1_cipher:internal error:ssl/record/methods/tls1_meth.c:274: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:1C800073:Provider routines:chacha20_poly1305_set_ctx_params:invalid data:providers/implementations/ciphers/cipher_chacha20_poly1305.c:224: 40379E2E737F0000:error:0A0C0103:SSL routines:tls1_cipher:internal error:ssl/record/methods/tls1_meth.c:274: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:1C800073:Provider routines:chacha20_poly1305_set_ctx_params:invalid data:providers/implementations/ciphers/cipher_chacha20_poly1305.c:224: 40379E2E737F0000:error:0A0C0103:SSL routines:tls1_cipher:internal error:ssl/record/methods/tls1_meth.c:274: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:1C800073:Provider routines:chacha20_poly1305_set_ctx_params:invalid data:providers/implementations/ciphers/cipher_chacha20_poly1305.c:224: 40379E2E737F0000:error:0A0C0103:SSL routines:tls1_cipher:internal error:ssl/record/methods/tls1_meth.c:274: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:1C800073:Provider routines:chacha20_poly1305_set_ctx_params:invalid data:providers/implementations/ciphers/cipher_chacha20_poly1305.c:224: 40379E2E737F0000:error:0A0C0103:SSL routines:tls1_cipher:internal error:ssl/record/methods/tls1_meth.c:274: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:1C800073:Provider routines:chacha20_poly1305_set_ctx_params:invalid data:providers/implementations/ciphers/cipher_chacha20_poly1305.c:224: 40379E2E737F0000:error:0A0C0103:SSL routines:tls1_cipher:internal error:ssl/record/methods/tls1_meth.c:274: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:1C800073:Provider routines:chacha20_poly1305_set_ctx_params:invalid data:providers/implementations/ciphers/cipher_chacha20_poly1305.c:224: 40379E2E737F0000:error:0A0C0103:SSL routines:tls1_cipher:internal error:ssl/record/methods/tls1_meth.c:274: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A0000C6:SSL routines:tls_get_more_records:packet length too long:ssl/record/methods/tls_common.c:662: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:1C800073:Provider routines:chacha20_poly1305_set_ctx_params:invalid data:providers/implementations/ciphers/cipher_chacha20_poly1305.c:224: 40379E2E737F0000:error:0A0C0103:SSL routines:tls1_cipher:internal error:ssl/record/methods/tls1_meth.c:274: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000092:SSL routines:tls_default_post_process_record:data length too long:ssl/record/methods/tls_common.c:1076: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: 40379E2E737F0000:error:0A000119:SSL routines:tls_get_more_records:decryption failed or bad record mac:ssl/record/methods/tls_common.c:866: 40379E2E737F0000:error:0A000139:SSL routines::record layer failure:ssl/record/rec_layer_s3.c:689: ```

tlsfuzzer output

``` sanity ... OK fuzz tag with 32 on pos -16 ... OK fuzz tag with 64 on pos -5 ... OK fuzz tag with 8 on pos -7 ... OK fuzz tag with 1 on pos -2 ... OK fuzz tag with 32 on pos -11 ... OK fuzz tag with 32 on pos -8 ... OK fuzz tag with 16 on pos -13 ... OK fuzz tag with 32 on pos -3 ... OK fuzz tag with 16 on pos -6 ... OK fuzz tag with 4 on pos -3 ... OK fuzz tag with 8 on pos -6 ... OK Chacha20 in TLS1.1 ... Error encountered while processing node ExpectAlert(level=2, description=(40,)) (child: ) with last message being: Error while processing Traceback (most recent call last): File "/home/hkario/dev/tlsfuzzer/scripts/test-chacha20.py", line 410, in main runner.run() File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run node.process(self.state, msg) File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1926, in process raise AssertionError(problem_desc) AssertionError: Expected alert description "handshake_failure" does not match received "protocol_version" fuzz tag with 4 on pos -6 ... OK fuzz tag with 32 on pos -6 ... OK fuzz tag with 128 on pos -8 ... OK fuzz tag with 64 on pos -2 ... OK 13 bytes long ciphertext ... Error encountered while processing node ExpectAlert(level=2, description=(20,)) (child: ) with last message being: Error while processing Traceback (most recent call last): File "/home/hkario/dev/tlsfuzzer/scripts/test-chacha20.py", line 410, in main runner.run() File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run node.process(self.state, msg) File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1926, in process raise AssertionError(problem_desc) AssertionError: Expected alert description "bad_record_mac" does not match received "internal_error" fuzz tag with 4 on pos -11 ... OK 2 bytes long ciphertext ... Error encountered while processing node ExpectAlert(level=2, description=(20,)) (child: ) with last message being: Error while processing Traceback (most recent call last): File "/home/hkario/dev/tlsfuzzer/scripts/test-chacha20.py", line 410, in main runner.run() File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run node.process(self.state, msg) File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1926, in process raise AssertionError(problem_desc) AssertionError: Expected alert description "bad_record_mac" does not match received "internal_error" fuzz tag with 32 on pos -14 ... OK fuzz tag with 8 on pos -14 ... OK fuzz tag with 2 on pos -6 ... OK fuzz tag with 1 on pos -7 ... OK fuzz tag with 128 on pos -10 ... OK fuzz tag with 4 on pos -2 ... OK fuzz tag with 128 on pos -15 ... OK fuzz tag with 4 on pos -16 ... OK fuzz tag with 128 on pos -11 ... OK fuzz tag with 1 on pos -9 ... OK 4 bytes long ciphertext ... Error encountered while processing node ExpectAlert(level=2, description=(20,)) (child: ) with last message being: Error while processing Traceback (most recent call last): File "/home/hkario/dev/tlsfuzzer/scripts/test-chacha20.py", line 410, in main runner.run() File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run node.process(self.state, msg) File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1926, in process raise AssertionError(problem_desc) AssertionError: Expected alert description "bad_record_mac" does not match received "internal_error" too big plaintext - above TLSCompressed max ... OK fuzz tag with 1 on pos -10 ... OK fuzz tag with 2 on pos -12 ... OK 14 bytes long ciphertext ... Error encountered while processing node ExpectAlert(level=2, description=(20,)) (child: ) with last message being: Error while processing Traceback (most recent call last): File "/home/hkario/dev/tlsfuzzer/scripts/test-chacha20.py", line 410, in main runner.run() File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run node.process(self.state, msg) File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1926, in process raise AssertionError(problem_desc) AssertionError: Expected alert description "bad_record_mac" does not match received "internal_error" fuzz tag with 128 on pos -12 ... OK fuzz tag with 4 on pos -13 ... OK fuzz tag with 16 on pos -4 ... OK fuzz tag with 64 on pos -13 ... OK fuzz tag with 128 on pos -2 ... OK fuzz tag with 64 on pos -4 ... OK fuzz tag with 128 on pos -6 ... OK fuzz tag with 2 on pos -10 ... OK fuzz tag with 1 on pos -5 ... OK fuzz tag with 16 on pos -2 ... OK fuzz tag with 8 on pos -13 ... OK fuzz tag with 32 on pos -12 ... OK fuzz tag with 2 on pos -5 ... OK fuzz tag with 16 on pos -15 ... OK fuzz tag with 64 on pos -8 ... OK fuzz tag with 16 on pos -3 ... OK fuzz tag with 128 on pos -16 ... OK fuzz tag with 16 on pos -5 ... OK fuzz tag with 4 on pos -10 ... OK fuzz tag with 8 on pos -9 ... OK max size plaintext ... OK fuzz tag with 1 on pos -16 ... OK fuzz tag with 128 on pos -3 ... OK fuzz tag with 16 on pos -8 ... OK fuzz tag with 128 on pos -13 ... OK fuzz tag with 2 on pos -14 ... OK fuzz tag with 64 on pos -11 ... OK fuzz tag with 16 on pos -16 ... OK 3 bytes long ciphertext ... Error encountered while processing node ExpectAlert(level=2, description=(20,)) (child: ) with last message being: Error while processing Traceback (most recent call last): File "/home/hkario/dev/tlsfuzzer/scripts/test-chacha20.py", line 410, in main runner.run() File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run node.process(self.state, msg) File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1926, in process raise AssertionError(problem_desc) AssertionError: Expected alert description "bad_record_mac" does not match received "internal_error" fuzz tag with 2 on pos -13 ... OK fuzz tag with 32 on pos -15 ... OK fuzz tag with 4 on pos -15 ... OK fuzz tag with 1 on pos -8 ... OK fuzz tag with 2 on pos -15 ... OK fuzz tag with 16 on pos -9 ... OK 9 bytes long ciphertext ... Error encountered while processing node ExpectAlert(level=2, description=(20,)) (child: ) with last message being: Error while processing Traceback (most recent call last): File "/home/hkario/dev/tlsfuzzer/scripts/test-chacha20.py", line 410, in main runner.run() File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run node.process(self.state, msg) File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1926, in process raise AssertionError(problem_desc) AssertionError: Expected alert description "bad_record_mac" does not match received "internal_error" fuzz tag with 32 on pos -7 ... OK fuzz tag with 1 on pos -6 ... OK 5 bytes long ciphertext ... Error encountered while processing node ExpectAlert(level=2, description=(20,)) (child: ) with last message being: Error while processing Traceback (most recent call last): File "/home/hkario/dev/tlsfuzzer/scripts/test-chacha20.py", line 410, in main runner.run() File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run node.process(self.state, msg) File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1926, in process raise AssertionError(problem_desc) AssertionError: Expected alert description "bad_record_mac" does not match received "internal_error" fuzz tag with 128 on pos -9 ... OK fuzz tag with 4 on pos -5 ... OK fuzz tag with 16 on pos -7 ... OK 8 bytes long ciphertext ... Error encountered while processing node ExpectAlert(level=2, description=(20,)) (child: ) with last message being: Error while processing Traceback (most recent call last): File "/home/hkario/dev/tlsfuzzer/scripts/test-chacha20.py", line 410, in main runner.run() File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run node.process(self.state, msg) File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1926, in process raise AssertionError(problem_desc) AssertionError: Expected alert description "bad_record_mac" does not match received "internal_error" fuzz tag with 4 on pos -4 ... OK fuzz tag with 8 on pos -4 ... OK fuzz tag with 2 on pos -16 ... OK fuzz tag with 1 on pos -4 ... OK fuzz tag with 64 on pos -14 ... OK fuzz tag with 64 on pos -3 ... OK 1/n-1 record splitting ... OK fuzz tag with 4 on pos -7 ... OK fuzz tag with 16 on pos -11 ... OK fuzz tag with 32 on pos -2 ... OK fuzz tag with 128 on pos -1 ... OK fuzz tag with 4 on pos -1 ... OK fuzz tag with 64 on pos -12 ... OK fuzz tag with 8 on pos -16 ... OK fuzz tag with 32 on pos -13 ... OK fuzz tag with 1 on pos -15 ... OK 7 bytes long ciphertext ... Error encountered while processing node ExpectAlert(level=2, description=(20,)) (child: ) with last message being: Error while processing Traceback (most recent call last): File "/home/hkario/dev/tlsfuzzer/scripts/test-chacha20.py", line 410, in main runner.run() File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run node.process(self.state, msg) File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1926, in process raise AssertionError(problem_desc) AssertionError: Expected alert description "bad_record_mac" does not match received "internal_error" fuzz tag with 32 on pos -9 ... OK fuzz tag with 32 on pos -5 ... OK fuzz tag with 8 on pos -10 ... OK fuzz tag with 16 on pos -12 ... OK fuzz tag with 64 on pos -9 ... OK fuzz tag with 64 on pos -7 ... OK fuzz tag with 1 on pos -1 ... OK fuzz tag with 8 on pos -12 ... OK fuzz tag with 4 on pos -9 ... OK fuzz tag with 2 on pos -11 ... OK fuzz tag with 4 on pos -12 ... OK fuzz tag with 8 on pos -2 ... OK fuzz tag with 2 on pos -7 ... OK fuzz tag with 1 on pos -13 ... OK fuzz tag with 4 on pos -14 ... OK fuzz tag with 64 on pos -6 ... OK fuzz tag with 8 on pos -3 ... OK fuzz tag with 8 on pos -11 ... OK fuzz tag with 128 on pos -7 ... OK fuzz tag with 64 on pos -15 ... OK fuzz tag with 2 on pos -4 ... OK fuzz tag with 8 on pos -8 ... OK 1 bytes long ciphertext ... Error encountered while processing node ExpectAlert(level=2, description=(20,)) (child: ) with last message being: Error while processing Traceback (most recent call last): File "/home/hkario/dev/tlsfuzzer/scripts/test-chacha20.py", line 410, in main runner.run() File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run node.process(self.state, msg) File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1926, in process raise AssertionError(problem_desc) AssertionError: Expected alert description "bad_record_mac" does not match received "internal_error" fuzz tag with 2 on pos -8 ... OK fuzz tag with 128 on pos -5 ... OK fuzz tag with 2 on pos -9 ... OK fuzz tag with 128 on pos -14 ... OK fuzz tag with 64 on pos -1 ... OK fuzz tag with 8 on pos -15 ... OK 0 bytes long ciphertext ... Error encountered while processing node ExpectAlert(level=2, description=(20,)) (child: ) with last message being: Error while processing Traceback (most recent call last): File "/home/hkario/dev/tlsfuzzer/scripts/test-chacha20.py", line 410, in main runner.run() File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run node.process(self.state, msg) File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1926, in process raise AssertionError(problem_desc) AssertionError: Expected alert description "bad_record_mac" does not match received "internal_error" fuzz tag with 4 on pos -8 ... OK fuzz tag with 32 on pos -1 ... OK 15 bytes long ciphertext ... Error encountered while processing node ExpectAlert(level=2, description=(20,)) (child: ) with last message being: Error while processing Traceback (most recent call last): File "/home/hkario/dev/tlsfuzzer/scripts/test-chacha20.py", line 410, in main runner.run() File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run node.process(self.state, msg) File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1926, in process raise AssertionError(problem_desc) AssertionError: Expected alert description "bad_record_mac" does not match received "internal_error" 6 bytes long ciphertext ... Error encountered while processing node ExpectAlert(level=2, description=(20,)) (child: ) with last message being: Error while processing Traceback (most recent call last): File "/home/hkario/dev/tlsfuzzer/scripts/test-chacha20.py", line 410, in main runner.run() File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run node.process(self.state, msg) File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1926, in process raise AssertionError(problem_desc) AssertionError: Expected alert description "bad_record_mac" does not match received "internal_error" 11 bytes long ciphertext ... Error encountered while processing node ExpectAlert(level=2, description=(20,)) (child: ) with last message being: Error while processing Traceback (most recent call last): File "/home/hkario/dev/tlsfuzzer/scripts/test-chacha20.py", line 410, in main runner.run() File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run node.process(self.state, msg) File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1926, in process raise AssertionError(problem_desc) AssertionError: Expected alert description "bad_record_mac" does not match received "internal_error" fuzz tag with 32 on pos -4 ... OK fuzz tag with 16 on pos -14 ... OK 10 bytes long ciphertext ... Error encountered while processing node ExpectAlert(level=2, description=(20,)) (child: ) with last message being: Error while processing Traceback (most recent call last): File "/home/hkario/dev/tlsfuzzer/scripts/test-chacha20.py", line 410, in main runner.run() File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run node.process(self.state, msg) File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1926, in process raise AssertionError(problem_desc) AssertionError: Expected alert description "bad_record_mac" does not match received "internal_error" fuzz tag with 64 on pos -16 ... OK fuzz tag with 2 on pos -1 ... OK fuzz tag with 1 on pos -12 ... OK too big plaintext - max compress ... OK fuzz tag with 1 on pos -11 ... OK fuzz tag with 32 on pos -10 ... OK fuzz tag with 64 on pos -10 ... OK fuzz tag with 16 on pos -10 ... OK fuzz tag with 1 on pos -14 ... OK fuzz tag with 2 on pos -2 ... OK 12 bytes long ciphertext ... Error encountered while processing node ExpectAlert(level=2, description=(20,)) (child: ) with last message being: Error while processing Traceback (most recent call last): File "/home/hkario/dev/tlsfuzzer/scripts/test-chacha20.py", line 410, in main runner.run() File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 242, in run node.process(self.state, msg) File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1926, in process raise AssertionError(problem_desc) AssertionError: Expected alert description "bad_record_mac" does not match received "internal_error" empty app data ... OK fuzz tag with 8 on pos -1 ... OK fuzz tag with 128 on pos -4 ... OK fuzz tag with 1 on pos -3 ... OK fuzz tag with 8 on pos -5 ... OK too big plaintext ... OK fuzz tag with 16 on pos -1 ... OK fuzz tag with 2 on pos -3 ... OK sanity ... OK Test end ==================== version: 4 ==================== TOTAL: 153 SKIP: 0 PASS: 136 XFAIL: 0 FAIL: 17 XPASS: 0 ==================== FAILED: '0 bytes long ciphertext' '1 bytes long ciphertext' '2 bytes long ciphertext' '3 bytes long ciphertext' '4 bytes long ciphertext' '5 bytes long ciphertext' '6 bytes long ciphertext' '7 bytes long ciphertext' '8 bytes long ciphertext' '9 bytes long ciphertext' '10 bytes long ciphertext' '11 bytes long ciphertext' '12 bytes long ciphertext' '13 bytes long ciphertext' '14 bytes long ciphertext' '15 bytes long ciphertext' 'Chacha20 in TLS1.1' ``` The `Chacha20 in TLS1.1` fails because the TLS 1.1 isn't enabled, so openssl rejects the ClientHello before it gets to cipher selection.