/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/ |
H A D | bn_mp_toom_mul.c | 88 if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) { in mp_toom_mul() 94 if ((res = mp_add(&tmp1, &a2, &tmp1)) != MP_OKAY) { in mp_toom_mul() 101 if ((res = mp_add(&tmp2, &b1, &tmp2)) != MP_OKAY) { in mp_toom_mul() 107 if ((res = mp_add(&tmp2, &b2, &tmp2)) != MP_OKAY) { in mp_toom_mul() 119 if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) { in mp_toom_mul() 125 if ((res = mp_add(&tmp1, &a0, &tmp1)) != MP_OKAY) { in mp_toom_mul() 132 if ((res = mp_add(&tmp2, &b1, &tmp2)) != MP_OKAY) { in mp_toom_mul() 138 if ((res = mp_add(&tmp2, &b0, &tmp2)) != MP_OKAY) { in mp_toom_mul() 148 if ((res = mp_add(&a2, &a1, &tmp1)) != MP_OKAY) { in mp_toom_mul() 151 if ((res = mp_add(&tmp1, &a0, &tmp1)) != MP_OKAY) { in mp_toom_mul() [all …]
|
H A D | bn_mp_toom_sqr.c | 65 if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 71 if ((res = mp_add(&tmp1, &a2, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 83 if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 89 if ((res = mp_add(&tmp1, &a0, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 99 if ((res = mp_add(&a2, &a1, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 102 if ((res = mp_add(&tmp1, &a0, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 206 if ((res = mp_add(&w0, &w1, b)) != MP_OKAY) { in mp_toom_sqr() 209 if ((res = mp_add(&w2, &w3, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 212 if ((res = mp_add(&w4, &tmp1, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 215 if ((res = mp_add(&tmp1, b, b)) != MP_OKAY) { in mp_toom_sqr()
|
H A D | bn_mp_karatsuba_mul.c | 136 if (mp_add (&x0y0, &x1y1, &x0) != MP_OKAY) in mp_karatsuba_mul() 147 if (mp_add (&x0y0, &t1, &t1) != MP_OKAY) in mp_karatsuba_mul() 149 if (mp_add (&t1, &x1y1, c) != MP_OKAY) in mp_karatsuba_mul()
|
H A D | bn_mp_invmod_slow.c | 71 if ((res = mp_add (&A, &y, &A)) != MP_OKAY) { in mp_invmod_slow() 96 if ((res = mp_add (&C, &y, &C)) != MP_OKAY) { in mp_invmod_slow() 155 if ((res = mp_add(&C, b, &C)) != MP_OKAY) { in mp_invmod_slow()
|
H A D | bn_mp_sqrt.c | 52 if ((res = mp_add(&t1,&t2,&t1)) != MP_OKAY) { in mp_sqrt() 63 if ((res = mp_add(&t1,&t2,&t1)) != MP_OKAY) { in mp_sqrt()
|
H A D | bn_mp_karatsuba_sqr.c | 103 if (mp_add (&x0x0, &t1, &t1) != MP_OKAY) in mp_karatsuba_sqr() 105 if (mp_add (&t1, &x1x1, b) != MP_OKAY) in mp_karatsuba_sqr()
|
H A D | bn_mp_addmod.c | 31 if ((res = mp_add (a, b, &t)) != MP_OKAY) { in mp_addmod()
|
H A D | bn_mp_mod.c | 40 res = mp_add (b, &t, c); in mp_mod()
|
H A D | bn_mp_add.c | 21 int mp_add (mp_int * a, mp_int * b, mp_int * c) in mp_add() function
|
H A D | bn_mp_div.c | 64 ((res = mp_add(&q, &tq, &q)) != MP_OKAY)) { in mp_div() 252 if ((res = mp_add (&x, &t1, &x)) != MP_OKAY) { in mp_div()
|
H A D | bn_mp_reduce.c | 82 if ((res = mp_add (x, &q, x)) != MP_OKAY) in mp_reduce()
|
H A D | bn_fast_mp_invmod.c | 135 if ((res = mp_add (&D, b, &D)) != MP_OKAY) { in fast_mp_invmod()
|
H A D | tommath.h | 317 int mp_add(mp_int *a, mp_int *b, mp_int *c);
|
/netbsd-src/crypto/external/bsd/netpgp/dist/src/libbn/ |
H A D | bignum.c | 894 static int mp_add (const mp_int * a, const mp_int * b, mp_int * c) in mp_add() function 1208 if ((res = mp_add (&x, &t1, &x)) != MP_OKAY) { in mp_div() 1261 res = mp_add (b, &t, c); in mp_mod() 1477 if ((res = mp_add (&D, b, &D)) != MP_OKAY) { in fast_mp_invmod() 1541 if ((res = mp_add (&A, &y, &A)) != MP_OKAY) { in mp_invmod_slow() 1566 if ((res = mp_add (&C, &y, &C)) != MP_OKAY) { in mp_invmod_slow() 1625 if ((res = mp_add(&C, b, &C)) != MP_OKAY) { in mp_invmod_slow() 1933 if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) { in mp_toom_mul() 1939 if ((res = mp_add(&tmp1, &a2, &tmp1)) != MP_OKAY) { in mp_toom_mul() 1946 if ((res = mp_add(&tmp2, &b1, &tmp2)) != MP_OKAY) { in mp_toom_mul() [all …]
|
/netbsd-src/external/bsd/wpa/dist/src/tls/ |
H A D | bignum.c | 143 if (mp_add((mp_int *) a, (mp_int *) b, (mp_int *) c) != MP_OKAY) { in bignum_add()
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
H A D | rsa-ltm.c | 124 mp_add(&u, p, &u); in ltm_rsa_private_calculate() 130 mp_add(&u, &vq, out); in ltm_rsa_private_calculate()
|