Browse Source

fix whitespace and C++-style comments.

Daniel Pouzzner 1 year ago
parent
commit
b4f1b6d04d
3 changed files with 6 additions and 6 deletions
  1. 1 1
      wolfcrypt/src/asn.c
  2. 1 1
      wolfcrypt/src/dilithium.c
  3. 4 4
      zephyr/nrf5340dk_nrf5340_user_settings.h

+ 1 - 1
wolfcrypt/src/asn.c

@@ -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:

+ 1 - 1
wolfcrypt/src/dilithium.c

@@ -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)
 {

+ 4 - 4
zephyr/nrf5340dk_nrf5340_user_settings.h

@@ -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