<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[wolfSSL - Embedded SSL Library — In case of DTLS 1.3 when using NULL cipher the Nonce length invalid]]></title>
		<link>https://www.wolfssl.com/forums/topic2470-in-case-of-dtls-13-when-using-null-cipher-the-nonce-length-invalid.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic2470.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in In case of DTLS 1.3 when using NULL cipher the Nonce length invalid.]]></description>
		<lastBuildDate>Tue, 10 Feb 2026 15:58:38 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: In case of DTLS 1.3 when using NULL cipher the Nonce length invalid]]></title>
			<link>https://www.wolfssl.com/forums/post8720.html#p8720</link>
			<description><![CDATA[<p>Thank you for posting this. I&#039;ve noticed you sent the same request to support@wolfssl.com.&nbsp; I will help you there.</p>]]></description>
			<author><![CDATA[null@example.com (anthony)]]></author>
			<pubDate>Tue, 10 Feb 2026 15:58:38 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post8720.html#p8720</guid>
		</item>
		<item>
			<title><![CDATA[In case of DTLS 1.3 when using NULL cipher the Nonce length invalid]]></title>
			<link>https://www.wolfssl.com/forums/post8719.html#p8719</link>
			<description><![CDATA[<p>Version<br />master branch, commit from 2026.02.06 (hash: 25db90...)</p><p>Description<br />I am using DTLS 1.3 with TLS_SHA384_SHA384 (integrity only, NULL cipher)<br />In this case when the BuildTls13Nonce gets executed, the seq_offset calculated as follows:</p><p>int seq_offset = AEAD_NONCE_SZ - SEQ_SZ;</p><p>According to my understanding, the seq_offset is variable and should depend on the size of the HMAC Nonce.<br />In wolfssl this is called HMAC_NONCE_SZ</p><p>Explanation:</p><p>According to Section 5.3 (&quot;Per-Record Nonce&quot;) of RFC 8446 (<a href="https://www.rfc-editor.org/rfc/rfc8446#section-5.3">https://www.rfc-editor.org/rfc/rfc8446#section-5.3</a>):</p><p>&quot;The resulting quantity (of length iv_length) is used as the<br />per-record nonce.&quot;</p><p>This means that the nonce has to be the same length as the IV.</p><p>According to Section 6 (&quot;Key Schedule when Using Integrity-Only Cipher Suites&quot;) of RFC 9150 (<a href="https://www.rfc-editor.org/rfc/rfc9150.html#section-6">https://www.rfc-editor.org/rfc/rfc9150.html#section-6</a>), the IV length of TLS_SHA384_SHA384 is 48.</p><p>Therefore, these two combined mean that the nonce length in case of TLS_SHA384_SHA384 shall be 48.</p><p>See also:&nbsp; <a href="https://github.com/wolfSSL/wolfssl/issues/9757">https://github.com/wolfSSL/wolfssl/issues/9757</a></p>]]></description>
			<author><![CDATA[null@example.com (andras.erdos)]]></author>
			<pubDate>Tue, 10 Feb 2026 13:36:39 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post8719.html#p8719</guid>
		</item>
	</channel>
</rss>
