diff options
| author | J08nY | 2018-03-03 01:24:03 +0100 |
|---|---|---|
| committer | J08nY | 2018-03-03 01:24:03 +0100 |
| commit | d53630043dedeef63a1ea8063c537a939d43afda (patch) | |
| tree | a79f723623da515b6611cbe8d8896ff829f289c7 /src/math | |
| parent | 1f0f281a8a0ee8d4114a7f1df6c762f20e935746 (diff) | |
| download | ecgen-d53630043dedeef63a1ea8063c537a939d43afda.tar.gz ecgen-d53630043dedeef63a1ea8063c537a939d43afda.tar.zst ecgen-d53630043dedeef63a1ea8063c537a939d43afda.zip | |
Add direcory names to include guards.
Diffstat (limited to 'src/math')
| -rw-r--r-- | src/math/koblitz.h | 6 | ||||
| -rw-r--r-- | src/math/poly.h | 6 | ||||
| -rw-r--r-- | src/math/subgroup.h | 6 | ||||
| -rw-r--r-- | src/math/twists.h | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/src/math/koblitz.h b/src/math/koblitz.h index f1b87d2..8122c44 100644 --- a/src/math/koblitz.h +++ b/src/math/koblitz.h @@ -2,8 +2,8 @@ * ecgen, tool for generating Elliptic curve domain parameters * Copyright (C) 2017-2018 J08nY */ -#ifndef ECGEN_KOBLITZ_H -#define ECGEN_KOBLITZ_H +#ifndef ECGEN_MATH_KOBLITZ_H +#define ECGEN_MATH_KOBLITZ_H #include <stdbool.h> #include "misc/types.h" @@ -37,4 +37,4 @@ const koblitz_t *koblitz_find(unsigned int m, unsigned int a); */ GEN koblitz_get_order(unsigned int m, unsigned int a); -#endif // ECGEN_KOBLITZ_H +#endif // ECGEN_MATH_KOBLITZ_H diff --git a/src/math/poly.h b/src/math/poly.h index 6c298d8..7fd36fd 100644 --- a/src/math/poly.h +++ b/src/math/poly.h @@ -5,8 +5,8 @@ /** * @file poly.h */ -#ifndef ECGEN_POLY_H -#define ECGEN_POLY_H +#ifndef ECGEN_MATH_POLY_H +#define ECGEN_MATH_POLY_H #include <pari/pari.h> #include <stdbool.h> @@ -55,4 +55,4 @@ GEN poly_gen(const polynomial_t *polynomial); */ GEN poly_find_gen(unsigned long m); -#endif // ECGEN_POLY_H +#endif // ECGEN_MATH_POLY_H diff --git a/src/math/subgroup.h b/src/math/subgroup.h index ad36826..94df006 100644 --- a/src/math/subgroup.h +++ b/src/math/subgroup.h @@ -5,8 +5,8 @@ /** * @file subgroup.h */ -#ifndef ECGEN_SUBGROUPS_H -#define ECGEN_SUBGROUPS_H +#ifndef ECGEN_MATH_SUBGROUPS_H +#define ECGEN_MATH_SUBGROUPS_H #include <pari/pari.h> #include "misc/types.h" @@ -136,4 +136,4 @@ GEN subgroups_nonprime(GEN order); */ GEN subgroups_all(GEN order); -#endif // ECGEN_SUBGROUPS_H +#endif // ECGEN_MATH_SUBGROUPS_H diff --git a/src/math/twists.h b/src/math/twists.h index d68bb27..b463560 100644 --- a/src/math/twists.h +++ b/src/math/twists.h @@ -2,8 +2,8 @@ * ecgen, tool for generating Elliptic curve domain parameters * Copyright (C) 2017-2018 J08nY */ -#ifndef ECGEN_TWIST_H -#define ECGEN_TWIST_H +#ifndef ECGEN_MATH_TWIST_H +#define ECGEN_MATH_TWIST_H #include "misc/types.h" @@ -20,4 +20,4 @@ void twist_rand_to(curve_t *to, const curve_t *of); */ void twist_rand(curve_t *what); -#endif // ECGEN_TWIST_H +#endif // ECGEN_MATH_TWIST_H |
