pulled up a line.

This commit is contained in:
Anthony Hu
2021-11-16 17:38:36 -05:00
parent 49c7abb875
commit 39edf8d206
2 changed files with 3 additions and 2 deletions

View File

@ -3822,8 +3822,7 @@ static WC_INLINE void DecodeSigAlg(const byte* input, byte* hashAlgo, byte* hsTy
/* Hash performed as part of sign/verify operation. */
*hashAlgo = sha512_mac;
}
else
if (input[1] == FALCON_LEVEL5_SA_MINOR) {
else if (input[1] == FALCON_LEVEL5_SA_MINOR) {
*hsType = falcon_level5_sa_algo;
/* Hash performed as part of sign/verify operation. */
*hashAlgo = sha512_mac;

View File

@ -50,6 +50,8 @@
#include "wolfcrypt/benchmark/benchmark.h"
#endif
#define BENCH_EMBEDDED
/* printf mappings */
#ifdef FREESCALE_MQX
#include <mqx.h>