mirror of
https://github.com/jbop1626/ninty-233.git
synced 2025-02-17 08:46:23 +01:00
Update include guards
Add include guard to ecc.hpp (a very silly omission) Update sha1.hpp include guard for more consistent naming
This commit is contained in:
parent
6bf856a6ce
commit
cd6c1568a3
@ -21,6 +21,9 @@
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#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
|
||||
|
@ -17,8 +17,8 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#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
|
||||
|
Loading…
x
Reference in New Issue
Block a user