forked from wolfSSL/wolfssl
NULL plaintext input is supported in FIPS testing
This commit is contained in:
@ -54,7 +54,7 @@
|
|||||||
}
|
}
|
||||||
int wc_HmacUpdate(Hmac* hmac, const byte* in, word32 sz)
|
int wc_HmacUpdate(Hmac* hmac, const byte* in, word32 sz)
|
||||||
{
|
{
|
||||||
if (hmac == NULL || in == NULL) {
|
if (hmac == NULL) {
|
||||||
return BAD_FUNC_ARG;
|
return BAD_FUNC_ARG;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user