write code in stream mode

This commit is contained in:
Jordi Baylina
2020-01-27 13:08:11 +07:00
parent 20058a38d6
commit 3a9766a008
9 changed files with 108 additions and 45 deletions

View File

@@ -8,8 +8,8 @@
#define Fr_LONGMONTGOMERY 0xC0000000
typedef struct __attribute__((__packed__)) {
int32_t shortVal;
u_int32_t type;
u_int64_t longVal[Fr_N64];
uint32_t type;
uint64_t longVal[Fr_N64];
} FrElement;
typedef FrElement *PFrElement;
extern FrElement Fr_q;