forked from wolfSSL/wolfssl
fix whitespace and C++-style comments.
This commit is contained in:
@ -14800,7 +14800,7 @@ void FreeSignatureCtx(SignatureCtx* sigCtx)
|
|||||||
sigCtx->key.ed448 = NULL;
|
sigCtx->key.ed448 = NULL;
|
||||||
break;
|
break;
|
||||||
#endif /* HAVE_ED448 */
|
#endif /* HAVE_ED448 */
|
||||||
#if defined(HAVE_PQC)
|
#if defined(HAVE_PQC)
|
||||||
#if defined(HAVE_FALCON)
|
#if defined(HAVE_FALCON)
|
||||||
case FALCON_LEVEL1k:
|
case FALCON_LEVEL1k:
|
||||||
case FALCON_LEVEL5k:
|
case FALCON_LEVEL5k:
|
||||||
|
@ -950,7 +950,7 @@ int wc_Dilithium_PublicKeyToDer(dilithium_key* key, byte* output, word32 inLen,
|
|||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int wc_Dilithium_KeyToDer(dilithium_key* key, byte* output, word32 inLen)
|
int wc_Dilithium_KeyToDer(dilithium_key* key, byte* output, word32 inLen)
|
||||||
{
|
{
|
||||||
|
@ -59,11 +59,11 @@ extern "C" {
|
|||||||
|
|
||||||
#define HAVE_ECC
|
#define HAVE_ECC
|
||||||
#define ECC_USER_CURVES
|
#define ECC_USER_CURVES
|
||||||
//#define HAVE_ECC192
|
/* #define HAVE_ECC192 */
|
||||||
//#define HAVE_ECC224
|
/* #define HAVE_ECC224 */
|
||||||
#undef NO_ECC256
|
#undef NO_ECC256
|
||||||
//#define HAVE_ECC384
|
/* #define HAVE_ECC384 */
|
||||||
//#define HAVE_ECC521
|
/* #define HAVE_ECC521 */
|
||||||
#define ECC_SHAMIR
|
#define ECC_SHAMIR
|
||||||
#define ECC_TIMING_RESISTANT
|
#define ECC_TIMING_RESISTANT
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user