diff --git a/src/ecc/ecc.hpp b/src/ecc/ecc.hpp index 7b19362..6b135b6 100644 --- a/src/ecc/ecc.hpp +++ b/src/ecc/ecc.hpp @@ -21,6 +21,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#ifndef NINTY_233_ECC_HPP +#define NINTY_233_ECC_HPP + typedef uint32_t element[8]; typedef struct { @@ -88,3 +91,5 @@ void os_to_elem(const uint8_t * os, element elem); void os_to_point(const uint8_t * os, ec_point & point); void elem_to_os(const element src, uint8_t * output_os); void point_to_os(const ec_point & src, uint8_t * output_os); + +#endif diff --git a/src/sha1/sha1.hpp b/src/sha1/sha1.hpp index ad7a7b9..abeccee 100644 --- a/src/sha1/sha1.hpp +++ b/src/sha1/sha1.hpp @@ -17,8 +17,8 @@ along with this program. If not, see . */ -#ifndef _SHA1_HPP_ -#define _SHA1_HPP_ +#ifndef NINTY_233_SHA1_HPP +#define NINTY_233_SHA1_HPP #ifndef __cplusplus #error Do not include this header in a C project