Merge pull request #317 from sjscymru/fix-hdfk-buffer-overflow

Fix HKDF implementation to prevent buffer overrun when compiled with NX_SECURE_KEY_CLEAR
This commit is contained in:
Frédéric Desbiens
2025-09-29 11:24:13 +01:00
committed by GitHub

View File

@@ -172,7 +172,7 @@ UINT status;
if(hmac_method)
{
status = hmac_method -> nx_crypto_cleanup(hmac_method);
status = hmac_method -> nx_crypto_cleanup(hkdf->nx_crypto_hmac_metadata);
if (status != NX_CRYPTO_SUCCESS)
{