Merge pull request #1748 from JacobBarthelmeh/Testing

call hamc init with blake2 software test
This commit is contained in:
David Garske
2018-08-14 10:07:01 -06:00
committed by GitHub

View File

@@ -3459,7 +3459,7 @@ int hmac_blake2b_test(void)
continue; /* cavium can't handle short keys, fips not allowed */ continue; /* cavium can't handle short keys, fips not allowed */
#endif #endif
#if defined(HAVE_CAVIUM) && !defined(HAVE_CAVIUM_V) #if !defined(HAVE_CAVIUM_V)
/* Blake2 only supported on Cavium Nitrox III */ /* Blake2 only supported on Cavium Nitrox III */
if (wc_HmacInit(&hmac, HEAP_HINT, devId) != 0) if (wc_HmacInit(&hmac, HEAP_HINT, devId) != 0)
return -3600; return -3600;