Verified Commit 134d7c31 authored by Sofia Celi's avatar Sofia Celi

Just changing the order

parent 4f900c70
......@@ -61,6 +61,6 @@ script:
- ./autogen.sh
- if [[ "$T" = "32bit" ]]; then $SETARCH ./configure -C; fi
- if [[ "$T" = "normal" ]]; then ./configure --disable-shared; fi
- make gen-code
- make
- make gen-code
- make test
......@@ -140,15 +140,6 @@ void API_NS(point_encode)( unsigned char ser[SER_BYTES], const point_p p ) {
gf_serialize(ser,s);
}
#define FOR_LIMB(i,op) { unsigned int i=0; for (i=0; i<SER_BYTES; i++) { op; }}
static void print_lol(const unsigned char ser[SER_BYTES]){
printf("\n");
for (unsigned int i = 0; i < SER_BYTES; i++) {
printf("0x%02x, \n", ser[i]);
}
printf("\n");
}
goldilocks_error_t API_NS(point_decode) (
point_p p,
const unsigned char ser[SER_BYTES],
......@@ -157,8 +148,6 @@ goldilocks_error_t API_NS(point_decode) (
gf s, s2, num, tmp;
gf_s *tmp2=s2, *ynum=p->z, *isr=p->x, *den=p->t;
print_lol(ser);
mask_t succ = gf_deserialize(s, ser, 0);
succ &= bool_to_mask(allow_identity) | ~gf_eq(s, ZERO);
succ &= ~gf_lobit(s);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment