[gnutls-devel] GnuTLS | assert: lib/accelerated/x86/aes-gcm-x86-pclmul-avx.c[aesni_gcm_aead_decrypt]:351 (#707)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Feb 19 22:06:15 CET 2019


It still fails to decrypt it:

```
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (5) REC[0x560dad8cef80]: End of epoch cleanup
Feb 19 22:01:46 piranha kresd[15127]: [tls_client] TLS handshake with 2620:fe::fe#00853 has completed
Feb 19 22:01:46 piranha kresd[15127]: [tls_client] TLS session has not resumed
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (3) ASSERT: ../../lib/buffers.c[_gnutls_io_read_buffered]:589
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (5) REC[0x560dad8cef80]: Preparing Packet Application Data(23) with length: 40 and min pad: 0
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (5) REC[0x560dad8cef80]: Sent Packet[1] Application Data(23) in epoch 2 and length: 62
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (3) ASSERT: ../../lib/buffers.c[_gnutls_io_read_buffered]:589
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (3) ASSERT: ../../lib/record.c[_gnutls_recv_int]:1766
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (5) REC[0x560dad8cef80]: SSL 3.3 Application Data packet received. Epoch 2, length: 74
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (5) REC[0x560dad8cef80]: Expected Packet Application Data(23)
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (5) REC[0x560dad8cef80]: Received Packet Application Data(23) with length: 74
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (5) REC[0x560dad8cef80]: Decrypted Packet[0] Handshake(22) with length: 57
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (3) ASSERT: ../../lib/buffers.c[get_last_packet]:1171
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (4) HSK[0x560dad8cef80]: NEW SESSION TICKET (4) was received. Length 53[53], frag offset 0, frag length: 53, sequence: 0
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (3) ASSERT: ../../lib/buffers.c[_gnutls_handshake_io_recv_int]:1431
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (4) HSK[0x560dad8cef80]: parsing session ticket message
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (3) ASSERT: ../../lib/record.c[_gnutls_recv_in_buffers]:1567
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (3) ASSERT: ../../lib/record.c[_gnutls_recv_int]:1766
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (5) REC[0x560dad8cef80]: SSL 3.3 Application Data packet received. Epoch 2, length: 73
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (5) REC[0x560dad8cef80]: Expected Packet Application Data(23)
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (5) REC[0x560dad8cef80]: Received Packet Application Data(23) with length: 73
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (3) ASSERT: ../../../lib/nettle/cipher.c[wrap_nettle_cipher_aead_decrypt]:880
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (3) ASSERT: ../../lib/crypto-api.c[gnutls_aead_cipher_decrypt]:714
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (3) ASSERT: ../../lib/cipher.c[decrypt_packet_tls13]:873
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (3) ASSERT: ../../lib/cipher.c[_gnutls_decrypt]:160
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (3) ASSERT: ../../lib/record.c[_gnutls_recv_in_buffers]:1468
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (1) Discarded message[1] due to invalid decryption
Feb 19 22:01:46 piranha kresd[15127]: [gnutls] (3) ASSERT: ../../lib/record.c[_gnutls_recv_int]:1766
Feb 19 22:01:46 piranha kresd[15127]: [tls_client] gnutls_record_recv failed: GNUTLS_E_DECRYPTION_FAILED (-24)
Feb 19 22:01:48 piranha kresd[15127]: [gnutls] (3) ASSERT: ../../lib/record.c[check_session_status]:1639
Feb 19 22:01:48 piranha kresd[15127]: [tls_client] gnutls_record_recv failed: GNUTLS_E_INVALID_SESSION (-10)
Feb 19 22:01:48 piranha kresd[15127]: [io] => connection to '2620:fe::fe#00853' closed by peer (end of file)
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/707#note_142900885
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190219/9fad5d89/attachment.html>


More information about the Gnutls-devel mailing list