-rw-r--r-- 330 saferewrite-20210904/src/decode_761x1531/ref/wrapper.c
#include "crypto_decode.h" #include "Decode.h" #define uint16 crypto_uint16 #define q 4591 #define q12 2295 #define p 761 void crypto_decode(void *v,const unsigned char *s) { uint16 *r = v; uint16 R[p],M[p]; int i; for (i = 0;i < p;++i) M[i] = (q+2)/3; Decode(R,s,M,p); for (i = 0;i < p;++i) r[i] = R[i]*3-q12; }