@@ -13,7 +13,7 @@ | |||||
#include "decaf.h" | #include "decaf.h" | ||||
#include <string.h> | #include <string.h> | ||||
#include "field.h" | #include "field.h" | ||||
#include "decaf_255_config.h" | |||||
#include "decaf_config.h" | |||||
#define WBITS DECAF_WORD_BITS | #define WBITS DECAF_WORD_BITS | ||||
@@ -12,7 +12,7 @@ | |||||
#include <stdio.h> | #include <stdio.h> | ||||
#include <stdlib.h> | #include <stdlib.h> | ||||
#include "decaf.h" | #include "decaf.h" | ||||
#include "decaf_255_config.h" /* MAGIC */ | |||||
#include "decaf_config.h" | |||||
#include "field.h" | #include "field.h" | ||||
#define API_NS(_id) decaf_255_##_id | #define API_NS(_id) decaf_255_##_id | ||||
@@ -8,8 +8,8 @@ | |||||
* | * | ||||
* @brief Configuration for decaf_fast.c | * @brief Configuration for decaf_fast.c | ||||
*/ | */ | ||||
#ifndef __DECAF_255_CONFIG_H__ | |||||
#define __DECAF_255_CONFIG_H__ 1 | |||||
#ifndef __DECAF_CONFIG_H__ | |||||
#define __DECAF_CONFIG_H__ 1 | |||||
/** | /** | ||||
* Use the Montgomery ladder for direct scalarmul. | * Use the Montgomery ladder for direct scalarmul. | ||||
@@ -47,4 +47,4 @@ | |||||
#define DECAF_WNAF_VAR_TABLE_BITS 3 | #define DECAF_WNAF_VAR_TABLE_BITS 3 | ||||
#endif /* __DECAF_255_CONFIG_H__ */ | |||||
#endif /* __DECAF_CONFIG_H__ */ |
@@ -8,8 +8,8 @@ | |||||
* | * | ||||
* @brief Configuration for decaf_fast.c | * @brief Configuration for decaf_fast.c | ||||
*/ | */ | ||||
#ifndef __DECAF_448_CONFIG_H__ | |||||
#define __DECAF_448_CONFIG_H__ 1 | |||||
#ifndef __DECAF_CONFIG_H__ | |||||
#define __DECAF_CONFIG_H__ 1 | |||||
/** | /** | ||||
* Use the Montgomery ladder for direct scalarmul. | * Use the Montgomery ladder for direct scalarmul. | ||||
@@ -47,4 +47,4 @@ | |||||
#define DECAF_WNAF_VAR_TABLE_BITS 3 | #define DECAF_WNAF_VAR_TABLE_BITS 3 | ||||
#endif /* __DECAF_448_CONFIG_H__ */ | |||||
#endif /* __DECAF_CONFIG_H__ */ |