/* * File: dclxvi-20130329/test_curvepoint_multiscalar.c * Author: Ruben Niederhagen, Peter Schwabe * Public Domain */ #include #include "curvepoint_fp.h" #include "curvepoint_fp_multiscalar.h" #include "parameters.h" extern const scalar_t bn_n; extern const curvepoint_fp_t bn_curvegen; #define MAXBATCH 500 int main() { struct curvepoint_fp_struct p[MAXBATCH]; curvepoint_fp_t r1, r2, t; scalar_t s[MAXBATCH]; int i,batch; for(batch=1;batchm_x, r2->m_x) || !fpe_iseq(r1->m_y, r2->m_y)) { printf("error\n"); return -1; } } return 0; }