diff options
Diffstat (limited to 'libs/libaxolotl/src/curve25519')
103 files changed, 103 insertions, 103 deletions
diff --git a/libs/libaxolotl/src/curve25519/CMakeLists.txt b/libs/libaxolotl/src/curve25519/CMakeLists.txt index 37b49f1c41..63a81ff0eb 100644 --- a/libs/libaxolotl/src/curve25519/CMakeLists.txt +++ b/libs/libaxolotl/src/curve25519/CMakeLists.txt @@ -1,4 +1,4 @@ -IF(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang") +IF(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-variable -Wno-unused-function -Wno-shadow") ENDIF(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang") diff --git a/libs/libaxolotl/src/curve25519/curve25519-donna.c b/libs/libaxolotl/src/curve25519/curve25519-donna.c index f28c283525..f2c2ac58e6 100644 --- a/libs/libaxolotl/src/curve25519/curve25519-donna.c +++ b/libs/libaxolotl/src/curve25519/curve25519-donna.c @@ -1,4 +1,4 @@ -/* Copyright 2008, Google Inc. +/* Copyright 2008, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/libs/libaxolotl/src/curve25519/curve25519-donna.h b/libs/libaxolotl/src/curve25519/curve25519-donna.h index 27ca5f2695..3e4dfcee04 100644 --- a/libs/libaxolotl/src/curve25519/curve25519-donna.h +++ b/libs/libaxolotl/src/curve25519/curve25519-donna.h @@ -1,4 +1,4 @@ -#ifndef CURVE25519_DONNA_H +#ifndef CURVE25519_DONNA_H #define CURVE25519_DONNA_H extern int curve25519_donna(uint8_t *, const uint8_t *, const uint8_t *); diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/compare.c b/libs/libaxolotl/src/curve25519/ed25519/additions/compare.c index 692d8c735e..8b1e31389f 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/compare.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/compare.c @@ -1,4 +1,4 @@ -#include <string.h> +#include <string.h> #include "compare.h" /* Const-time comparison from SUPERCOP, but here it's only used for diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/compare.h b/libs/libaxolotl/src/curve25519/ed25519/additions/compare.h index 6732976e4c..5a2fa910d4 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/compare.h +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/compare.h @@ -1,4 +1,4 @@ -#ifndef __COMPARE_H__ +#ifndef __COMPARE_H__ #define __COMPARE_H__ int crypto_verify_32_ref(const unsigned char *b1, const unsigned char *b2); diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/crypto_additions.h b/libs/libaxolotl/src/curve25519/ed25519/additions/crypto_additions.h index 030b4d5c8e..9339ddb981 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/crypto_additions.h +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/crypto_additions.h @@ -1,4 +1,4 @@ - + #ifndef __CRYPTO_ADDITIONS__ #define __CRYPTO_ADDITIONS__ diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/crypto_hash_sha512.h b/libs/libaxolotl/src/curve25519/ed25519/additions/crypto_hash_sha512.h index 1ceb0d64f2..a51a190d25 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/crypto_hash_sha512.h +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/crypto_hash_sha512.h @@ -1,4 +1,4 @@ -#ifndef crypto_hash_sha512_H +#ifndef crypto_hash_sha512_H #define crypto_hash_sha512_H extern int crypto_hash_sha512(unsigned char *,const unsigned char *,unsigned long long); diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/curve_sigs.c b/libs/libaxolotl/src/curve25519/ed25519/additions/curve_sigs.c index 5c8ec5e384..7a49b18aaa 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/curve_sigs.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/curve_sigs.c @@ -1,4 +1,4 @@ -#include <string.h> +#include <string.h> #include <stdlib.h> #include "ge.h" #include "curve_sigs.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/curve_sigs.h b/libs/libaxolotl/src/curve25519/ed25519/additions/curve_sigs.h index 082ed65863..a2d819aef0 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/curve_sigs.h +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/curve_sigs.h @@ -1,4 +1,4 @@ - + #ifndef __CURVE_SIGS_H__ #define __CURVE_SIGS_H__ diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/elligator.c b/libs/libaxolotl/src/curve25519/ed25519/additions/elligator.c index c5a1fab230..6feb96bad6 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/elligator.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/elligator.c @@ -1,4 +1,4 @@ -#include <string.h> +#include <string.h> #include "fe.h" #include "ge.h" #include "crypto_uint32.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/fe_isequal.c b/libs/libaxolotl/src/curve25519/ed25519/additions/fe_isequal.c index d1ee01e929..67c5d33c96 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/fe_isequal.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/fe_isequal.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" #include "crypto_verify_32.h" /* diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/fe_isreduced.c b/libs/libaxolotl/src/curve25519/ed25519/additions/fe_isreduced.c index 8dbbc69f81..6fbb3beccd 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/fe_isreduced.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/fe_isreduced.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" #include "crypto_verify_32.h" int fe_isreduced(const unsigned char* s) diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/fe_mont_rhs.c b/libs/libaxolotl/src/curve25519/ed25519/additions/fe_mont_rhs.c index c20657dec1..bc8393620c 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/fe_mont_rhs.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/fe_mont_rhs.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" void fe_mont_rhs(fe v2, fe u) { fe A, one; diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/fe_montx_to_edy.c b/libs/libaxolotl/src/curve25519/ed25519/additions/fe_montx_to_edy.c index 65bcf5db71..b0f8c63276 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/fe_montx_to_edy.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/fe_montx_to_edy.c @@ -1,4 +1,4 @@ - + #include "fe.h" #include "crypto_additions.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/fe_sqrt.c b/libs/libaxolotl/src/curve25519/ed25519/additions/fe_sqrt.c index afb9a34898..a0c9785821 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/fe_sqrt.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/fe_sqrt.c @@ -1,4 +1,4 @@ -#include <assert.h> +#include <assert.h> #include "fe.h" #include "crypto_additions.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/ge_isneutral.c b/libs/libaxolotl/src/curve25519/ed25519/additions/ge_isneutral.c index da62418219..d40e443682 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/ge_isneutral.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/ge_isneutral.c @@ -1,4 +1,4 @@ -#include "crypto_additions.h" +#include "crypto_additions.h" #include "ge.h" /* diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/ge_montx_to_p3.c b/libs/libaxolotl/src/curve25519/ed25519/additions/ge_montx_to_p3.c index 0da35232ed..7a716c5a72 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/ge_montx_to_p3.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/ge_montx_to_p3.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" #include "ge.h" #include "assert.h" #include "crypto_additions.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/ge_neg.c b/libs/libaxolotl/src/curve25519/ed25519/additions/ge_neg.c index b9f3d4e4b4..d679713fe0 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/ge_neg.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/ge_neg.c @@ -1,4 +1,4 @@ -#include "crypto_additions.h" +#include "crypto_additions.h" #include "ge.h" /* diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/ge_p3_to_montx.c b/libs/libaxolotl/src/curve25519/ed25519/additions/ge_p3_to_montx.c index fd42be134f..b539b2f17f 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/ge_p3_to_montx.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/ge_p3_to_montx.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" #include "crypto_additions.h" void ge_p3_to_montx(fe u, const ge_p3 *ed) diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/ge_scalarmult.c b/libs/libaxolotl/src/curve25519/ed25519/additions/ge_scalarmult.c index 2a8881122d..e4f741b8d8 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/ge_scalarmult.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/ge_scalarmult.c @@ -1,4 +1,4 @@ -#include "crypto_uint32.h" +#include "crypto_uint32.h" #include "ge.h" #include "crypto_additions.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/ge_scalarmult_cofactor.c b/libs/libaxolotl/src/curve25519/ed25519/additions/ge_scalarmult_cofactor.c index e219f2581d..6affbb05d5 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/ge_scalarmult_cofactor.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/ge_scalarmult_cofactor.c @@ -1,4 +1,4 @@ -#include "crypto_additions.h" +#include "crypto_additions.h" #include "ge.h" /* diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/keygen.c b/libs/libaxolotl/src/curve25519/ed25519/additions/keygen.c index 3f37055684..de7cdcd598 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/keygen.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/keygen.c @@ -1,4 +1,4 @@ -#include "ge.h" +#include "ge.h" #include "keygen.h" #include "crypto_additions.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/keygen.h b/libs/libaxolotl/src/curve25519/ed25519/additions/keygen.h index b6354dab29..e86e7c5582 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/keygen.h +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/keygen.h @@ -1,4 +1,4 @@ - + #ifndef __KEYGEN_H__ #define __KEYGEN_H__ diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/open_modified.c b/libs/libaxolotl/src/curve25519/ed25519/additions/open_modified.c index d5dd9b797f..a156098191 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/open_modified.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/open_modified.c @@ -1,4 +1,4 @@ -#include <string.h> +#include <string.h> #include "crypto_sign.h" #include "crypto_hash_sha512.h" #include "crypto_verify_32.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/sc_clamp.c b/libs/libaxolotl/src/curve25519/ed25519/additions/sc_clamp.c index 3294983906..7788be9071 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/sc_clamp.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/sc_clamp.c @@ -1,4 +1,4 @@ -#include "crypto_additions.h" +#include "crypto_additions.h" void sc_clamp(unsigned char* a) { diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/sc_cmov.c b/libs/libaxolotl/src/curve25519/ed25519/additions/sc_cmov.c index b931461a52..443a5bb71e 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/sc_cmov.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/sc_cmov.c @@ -1,4 +1,4 @@ -#include "crypto_additions.h" +#include "crypto_additions.h" /* Replace (f,g) with (g,g) if b == 1; diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/sc_neg.c b/libs/libaxolotl/src/curve25519/ed25519/additions/sc_neg.c index 199f70a9a1..ef407d405e 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/sc_neg.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/sc_neg.c @@ -1,4 +1,4 @@ -#include <string.h> +#include <string.h> #include "crypto_additions.h" #include "sc.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/sign_modified.c b/libs/libaxolotl/src/curve25519/ed25519/additions/sign_modified.c index 04e6259f15..b2fb8c20d3 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/sign_modified.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/sign_modified.c @@ -1,4 +1,4 @@ -#include <string.h> +#include <string.h> #include "crypto_sign.h" #include "crypto_hash_sha512.h" #include "ge.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/utility.c b/libs/libaxolotl/src/curve25519/ed25519/additions/utility.c index d6a4c13a9d..c59099a9e3 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/utility.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/utility.c @@ -1,4 +1,4 @@ -#include <stdlib.h> +#include <stdlib.h> #include <stdio.h> #include "utility.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/utility.h b/libs/libaxolotl/src/curve25519/ed25519/additions/utility.h index 2b2bbd15c2..35348782df 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/utility.h +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/utility.h @@ -1,4 +1,4 @@ - + #ifndef __UTILITY_H__ #define __UTILITY_H__ diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/vopen_modified.c b/libs/libaxolotl/src/curve25519/ed25519/additions/vopen_modified.c index 13c8de0bd8..20b85bb155 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/vopen_modified.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/vopen_modified.c @@ -1,4 +1,4 @@ -#include <string.h> +#include <string.h> #include "sc.h" #include "ge.h" #include "crypto_hash_sha512.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/vsign_modified.c b/libs/libaxolotl/src/curve25519/ed25519/additions/vsign_modified.c index 1480cba533..518b851d63 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/vsign_modified.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/vsign_modified.c @@ -1,4 +1,4 @@ -#include <string.h> +#include <string.h> #include "crypto_sign.h" #include "crypto_hash_sha512.h" #include "ge.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/vxeddsa.c b/libs/libaxolotl/src/curve25519/ed25519/additions/vxeddsa.c index 39dae278ef..8f60169bd4 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/vxeddsa.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/vxeddsa.c @@ -1,4 +1,4 @@ -#include <string.h> +#include <string.h> #include "ge.h" #include "crypto_additions.h" #include "zeroize.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/vxeddsa.h b/libs/libaxolotl/src/curve25519/ed25519/additions/vxeddsa.h index cd29ad6d18..4e48844170 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/vxeddsa.h +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/vxeddsa.h @@ -1,4 +1,4 @@ - + #ifndef __VXEDDSA_H__ #define __VXEDDSA_H__ diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/xeddsa.c b/libs/libaxolotl/src/curve25519/ed25519/additions/xeddsa.c index 091b604e63..63b73bf2ed 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/xeddsa.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/xeddsa.c @@ -1,4 +1,4 @@ -#include <string.h> +#include <string.h> #include "ge.h" #include "crypto_additions.h" #include "zeroize.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/xeddsa.h b/libs/libaxolotl/src/curve25519/ed25519/additions/xeddsa.h index 4128289099..b86d7f0d9d 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/xeddsa.h +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/xeddsa.h @@ -1,4 +1,4 @@ - + #ifndef __XEDDSA_H__ #define __XEDDSA_H__ diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/zeroize.c b/libs/libaxolotl/src/curve25519/ed25519/additions/zeroize.c index b4940242f8..187e725eb5 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/zeroize.c +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/zeroize.c @@ -1,4 +1,4 @@ -#include "zeroize.h" +#include "zeroize.h" void zeroize(unsigned char* b, size_t len) { diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/zeroize.h b/libs/libaxolotl/src/curve25519/ed25519/additions/zeroize.h index 79ed97500f..0db68bb4c6 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/additions/zeroize.h +++ b/libs/libaxolotl/src/curve25519/ed25519/additions/zeroize.h @@ -1,4 +1,4 @@ -#ifndef __ZEROIZE_H__ +#ifndef __ZEROIZE_H__ #define __ZEROIZE_H__ #include <stdlib.h> diff --git a/libs/libaxolotl/src/curve25519/ed25519/base.h b/libs/libaxolotl/src/curve25519/ed25519/base.h index 43f7ed3585..573bd8a05c 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/base.h +++ b/libs/libaxolotl/src/curve25519/ed25519/base.h @@ -1,4 +1,4 @@ -{ +{ { { 25967493,-14356035,29566456,3660896,-12694345,4014787,27544626,-11754271,-6079156,2047605 }, { -12545711,934262,-2722910,3049990,-727428,9406986,12720692,5043384,19500929,-15469378 }, diff --git a/libs/libaxolotl/src/curve25519/ed25519/base2.h b/libs/libaxolotl/src/curve25519/ed25519/base2.h index 9c936803ea..8c538440ff 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/base2.h +++ b/libs/libaxolotl/src/curve25519/ed25519/base2.h @@ -1,4 +1,4 @@ - { + { { 25967493,-14356035,29566456,3660896,-12694345,4014787,27544626,-11754271,-6079156,2047605 }, { -12545711,934262,-2722910,3049990,-727428,9406986,12720692,5043384,19500929,-15469378 }, { -8738181,4489570,9688441,-14785194,10184609,-12363380,29287919,11864899,-24514362,-4438546 }, diff --git a/libs/libaxolotl/src/curve25519/ed25519/d.h b/libs/libaxolotl/src/curve25519/ed25519/d.h index e37351c077..e25f578350 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/d.h +++ b/libs/libaxolotl/src/curve25519/ed25519/d.h @@ -1 +1 @@ --10913610,13857413,-15372611,6949391,114729,-8787816,-6275908,-3247719,-18696448,-12055116 +-10913610,13857413,-15372611,6949391,114729,-8787816,-6275908,-3247719,-18696448,-12055116 diff --git a/libs/libaxolotl/src/curve25519/ed25519/d2.h b/libs/libaxolotl/src/curve25519/ed25519/d2.h index 35c97db0e6..01aaec7512 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/d2.h +++ b/libs/libaxolotl/src/curve25519/ed25519/d2.h @@ -1 +1 @@ --21827239,-5839606,-30745221,13898782,229458,15978800,-12551817,-6495438,29715968,9444199 +-21827239,-5839606,-30745221,13898782,229458,15978800,-12551817,-6495438,29715968,9444199 diff --git a/libs/libaxolotl/src/curve25519/ed25519/fe.h b/libs/libaxolotl/src/curve25519/ed25519/fe.h index 54372d21c8..60c308ba46 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/fe.h +++ b/libs/libaxolotl/src/curve25519/ed25519/fe.h @@ -1,4 +1,4 @@ -#ifndef FE_H +#ifndef FE_H #define FE_H #include "crypto_int32.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/fe_0.c b/libs/libaxolotl/src/curve25519/ed25519/fe_0.c index ca25f00ec8..ec879d7337 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/fe_0.c +++ b/libs/libaxolotl/src/curve25519/ed25519/fe_0.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" /* h = 0 diff --git a/libs/libaxolotl/src/curve25519/ed25519/fe_1.c b/libs/libaxolotl/src/curve25519/ed25519/fe_1.c index 714a5080a3..8cf7784844 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/fe_1.c +++ b/libs/libaxolotl/src/curve25519/ed25519/fe_1.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" /* h = 1 diff --git a/libs/libaxolotl/src/curve25519/ed25519/fe_add.c b/libs/libaxolotl/src/curve25519/ed25519/fe_add.c index 89d9d96814..e6a81da202 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/fe_add.c +++ b/libs/libaxolotl/src/curve25519/ed25519/fe_add.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" /* h = f + g diff --git a/libs/libaxolotl/src/curve25519/ed25519/fe_cmov.c b/libs/libaxolotl/src/curve25519/ed25519/fe_cmov.c index 994982c313..8ca584fb19 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/fe_cmov.c +++ b/libs/libaxolotl/src/curve25519/ed25519/fe_cmov.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" /* Replace (f,g) with (g,g) if b == 1; diff --git a/libs/libaxolotl/src/curve25519/ed25519/fe_copy.c b/libs/libaxolotl/src/curve25519/ed25519/fe_copy.c index 66ca4a292b..9c5bf865a2 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/fe_copy.c +++ b/libs/libaxolotl/src/curve25519/ed25519/fe_copy.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" /* h = f diff --git a/libs/libaxolotl/src/curve25519/ed25519/fe_frombytes.c b/libs/libaxolotl/src/curve25519/ed25519/fe_frombytes.c index a85abc6032..5c17917487 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/fe_frombytes.c +++ b/libs/libaxolotl/src/curve25519/ed25519/fe_frombytes.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" #include "crypto_int64.h" #include "crypto_uint64.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/fe_invert.c b/libs/libaxolotl/src/curve25519/ed25519/fe_invert.c index cc23321ead..bcfdb8ff87 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/fe_invert.c +++ b/libs/libaxolotl/src/curve25519/ed25519/fe_invert.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" void fe_invert(fe out,const fe z) { diff --git a/libs/libaxolotl/src/curve25519/ed25519/fe_isnegative.c b/libs/libaxolotl/src/curve25519/ed25519/fe_isnegative.c index c427b28de6..3b2c8b8d52 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/fe_isnegative.c +++ b/libs/libaxolotl/src/curve25519/ed25519/fe_isnegative.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" /* return 1 if f is in {1,3,5,...,q-2} diff --git a/libs/libaxolotl/src/curve25519/ed25519/fe_isnonzero.c b/libs/libaxolotl/src/curve25519/ed25519/fe_isnonzero.c index 654a273ac4..0e087a783d 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/fe_isnonzero.c +++ b/libs/libaxolotl/src/curve25519/ed25519/fe_isnonzero.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" #include "crypto_verify_32.h" /* diff --git a/libs/libaxolotl/src/curve25519/ed25519/fe_mul.c b/libs/libaxolotl/src/curve25519/ed25519/fe_mul.c index 536a998638..26ca8b3682 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/fe_mul.c +++ b/libs/libaxolotl/src/curve25519/ed25519/fe_mul.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" #include "crypto_int64.h" /* diff --git a/libs/libaxolotl/src/curve25519/ed25519/fe_neg.c b/libs/libaxolotl/src/curve25519/ed25519/fe_neg.c index ae67d6b20d..2078ce5284 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/fe_neg.c +++ b/libs/libaxolotl/src/curve25519/ed25519/fe_neg.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" /* h = -f diff --git a/libs/libaxolotl/src/curve25519/ed25519/fe_pow22523.c b/libs/libaxolotl/src/curve25519/ed25519/fe_pow22523.c index 448999c803..56675a5902 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/fe_pow22523.c +++ b/libs/libaxolotl/src/curve25519/ed25519/fe_pow22523.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" void fe_pow22523(fe out,const fe z) { diff --git a/libs/libaxolotl/src/curve25519/ed25519/fe_sq.c b/libs/libaxolotl/src/curve25519/ed25519/fe_sq.c index a4a2c5f478..8dd119841c 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/fe_sq.c +++ b/libs/libaxolotl/src/curve25519/ed25519/fe_sq.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" #include "crypto_int64.h" /* diff --git a/libs/libaxolotl/src/curve25519/ed25519/fe_sq2.c b/libs/libaxolotl/src/curve25519/ed25519/fe_sq2.c index b58e36935d..026ed3aacf 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/fe_sq2.c +++ b/libs/libaxolotl/src/curve25519/ed25519/fe_sq2.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" #include "crypto_int64.h" /* diff --git a/libs/libaxolotl/src/curve25519/ed25519/fe_sub.c b/libs/libaxolotl/src/curve25519/ed25519/fe_sub.c index 05cfe6c07e..6e26b7df8f 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/fe_sub.c +++ b/libs/libaxolotl/src/curve25519/ed25519/fe_sub.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" /* h = f - g diff --git a/libs/libaxolotl/src/curve25519/ed25519/fe_tobytes.c b/libs/libaxolotl/src/curve25519/ed25519/fe_tobytes.c index 14f88adac1..0a63baf9c1 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/fe_tobytes.c +++ b/libs/libaxolotl/src/curve25519/ed25519/fe_tobytes.c @@ -1,4 +1,4 @@ -#include "fe.h" +#include "fe.h" /* Preconditions: diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge.h b/libs/libaxolotl/src/curve25519/ed25519/ge.h index 475cb36ceb..55e95f95b6 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge.h +++ b/libs/libaxolotl/src/curve25519/ed25519/ge.h @@ -1,4 +1,4 @@ -#ifndef GE_H +#ifndef GE_H #define GE_H /* diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_add.c b/libs/libaxolotl/src/curve25519/ed25519/ge_add.c index 8ef65b6167..da7ff5d2eb 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_add.c +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_add.c @@ -1,4 +1,4 @@ -#include "ge.h" +#include "ge.h" /* r = p + q diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_add.h b/libs/libaxolotl/src/curve25519/ed25519/ge_add.h index a690dee8d6..7481f8ffbe 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_add.h +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_add.h @@ -1,4 +1,4 @@ - + /* qhasm: enter ge_add */ /* qhasm: fe X1 */ diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_double_scalarmult.c b/libs/libaxolotl/src/curve25519/ed25519/ge_double_scalarmult.c index 6b9376af4a..f8bf4bf775 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_double_scalarmult.c +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_double_scalarmult.c @@ -1,4 +1,4 @@ -#include "ge.h" +#include "ge.h" static void slide(signed char *r,const unsigned char *a) { diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_frombytes.c b/libs/libaxolotl/src/curve25519/ed25519/ge_frombytes.c index 9cb18ee319..1a059ee93f 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_frombytes.c +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_frombytes.c @@ -1,4 +1,4 @@ -#include "ge.h" +#include "ge.h" static const fe d = { #include "d.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_madd.c b/libs/libaxolotl/src/curve25519/ed25519/ge_madd.c index 22b2bf7f7d..622571774b 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_madd.c +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_madd.c @@ -1,4 +1,4 @@ -#include "ge.h" +#include "ge.h" /* r = p + q diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_madd.h b/libs/libaxolotl/src/curve25519/ed25519/ge_madd.h index ca1c8ba203..ecae84952b 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_madd.h +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_madd.h @@ -1,4 +1,4 @@ - + /* qhasm: enter ge_madd */ /* qhasm: fe X1 */ diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_msub.c b/libs/libaxolotl/src/curve25519/ed25519/ge_msub.c index 3e290ea300..741ecbf113 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_msub.c +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_msub.c @@ -1,4 +1,4 @@ -#include "ge.h" +#include "ge.h" /* r = p - q diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_msub.h b/libs/libaxolotl/src/curve25519/ed25519/ge_msub.h index 10f646c6d7..500f986ba0 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_msub.h +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_msub.h @@ -1,4 +1,4 @@ - + /* qhasm: enter ge_msub */ /* qhasm: fe X1 */ diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_p1p1_to_p2.c b/libs/libaxolotl/src/curve25519/ed25519/ge_p1p1_to_p2.c index 123ec4148e..9bb5013d66 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_p1p1_to_p2.c +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_p1p1_to_p2.c @@ -1,4 +1,4 @@ -#include "ge.h" +#include "ge.h" /* r = p diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_p1p1_to_p3.c b/libs/libaxolotl/src/curve25519/ed25519/ge_p1p1_to_p3.c index 5f2b9b7d95..2f57b10968 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_p1p1_to_p3.c +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_p1p1_to_p3.c @@ -1,4 +1,4 @@ -#include "ge.h" +#include "ge.h" /* r = p diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_p2_0.c b/libs/libaxolotl/src/curve25519/ed25519/ge_p2_0.c index b33b321648..6191d1e6e4 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_p2_0.c +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_p2_0.c @@ -1,4 +1,4 @@ -#include "ge.h" +#include "ge.h" void ge_p2_0(ge_p2 *h) { diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_p2_dbl.c b/libs/libaxolotl/src/curve25519/ed25519/ge_p2_dbl.c index f013b2872a..2e332b5cee 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_p2_dbl.c +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_p2_dbl.c @@ -1,4 +1,4 @@ -#include "ge.h" +#include "ge.h" /* r = 2 * p diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_p2_dbl.h b/libs/libaxolotl/src/curve25519/ed25519/ge_p2_dbl.h index ec7a105c8b..128efed907 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_p2_dbl.h +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_p2_dbl.h @@ -1,4 +1,4 @@ - + /* qhasm: enter ge_p2_dbl */ /* qhasm: fe X1 */ diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_p3_0.c b/libs/libaxolotl/src/curve25519/ed25519/ge_p3_0.c index fcfcd63569..401b2935a1 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_p3_0.c +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_p3_0.c @@ -1,4 +1,4 @@ -#include "ge.h" +#include "ge.h" void ge_p3_0(ge_p3 *h) { diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_p3_dbl.c b/libs/libaxolotl/src/curve25519/ed25519/ge_p3_dbl.c index 1091f98e08..0d8a05915d 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_p3_dbl.c +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_p3_dbl.c @@ -1,4 +1,4 @@ -#include "ge.h" +#include "ge.h" /* r = 2 * p diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_p3_to_cached.c b/libs/libaxolotl/src/curve25519/ed25519/ge_p3_to_cached.c index 76cd1f8f82..bde64228cf 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_p3_to_cached.c +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_p3_to_cached.c @@ -1,4 +1,4 @@ -#include "ge.h" +#include "ge.h" /* r = p diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_p3_to_p2.c b/libs/libaxolotl/src/curve25519/ed25519/ge_p3_to_p2.c index d26a09f7ec..e532a9e4cb 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_p3_to_p2.c +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_p3_to_p2.c @@ -1,4 +1,4 @@ -#include "ge.h" +#include "ge.h" /* r = p diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_p3_tobytes.c b/libs/libaxolotl/src/curve25519/ed25519/ge_p3_tobytes.c index a112daf699..21cb2fc656 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_p3_tobytes.c +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_p3_tobytes.c @@ -1,4 +1,4 @@ -#include "ge.h" +#include "ge.h" void ge_p3_tobytes(unsigned char *s,const ge_p3 *h) { diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_precomp_0.c b/libs/libaxolotl/src/curve25519/ed25519/ge_precomp_0.c index 2673d58096..2e218861d8 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_precomp_0.c +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_precomp_0.c @@ -1,4 +1,4 @@ -#include "ge.h" +#include "ge.h" void ge_precomp_0(ge_precomp *h) { diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_scalarmult_base.c b/libs/libaxolotl/src/curve25519/ed25519/ge_scalarmult_base.c index 006225f8d2..421e4fa0fb 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_scalarmult_base.c +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_scalarmult_base.c @@ -1,4 +1,4 @@ -#include "ge.h" +#include "ge.h" #include "crypto_uint32.h" static unsigned char equal(signed char b,signed char c) diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_sub.c b/libs/libaxolotl/src/curve25519/ed25519/ge_sub.c index 84c4d2e208..69f3d54062 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_sub.c +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_sub.c @@ -1,4 +1,4 @@ -#include "ge.h" +#include "ge.h" /* r = p - q diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_sub.h b/libs/libaxolotl/src/curve25519/ed25519/ge_sub.h index 59f082ea5f..b4ef1f5dd0 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_sub.h +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_sub.h @@ -1,4 +1,4 @@ - + /* qhasm: enter ge_sub */ /* qhasm: fe X1 */ diff --git a/libs/libaxolotl/src/curve25519/ed25519/ge_tobytes.c b/libs/libaxolotl/src/curve25519/ed25519/ge_tobytes.c index 59baeed5c1..31b3d33e09 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/ge_tobytes.c +++ b/libs/libaxolotl/src/curve25519/ed25519/ge_tobytes.c @@ -1,4 +1,4 @@ -#include "ge.h" +#include "ge.h" void ge_tobytes(unsigned char *s,const ge_p2 *h) { diff --git a/libs/libaxolotl/src/curve25519/ed25519/main/main.c b/libs/libaxolotl/src/curve25519/ed25519/main/main.c index 2f32d6b389..9d6599467e 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/main/main.c +++ b/libs/libaxolotl/src/curve25519/ed25519/main/main.c @@ -1,4 +1,4 @@ -#include "tests.h" +#include "tests.h" int main(int argc, char* argv[]) diff --git a/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_int32.h b/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_int32.h index 3c62609c72..cae135e6e2 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_int32.h +++ b/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_int32.h @@ -1,4 +1,4 @@ -#ifndef crypto_int32_h +#ifndef crypto_int32_h #define crypto_int32_h typedef int crypto_int32; diff --git a/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_int64.h b/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_int64.h index 294490ae44..fc92417b62 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_int64.h +++ b/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_int64.h @@ -1,4 +1,4 @@ -#ifndef crypto_int64_h +#ifndef crypto_int64_h #define crypto_int64_h typedef long long crypto_int64; diff --git a/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_sign.h b/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_sign.h index 4419fcc714..8472603e91 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_sign.h +++ b/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_sign.h @@ -1,4 +1,4 @@ -#ifndef crypto_sign_H +#ifndef crypto_sign_H #define crypto_sign_H #include "crypto_sign_edwards25519sha512batch.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_sign_edwards25519sha512batch.h b/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_sign_edwards25519sha512batch.h index 75c357749d..62fae61163 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_sign_edwards25519sha512batch.h +++ b/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_sign_edwards25519sha512batch.h @@ -1,4 +1,4 @@ -#ifndef crypto_sign_edwards25519sha512batch_H +#ifndef crypto_sign_edwards25519sha512batch_H #define crypto_sign_edwards25519sha512batch_H #define crypto_sign_edwards25519sha512batch_ref10_SECRETKEYBYTES 64 diff --git a/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_uint32.h b/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_uint32.h index c0b072cc8f..21020d7b57 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_uint32.h +++ b/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_uint32.h @@ -1,4 +1,4 @@ -#ifndef crypto_uint32_h +#ifndef crypto_uint32_h #define crypto_uint32_h typedef unsigned int crypto_uint32; diff --git a/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_uint64.h b/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_uint64.h index 8f385c8757..5aa0070375 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_uint64.h +++ b/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_uint64.h @@ -1,4 +1,4 @@ -#ifndef crypto_uint64_h +#ifndef crypto_uint64_h #define crypto_uint64_h typedef unsigned long long crypto_uint64; diff --git a/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_verify_32.h b/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_verify_32.h index 2eab150ad1..978d845222 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_verify_32.h +++ b/libs/libaxolotl/src/curve25519/ed25519/nacl_includes/crypto_verify_32.h @@ -1,4 +1,4 @@ -#ifndef crypto_verify_32_H +#ifndef crypto_verify_32_H #define crypto_verify_32_H #define crypto_verify_32_ref_BYTES 32 diff --git a/libs/libaxolotl/src/curve25519/ed25519/nacl_sha512/blocks.c b/libs/libaxolotl/src/curve25519/ed25519/nacl_sha512/blocks.c index ffb60bda6b..1c5f23d5cc 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/nacl_sha512/blocks.c +++ b/libs/libaxolotl/src/curve25519/ed25519/nacl_sha512/blocks.c @@ -1,4 +1,4 @@ -#include <stdint.h> +#include <stdint.h> typedef uint64_t uint64; static uint64 load_bigendian(const unsigned char *x) diff --git a/libs/libaxolotl/src/curve25519/ed25519/nacl_sha512/hash.c b/libs/libaxolotl/src/curve25519/ed25519/nacl_sha512/hash.c index 634218d5b0..8934cc18a8 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/nacl_sha512/hash.c +++ b/libs/libaxolotl/src/curve25519/ed25519/nacl_sha512/hash.c @@ -1,4 +1,4 @@ -/* +/* 20080913 D. J. Bernstein Public domain. diff --git a/libs/libaxolotl/src/curve25519/ed25519/open.c b/libs/libaxolotl/src/curve25519/ed25519/open.c index 749673b798..1ec4cd2bfd 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/open.c +++ b/libs/libaxolotl/src/curve25519/ed25519/open.c @@ -1,4 +1,4 @@ -#include <string.h> +#include <string.h> #include "crypto_sign.h" #include "crypto_hash_sha512.h" #include "crypto_verify_32.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/pow22523.h b/libs/libaxolotl/src/curve25519/ed25519/pow22523.h index 4734a420c2..60ffe0d34c 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/pow22523.h +++ b/libs/libaxolotl/src/curve25519/ed25519/pow22523.h @@ -1,4 +1,4 @@ - + /* qhasm: fe z1 */ /* qhasm: fe z2 */ diff --git a/libs/libaxolotl/src/curve25519/ed25519/pow225521.h b/libs/libaxolotl/src/curve25519/ed25519/pow225521.h index 8888e2bfb1..109df779a2 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/pow225521.h +++ b/libs/libaxolotl/src/curve25519/ed25519/pow225521.h @@ -1,4 +1,4 @@ - + /* qhasm: fe z1 */ /* qhasm: fe z2 */ diff --git a/libs/libaxolotl/src/curve25519/ed25519/sc.h b/libs/libaxolotl/src/curve25519/ed25519/sc.h index f01be711c7..d32ed2e8ca 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/sc.h +++ b/libs/libaxolotl/src/curve25519/ed25519/sc.h @@ -1,4 +1,4 @@ -#ifndef SC_H +#ifndef SC_H #define SC_H /* diff --git a/libs/libaxolotl/src/curve25519/ed25519/sc_muladd.c b/libs/libaxolotl/src/curve25519/ed25519/sc_muladd.c index da8a30fa1e..6f1e9d02d6 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/sc_muladd.c +++ b/libs/libaxolotl/src/curve25519/ed25519/sc_muladd.c @@ -1,4 +1,4 @@ -#include "sc.h" +#include "sc.h" #include "crypto_int64.h" #include "crypto_uint32.h" #include "crypto_uint64.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/sc_reduce.c b/libs/libaxolotl/src/curve25519/ed25519/sc_reduce.c index 8478577728..d01f5a5737 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/sc_reduce.c +++ b/libs/libaxolotl/src/curve25519/ed25519/sc_reduce.c @@ -1,4 +1,4 @@ -#include "sc.h" +#include "sc.h" #include "crypto_int64.h" #include "crypto_uint32.h" #include "crypto_uint64.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/sign.c b/libs/libaxolotl/src/curve25519/ed25519/sign.c index dd6b4bb075..de53742a6c 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/sign.c +++ b/libs/libaxolotl/src/curve25519/ed25519/sign.c @@ -1,4 +1,4 @@ -#include <string.h> +#include <string.h> #include "crypto_sign.h" #include "crypto_hash_sha512.h" #include "ge.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/sqrtm1.h b/libs/libaxolotl/src/curve25519/ed25519/sqrtm1.h index 8203f7434f..d8caa23b6a 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/sqrtm1.h +++ b/libs/libaxolotl/src/curve25519/ed25519/sqrtm1.h @@ -1 +1 @@ --32595792,-7943725,9377950,3500415,12389472,-272473,-25146209,-2005654,326686,11406482 +-32595792,-7943725,9377950,3500415,12389472,-272473,-25146209,-2005654,326686,11406482 diff --git a/libs/libaxolotl/src/curve25519/ed25519/tests/tests.c b/libs/libaxolotl/src/curve25519/ed25519/tests/tests.c index 3bdc4ea846..a647383e71 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/tests/tests.c +++ b/libs/libaxolotl/src/curve25519/ed25519/tests/tests.c @@ -1,4 +1,4 @@ -#include <stdlib.h> +#include <stdlib.h> #include <stdio.h> #include <string.h> #include "crypto_hash_sha512.h" diff --git a/libs/libaxolotl/src/curve25519/ed25519/tests/tests.h b/libs/libaxolotl/src/curve25519/ed25519/tests/tests.h index 8d34dc5427..7ac1e503ca 100644 --- a/libs/libaxolotl/src/curve25519/ed25519/tests/tests.h +++ b/libs/libaxolotl/src/curve25519/ed25519/tests/tests.h @@ -1,4 +1,4 @@ -#ifndef __TESTS_H__ +#ifndef __TESTS_H__ #define __TESTS_H__ /* silent = 0 : prints info+error messages to stdout, abort() on test failure |