ForceZero hmac buffer in Tls13IntegrityOnly_Decrypt before return F-1466

This commit is contained in:
Juliusz Sosinowicz
2026-04-03 09:57:59 +02:00
parent d7ecfec5e2
commit b72a2133fc
+1
View File
@@ -2968,6 +2968,7 @@ static int Tls13IntegrityOnly_Decrypt(WOLFSSL* ssl, byte* output,
/* Copy the input to output if not the same buffer */
if (ret == 0 && output != input)
XMEMCPY(output, input, sz);
ForceZero(hmac, sizeof(hmac));
return ret;
}
#endif