fix whitespace and C++-style comments.

This commit is contained in:
Daniel Pouzzner 2022-08-12 15:18:27 -05:00
parent 60437bba6e
commit b4f1b6d04d
3 changed files with 6 additions and 6 deletions

View File

@ -14800,7 +14800,7 @@ void FreeSignatureCtx(SignatureCtx* sigCtx)
sigCtx->key.ed448 = NULL;
break;
#endif /* HAVE_ED448 */
#if defined(HAVE_PQC)
#if defined(HAVE_PQC)
#if defined(HAVE_FALCON)
case FALCON_LEVEL1k:
case FALCON_LEVEL5k:

View File

@ -950,7 +950,7 @@ int wc_Dilithium_PublicKeyToDer(dilithium_key* key, byte* output, word32 inLen,
return ret;
}
#endif
#endif
int wc_Dilithium_KeyToDer(dilithium_key* key, byte* output, word32 inLen)
{

View File

@ -59,11 +59,11 @@ extern "C" {
#define HAVE_ECC
#define ECC_USER_CURVES
//#define HAVE_ECC192
//#define HAVE_ECC224
/* #define HAVE_ECC192 */
/* #define HAVE_ECC224 */
#undef NO_ECC256
//#define HAVE_ECC384
//#define HAVE_ECC521
/* #define HAVE_ECC384 */
/* #define HAVE_ECC521 */
#define ECC_SHAMIR
#define ECC_TIMING_RESISTANT