Lines Matching +full:1000 +full:ma

125 	unsigned char zb[1000];  in print_z()
169 unsigned char xb[1000]; in check_eqz()
170 unsigned char zb[1000]; in check_eqz()
247 uint32_t mp[40], ma[40], mb[40], mv[60], mx[100]; in test_modint() local
265 if (impl->decode_mod(ma, ea, alen, mp) != 1) { in test_modint()
288 check_eqz(ma, a); in test_modint()
292 impl->decode_mod(ma, ea, alen, mp); in test_modint()
294 ctl = impl->add(ma, mb, 1); in test_modint()
295 ctl |= impl->sub(ma, mp, 0) ^ (uint32_t)1; in test_modint()
296 impl->sub(ma, mp, ctl); in test_modint()
299 check_eqz(ma, t1); in test_modint()
301 impl->decode_mod(ma, ea, alen, mp); in test_modint()
303 impl->add(ma, mp, impl->sub(ma, mb, 1)); in test_modint()
306 check_eqz(ma, t1); in test_modint()
308 impl->decode_reduce(ma, ev, vlen, mp); in test_modint()
310 check_eqz(ma, t1); in test_modint()
313 impl->reduce(ma, mv, mp); in test_modint()
315 check_eqz(ma, t1); in test_modint()
317 impl->decode_mod(ma, ea, alen, mp); in test_modint()
318 impl->to_monty(ma, mp); in test_modint()
322 check_eqz(ma, t1); in test_modint()
323 impl->from_monty(ma, mp, mp0i); in test_modint()
324 check_eqz(ma, a); in test_modint()
326 impl->decode_mod(ma, ea, alen, mp); in test_modint()
328 impl->to_monty(ma, mp); in test_modint()
329 impl->montymul(mt1, ma, mb, mp, mp0i); in test_modint()
334 impl->decode_mod(ma, ea, alen, mp); in test_modint()
335 impl->modpow(ma, ev, vlen, mp, mp0i, mt1, mt2); in test_modint()
337 check_eqz(ma, t1); in test_modint()
340 br_modint_decode(ma, mp, ea, alen); in test_modint()
342 if (!br_modint_div(ma, mb, mp, mt1, mt2, mt3)) { in test_modint()
350 check_eqz(ma, t1); in test_modint()
352 br_modint_decode(ma, mp, ea, alen); in test_modint()
355 br_int_add(mx, j, ma, mb); in test_modint()
360 br_int_mul(mx, j, ma, mb); in test_modint()