/external/dropbear/libtommath/ |
D | bn_mp_toom_mul.c | 86 if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) { in mp_toom_mul() 92 if ((res = mp_add(&tmp1, &a2, &tmp1)) != MP_OKAY) { in mp_toom_mul() 99 if ((res = mp_add(&tmp2, &b1, &tmp2)) != MP_OKAY) { in mp_toom_mul() 105 if ((res = mp_add(&tmp2, &b2, &tmp2)) != MP_OKAY) { in mp_toom_mul() 117 if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) { in mp_toom_mul() 123 if ((res = mp_add(&tmp1, &a0, &tmp1)) != MP_OKAY) { in mp_toom_mul() 130 if ((res = mp_add(&tmp2, &b1, &tmp2)) != MP_OKAY) { in mp_toom_mul() 136 if ((res = mp_add(&tmp2, &b0, &tmp2)) != MP_OKAY) { in mp_toom_mul() 146 if ((res = mp_add(&a2, &a1, &tmp1)) != MP_OKAY) { in mp_toom_mul() 149 if ((res = mp_add(&tmp1, &a0, &tmp1)) != MP_OKAY) { in mp_toom_mul() [all …]
|
D | bn_mp_toom_sqr.c | 63 if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 69 if ((res = mp_add(&tmp1, &a2, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 81 if ((res = mp_add(&tmp1, &a1, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 87 if ((res = mp_add(&tmp1, &a0, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 97 if ((res = mp_add(&a2, &a1, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 100 if ((res = mp_add(&tmp1, &a0, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 204 if ((res = mp_add(&w0, &w1, b)) != MP_OKAY) { in mp_toom_sqr() 207 if ((res = mp_add(&w2, &w3, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 210 if ((res = mp_add(&w4, &tmp1, &tmp1)) != MP_OKAY) { in mp_toom_sqr() 213 if ((res = mp_add(&tmp1, b, b)) != MP_OKAY) { in mp_toom_sqr()
|
D | bn_mp_karatsuba_mul.c | 134 if (mp_add (&x0y0, &x1y1, &x0) != MP_OKAY) in mp_karatsuba_mul() 145 if (mp_add (&x0y0, &t1, &t1) != MP_OKAY) in mp_karatsuba_mul() 147 if (mp_add (&t1, &x1y1, c) != MP_OKAY) in mp_karatsuba_mul()
|
D | bn_mp_invmod_slow.c | 69 if ((res = mp_add (&A, &y, &A)) != MP_OKAY) { in mp_invmod_slow() 94 if ((res = mp_add (&C, &y, &C)) != MP_OKAY) { in mp_invmod_slow() 153 if ((res = mp_add(&C, b, &C)) != MP_OKAY) { in mp_invmod_slow()
|
D | bn_mp_sqrt.c | 50 if ((res = mp_add(&t1,&t2,&t1)) != MP_OKAY) { in mp_sqrt() 61 if ((res = mp_add(&t1,&t2,&t1)) != MP_OKAY) { in mp_sqrt()
|
D | bn_mp_karatsuba_sqr.c | 101 if (mp_add (&x0x0, &t1, &t1) != MP_OKAY) in mp_karatsuba_sqr() 103 if (mp_add (&t1, &x1x1, b) != MP_OKAY) in mp_karatsuba_sqr()
|
D | bn_mp_addmod.c | 29 if ((res = mp_add (a, b, &t)) != MP_OKAY) { in mp_addmod()
|
D | bn_mp_mod.c | 35 res = mp_add (b, &t, c); in mp_mod()
|
D | bn_mp_add.c | 19 int mp_add (mp_int * a, mp_int * b, mp_int * c) in mp_add() function
|
D | bn_mp_reduce.c | 80 if ((res = mp_add (x, &q, x)) != MP_OKAY) in mp_reduce()
|
D | bn_mp_div.c | 62 ((res = mp_add(&q, &tq, &q)) != MP_OKAY)) { in mp_div() 250 if ((res = mp_add (&x, &t1, &x)) != MP_OKAY) { in mp_div()
|
D | bn_fast_mp_invmod.c | 133 if ((res = mp_add (&D, b, &D)) != MP_OKAY) { in fast_mp_invmod()
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
D | ltc_ecc_projective_dbl_point.c | 61 if ((err = mp_add(R->z, R->z, R->z)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 69 if ((err = mp_add(t2, modulus, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 72 if ((err = mp_add(t1, R->x, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 80 if ((err = mp_add(t2, t2, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 85 if ((err = mp_add(t1, t2, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 91 if ((err = mp_add(R->y, R->y, R->y)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 103 if ((err = mp_add(t2, modulus, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 116 if ((err = mp_add(R->x, modulus, R->x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 121 if ((err = mp_add(R->x, modulus, R->x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 127 if ((err = mp_add(R->y, modulus, R->y)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() [all …]
|
D | ltc_ecc_projective_add_point.c | 96 if ((err = mp_add(y, modulus, y)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 99 if ((err = mp_add(t1, t1, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 104 if ((err = mp_add(t1, y, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 111 if ((err = mp_add(x, modulus, x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 114 if ((err = mp_add(t2, t2, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 119 if ((err = mp_add(t2, x, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 154 if ((err = mp_add(x, modulus, x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 160 if ((err = mp_add(t2, modulus, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 165 if ((err = mp_add(t2, modulus, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 173 if ((err = mp_add(y, modulus, y)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() [all …]
|
D | ecc_import.c | 51 …if ((err = mp_add(t1, key->pubkey.x, t1)) != CRYPT_OK) { goto … in is_point() 52 …if ((err = mp_add(t1, key->pubkey.x, t1)) != CRYPT_OK) { goto … in is_point() 53 …if ((err = mp_add(t1, key->pubkey.x, t1)) != CRYPT_OK) { goto … in is_point() 56 …if ((err = mp_add(t1, prime, t1)) != CRYPT_OK) { goto err… in is_point()
|
D | ecc_sign_hash.c | 87 …if ((err = mp_add(e, s, s)) != CRYPT_OK) { goto error; } /* s = e + x… in ecc_sign_hash()
|
/external/dropbear/libtommath/pre_gen/ |
D | mpi.c | 185 if ((res = mp_add (&D, b, &D)) != MP_OKAY) { in fast_mp_invmod() 829 int mp_add (mp_int * a, mp_int * b, mp_int * c) in mp_add() function 1012 if ((res = mp_add (a, b, &t)) != MP_OKAY) { in mp_addmod() 1617 ((res = mp_add(&q, &tq, &q)) != MP_OKAY)) { in mp_div() 1805 if ((res = mp_add (&x, &t1, &x)) != MP_OKAY) { in mp_div() 3762 if ((res = mp_add (&A, &y, &A)) != MP_OKAY) { in mp_invmod_slow() 3787 if ((res = mp_add (&C, &y, &C)) != MP_OKAY) { in mp_invmod_slow() 3846 if ((res = mp_add(&C, b, &C)) != MP_OKAY) { in mp_invmod_slow() 4228 if (mp_add (&x0y0, &x1y1, &x0) != MP_OKAY) in mp_karatsuba_mul() 4239 if (mp_add (&x0y0, &t1, &t1) != MP_OKAY) in mp_karatsuba_mul() [all …]
|
/external/dropbear/libtomcrypt/src/pk/dsa/ |
D | dsa_make_key.c | 65 …if ((err = mp_add(key->q, key->q, tmp)) != CRYPT_OK) { goto error; } in dsa_make_key() 89 … if ((err = mp_add(tmp, key->p, key->p)) != CRYPT_OK) { goto error; } in dsa_make_key()
|
D | dsa_sign_hash.c | 95 …if ((err = mp_add(s, tmp, s)) != CRYPT_OK) { goto error; } in dsa_sign_hash_raw()
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/integer/ |
D | der_encode_integer.c | 110 if (mp_2expt(tmp, y) != CRYPT_OK || mp_add(tmp, num, tmp) != CRYPT_OK) { in der_encode_integer()
|
/external/dropbear/libtommath/etc/ |
D | mersenne.c | 47 if ((res = mp_add (&u, &n, &u)) != MP_OKAY) { in is_mersenne()
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
D | rsa_exptmod.c | 77 …if ((err = mp_add(tmp, tmpb, tmp)) != CRYPT_OK) { go… in rsa_exptmod()
|
/external/llvm/test/CodeGen/X86/ |
D | 2007-11-30-LoadFolding-Bug.ll | 71 tail call fastcc void @mp_add( i32 0, i32 %radix, i32* %tmp1, i32* %tmp2, i32* %tmp1 ) 78 declare fastcc void @mp_add(i32, i32, i32*, i32*, i32*)
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
D | katja_exptmod.c | 77 …if ((err = mp_add(tmp, tmpb, tmp)) != CRYPT_OK) { go… in katja_exptmod()
|
/external/wpa_supplicant_8/src/tls/ |
D | bignum.c | 143 if (mp_add((mp_int *) a, (mp_int *) b, (mp_int *) c) != MP_OKAY) { in bignum_add()
|