forked from wolfSSL/wolfssl
Merge pull request #8737 from julek-wolfssl/wc_HKDF_Expand_ex-fix
wc_HKDF_Expand_ex: correctly advance the index
This commit is contained in:
@ -1581,7 +1581,7 @@ int wolfSSL_GetHmacMaxSize(void)
|
|||||||
left = min(left, hashSz);
|
left = min(left, hashSz);
|
||||||
XMEMCPY(out+outIdx, tmp, left);
|
XMEMCPY(out+outIdx, tmp, left);
|
||||||
|
|
||||||
outIdx += hashSz;
|
outIdx += left;
|
||||||
n++;
|
n++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user