diff options
author | Kirill Volinsky <Mataes2007@gmail.com> | 2017-12-06 13:00:20 +0300 |
---|---|---|
committer | Kirill Volinsky <Mataes2007@gmail.com> | 2017-12-06 13:09:18 +0300 |
commit | 62202ed10617927d5429bc59898e12a366abe744 (patch) | |
tree | 4960bf1241b59cf009118da6cdab87294b1a95e1 /libs/libaxolotl/src/curve25519/ed25519/additions | |
parent | b30e7ca1c642a3f88659a4346832e653407e1c0f (diff) |
convert all files exept curl and new_gpg to utf-8 BOM
Diffstat (limited to 'libs/libaxolotl/src/curve25519/ed25519/additions')
35 files changed, 35 insertions, 35 deletions
diff --git a/libs/libaxolotl/src/curve25519/ed25519/additions/compare.c b/libs/libaxolotl/src/curve25519/ed25519/additions/compare.c index 8b1e31389f..692d8c735e 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 5a2fa910d4..6732976e4c 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 9339ddb981..030b4d5c8e 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 a51a190d25..1ceb0d64f2 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 7a49b18aaa..5c8ec5e384 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 a2d819aef0..082ed65863 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 6feb96bad6..c5a1fab230 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 67c5d33c96..d1ee01e929 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 6fbb3beccd..8dbbc69f81 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 bc8393620c..c20657dec1 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 b0f8c63276..65bcf5db71 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 a0c9785821..afb9a34898 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 d40e443682..da62418219 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 7a716c5a72..0da35232ed 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 d679713fe0..b9f3d4e4b4 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 b539b2f17f..fd42be134f 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 e4f741b8d8..2a8881122d 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 6affbb05d5..e219f2581d 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 de7cdcd598..3f37055684 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 e86e7c5582..b6354dab29 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 a156098191..d5dd9b797f 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 7788be9071..3294983906 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 443a5bb71e..b931461a52 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 ef407d405e..199f70a9a1 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 b2fb8c20d3..04e6259f15 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 c59099a9e3..d6a4c13a9d 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 35348782df..2b2bbd15c2 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 20b85bb155..13c8de0bd8 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 518b851d63..1480cba533 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 8f60169bd4..39dae278ef 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 4e48844170..cd29ad6d18 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 63b73bf2ed..091b604e63 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 b86d7f0d9d..4128289099 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 187e725eb5..b4940242f8 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 0db68bb4c6..79ed97500f 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> |