x448: set WBITS to 32 bits on 32 bits architectures

This commit is contained in:
Vincent Hanquez 2016-02-17 07:05:25 +00:00
parent 6d6a0cbabd
commit ec130aeca0

View File

@ -11,7 +11,12 @@
#include <stdint.h>
#include "x448.h"
#define WBITS 64 /* TODO */
#ifdef ARCH_X86_64
#define WBITS 64
#else
#define WBITS 32
#endif
#define LBITS (WBITS * 7 / 8)
#define X448_LIMBS (448/LBITS)