<feed xmlns='http://www.w3.org/2005/Atom'>
<title>netxduo.git/nx_secure/src/nx_secure_tls_process_certificate_verify.c, branch dev</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/netxduo.git/atom/nx_secure/src/nx_secure_tls_process_certificate_verify.c?h=dev</id>
<link rel='self' href='http://cgit.235523.xyz/netxduo.git/atom/nx_secure/src/nx_secure_tls_process_certificate_verify.c?h=dev'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/'/>
<updated>2026-08-13T14:09:24Z</updated>
<entry>
<title>Fixed the TLS 1.3 CertificateVerify transcript hash length (#417)</title>
<updated>2026-08-13T14:09:24Z</updated>
<author>
<name>Edouard Malot</name>
<email>edouard.malot@gmail.com</email>
</author>
<published>2026-08-13T14:09:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/commit/?id=45993eb789fdb277aa5156450aeff21b69cd2b1a'/>
<id>urn:sha1:45993eb789fdb277aa5156450aeff21b69cd2b1a</id>
<content type='text'>
* Fix TLS 1.3 CertificateVerify transcript hash length (use ciphersuite hash)

Per RFC 8446 §4.4.3 the CertificateVerify content embeds
Transcript-Hash(Handshake Context), whose length is fixed by the
negotiated ciphersuite's hash — not by the signature scheme's hash.
The dynamic length introduced during the #377 review keyed it to the
signature scheme's hash; the two differ whenever the peer signs with
a hash other than the suite's, e.g. an ECDSA P-384 certificate
(ecdsa_secp384r1_sha384) with TLS_AES_128_GCM_SHA256 — the only TLS 1.3
suite currently enabled. In that case 48 bytes were copied from a
32-byte transcript hash slot, corrupting the signed content on the send
side and rejecting valid peer signatures on the verify side.

Key the transcript length to the session ciphersuite hash (with the
same SHA-256 fallback as _nx_secure_tls_1_3_transcript_hash_save); the
signature scheme's hash still digests the assembled content and
parameterizes RSA-PSS.

* Add a regression test for the TLS 1.3 CertificateVerify transcript hash length

Calls _nx_secure_tls_send_certificate_verify and
_nx_secure_tls_process_certificate_verify directly with a signature-scheme
hash (SHA-384) that differs from the ciphersuite hash (SHA-256), and
captures via a spy hash method the exact byte count copied into the
CertificateVerify content. Asserts 32 bytes (the ciphersuite's SHA-256,
correct per RFC 8446 §4.4.3), not 48 (the signature scheme's SHA-384,
what the bug copied).

* Documented why the SHA-384 test case cannot run end to end

---------

Co-authored-by: Claude Fable 5 &lt;noreply@anthropic.com&gt;</content>
</entry>
<entry>
<title>Added RSA-PSS signature verification support (TLS 1.3 with RSA cert) (#377)</title>
<updated>2026-05-21T19:23:32Z</updated>
<author>
<name>Edouard Malot</name>
<email>edouard.malot@gmail.com</email>
</author>
<published>2026-05-21T19:23:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/commit/?id=17d3abf227d9be925fd0559366e8ac91a7504e4c'/>
<id>urn:sha1:17d3abf227d9be925fd0559366e8ac91a7504e4c</id>
<content type='text'>
* Add RSA-PSS

* Fix SHA-384/512 transcript hash truncation and add MGF1 bounds check

Address review feedback on RSA-PSS PR:
- Resize handshake_hash buffer from 130 to 162 bytes (64+34+64) in
  both nx_secure_tls_process_certificate_verify.c and
  nx_secure_tls_send_certificate_verify.c to fit SHA-512 transcript.
- Replace hardcoded 32-byte transcript hash copy with dynamic length
  derived from hash_method-&gt;nx_crypto_ICV_size_in_bits.
- Add bounds check in _nx_crypto_rsa_pss_mgf1 to reject hash_method
  whose output exceeds the local hash_buf size.

* Fix RSA-PSS verify in TLS 1.2 ServerKeyExchange

Extend RSA-PSS support to TLS 1.2 ServerKeyExchange signature verify:
- nx_secure_process_server_key_exchange.c: detect RSA-PSS wire codes
  (0x0804/0805/0806) and dispatch to _nx_crypto_rsa_pss_verify after
  RSA decrypt; PKCS#1 v1.5 path kept for non-PSS signatures.
- nx_secure_tls_process_clienthello_extensions.c: map RSA-PSS wire
  codes to the existing RSA SHA-256/384/512 internal IDs so the
  certificate cipher table lookup finds the right hash method.</content>
</entry>
<entry>
<title>Updated copyright headers and version strings. Removed version history</title>
<updated>2026-03-06T23:14:18Z</updated>
<author>
<name>Frédéric Desbiens</name>
<email>frederic.desbiens@eclipse-foundation.org</email>
</author>
<published>2026-03-06T23:14:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/commit/?id=ff90b3ffcb84b2c6099ec31ef032b541e1ef5f0a'/>
<id>urn:sha1:ff90b3ffcb84b2c6099ec31ef032b541e1ef5f0a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Updated version numbers to 6.4.3</title>
<updated>2025-03-18T14:24:08Z</updated>
<author>
<name>Frédéric Desbiens</name>
<email>frederic.desbiens@eclipse-foundation.org</email>
</author>
<published>2025-03-18T14:24:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/commit/?id=c82ea77c4bf3a3e25b6f622e59465998f8c6e738'/>
<id>urn:sha1:c82ea77c4bf3a3e25b6f622e59465998f8c6e738</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update copyright.</title>
<updated>2024-01-29T03:03:49Z</updated>
<author>
<name>Bo Chen (from Dev Box)</name>
<email>boche@microsoft.com</email>
</author>
<published>2024-01-29T03:03:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/commit/?id=6c6e58cb977dd1c08d2d344624e7d30d15d48d35'/>
<id>urn:sha1:6c6e58cb977dd1c08d2d344624e7d30d15d48d35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Release 6.2.1 on 08 Mar 2023. Expand to see details.</title>
<updated>2023-03-08T08:27:44Z</updated>
<author>
<name>Tiejun Zhou</name>
<email>tizho@microsoft.com</email>
</author>
<published>2023-03-08T08:27:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/commit/?id=e054d6afd1e52c445512a513bd8c375565b848ea'/>
<id>urn:sha1:e054d6afd1e52c445512a513bd8c375565b848ea</id>
<content type='text'>
29eee6fe8 Update function header and version to 6.2.1
e22a02169 Fix compile errors in TLS
3e0a14c1c Fix network driver for regression test.
442f3adfa Fix compiler warnings in NetXDuo
</content>
</entry>
<entry>
<title>Update on 18 Jan 2023. Expand to see details.</title>
<updated>2023-01-18T08:40:56Z</updated>
<author>
<name>Tiejun Zhou</name>
<email>tizho@microsoft.com</email>
</author>
<published>2023-01-18T08:40:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/commit/?id=a34a65efae141f909378a37686e4f9da5ee796c5'/>
<id>urn:sha1:a34a65efae141f909378a37686e4f9da5ee796c5</id>
<content type='text'>
5849a60fa Fix compile errors when NX_SECURE_DISABLE_X509 is defined.
775a624ac Remove internal deprecated files.
fa4680237 Clear MQTT password while X509 authentication is selected
5cb6488b4 Add a notice for not released file.
7600d5747 Upgrade to the latest Container Images.
3fdcc4420 [ADU] Add secondary root key and remove testing key.
</content>
</entry>
<entry>
<title>Release 6.2.0</title>
<updated>2022-10-26T23:42:00Z</updated>
<author>
<name>Tiejun Zhou</name>
<email>tizho@microsoft.com</email>
</author>
<published>2022-10-26T23:42:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/commit/?id=70e556388ea78bea930921daf24f0bff1980cc7b'/>
<id>urn:sha1:70e556388ea78bea930921daf24f0bff1980cc7b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Release 6.1.11</title>
<updated>2022-04-20T05:07:25Z</updated>
<author>
<name>Yuxin Zhou</name>
<email>yuxzho@microsoft.com</email>
</author>
<published>2022-04-20T05:07:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/commit/?id=8c416fc7521b8e0aa7794344f158bea58457e5fa'/>
<id>urn:sha1:8c416fc7521b8e0aa7794344f158bea58457e5fa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Release 6.1.8</title>
<updated>2021-07-28T07:24:24Z</updated>
<author>
<name>Yuxin Zhou</name>
<email>yuxzho@microsoft.com</email>
</author>
<published>2021-07-28T07:24:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/commit/?id=cb2245c8d1041d8250df797dd145091d08cd194c'/>
<id>urn:sha1:cb2245c8d1041d8250df797dd145091d08cd194c</id>
<content type='text'>
</content>
</entry>
</feed>
