/external/dropbear/libtommath/ |
D | bn_mp_toom_sqr.c | 119 if ((res = mp_sub(&w1, &w4, &w1)) != MP_OKAY) { in mp_toom_sqr() 123 if ((res = mp_sub(&w3, &w0, &w3)) != MP_OKAY) { in mp_toom_sqr() 135 if ((res = mp_sub(&w2, &w0, &w2)) != MP_OKAY) { in mp_toom_sqr() 138 if ((res = mp_sub(&w2, &w4, &w2)) != MP_OKAY) { in mp_toom_sqr() 142 if ((res = mp_sub(&w1, &w2, &w1)) != MP_OKAY) { in mp_toom_sqr() 146 if ((res = mp_sub(&w3, &w2, &w3)) != MP_OKAY) { in mp_toom_sqr() 153 if ((res = mp_sub(&w1, &tmp1, &w1)) != MP_OKAY) { in mp_toom_sqr() 160 if ((res = mp_sub(&w3, &tmp1, &w3)) != MP_OKAY) { in mp_toom_sqr() 167 if ((res = mp_sub(&w2, &w1, &w2)) != MP_OKAY) { in mp_toom_sqr() 170 if ((res = mp_sub(&w2, &w3, &w2)) != MP_OKAY) { in mp_toom_sqr() [all …]
|
D | bn_mp_invmod_slow.c | 72 if ((res = mp_sub (&B, &x, &B)) != MP_OKAY) { in mp_invmod_slow() 97 if ((res = mp_sub (&D, &x, &D)) != MP_OKAY) { in mp_invmod_slow() 113 if ((res = mp_sub (&u, &v, &u)) != MP_OKAY) { in mp_invmod_slow() 117 if ((res = mp_sub (&A, &C, &A)) != MP_OKAY) { in mp_invmod_slow() 121 if ((res = mp_sub (&B, &D, &B)) != MP_OKAY) { in mp_invmod_slow() 126 if ((res = mp_sub (&v, &u, &v)) != MP_OKAY) { in mp_invmod_slow() 130 if ((res = mp_sub (&C, &A, &C)) != MP_OKAY) { in mp_invmod_slow() 134 if ((res = mp_sub (&D, &B, &D)) != MP_OKAY) { in mp_invmod_slow() 160 if ((res = mp_sub(&C, b, &C)) != MP_OKAY) { in mp_invmod_slow()
|
D | bn_mp_toom_mul.c | 175 if ((res = mp_sub(&w1, &w4, &w1)) != MP_OKAY) { in mp_toom_mul() 179 if ((res = mp_sub(&w3, &w0, &w3)) != MP_OKAY) { in mp_toom_mul() 191 if ((res = mp_sub(&w2, &w0, &w2)) != MP_OKAY) { in mp_toom_mul() 194 if ((res = mp_sub(&w2, &w4, &w2)) != MP_OKAY) { in mp_toom_mul() 198 if ((res = mp_sub(&w1, &w2, &w1)) != MP_OKAY) { in mp_toom_mul() 202 if ((res = mp_sub(&w3, &w2, &w3)) != MP_OKAY) { in mp_toom_mul() 209 if ((res = mp_sub(&w1, &tmp1, &w1)) != MP_OKAY) { in mp_toom_mul() 216 if ((res = mp_sub(&w3, &tmp1, &w3)) != MP_OKAY) { in mp_toom_mul() 223 if ((res = mp_sub(&w2, &w1, &w2)) != MP_OKAY) { in mp_toom_mul() 226 if ((res = mp_sub(&w2, &w3, &w2)) != MP_OKAY) { in mp_toom_mul() [all …]
|
D | bn_fast_mp_invmod.c | 67 if ((res = mp_sub (&B, &x, &B)) != MP_OKAY) { in fast_mp_invmod() 86 if ((res = mp_sub (&D, &x, &D)) != MP_OKAY) { in fast_mp_invmod() 99 if ((res = mp_sub (&u, &v, &u)) != MP_OKAY) { in fast_mp_invmod() 103 if ((res = mp_sub (&B, &D, &B)) != MP_OKAY) { in fast_mp_invmod() 108 if ((res = mp_sub (&v, &u, &v)) != MP_OKAY) { in fast_mp_invmod() 112 if ((res = mp_sub (&D, &B, &D)) != MP_OKAY) { in fast_mp_invmod()
|
D | bn_mp_exteuclid.c | 45 if ((err = mp_sub(&u1, &tmp, &t1)) != MP_OKAY) { goto _ERR; } in mp_exteuclid() 47 if ((err = mp_sub(&u2, &tmp, &t2)) != MP_OKAY) { goto _ERR; } in mp_exteuclid() 49 if ((err = mp_sub(&u3, &tmp, &t3)) != MP_OKAY) { goto _ERR; } in mp_exteuclid()
|
D | bn_mp_n_root.c | 77 if ((res = mp_sub (&t2, a, &t2)) != MP_OKAY) { in mp_n_root() 92 if ((res = mp_sub (&t1, &t3, &t2)) != MP_OKAY) { in mp_n_root()
|
D | bn_mp_div.c | 61 if (((res = mp_sub(&ta, &tb, &ta)) != MP_OKAY) || in mp_div() 176 if ((res = mp_sub (&x, &y, &x)) != MP_OKAY) { in mp_div() 238 if ((res = mp_sub (&x, &t1, &x)) != MP_OKAY) { in mp_div()
|
D | bn_mp_submod.c | 30 if ((res = mp_sub (a, b, &t)) != MP_OKAY) { in mp_submod()
|
D | bn_mp_sub.c | 20 mp_sub (mp_int * a, mp_int * b, mp_int * c) in mp_sub() function
|
D | bn_mp_reduce.c | 71 if ((res = mp_sub (x, &q, x)) != MP_OKAY) { in mp_reduce()
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
D | ltc_ecc_projective_dbl_point.c | 63 if ((err = mp_sub(R->z, modulus, R->z)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 67 if ((err = mp_sub(R->x, t1, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 74 if ((err = mp_sub(t1, modulus, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 82 if ((err = mp_sub(t1, modulus, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 87 if ((err = mp_sub(t1, modulus, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 93 if ((err = mp_sub(R->y, modulus, R->y)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 114 if ((err = mp_sub(R->x, R->y, R->x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 119 if ((err = mp_sub(R->x, R->y, R->x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 125 if ((err = mp_sub(R->y, R->x, R->y)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point() 133 if ((err = mp_sub(R->y, t2, R->y)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
|
D | ltc_ecc_projective_add_point.c | 51 if ((err = mp_sub(modulus, Q->y, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 94 if ((err = mp_sub(y, t1, y)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 101 if ((err = mp_sub(t1, modulus, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 106 if ((err = mp_sub(t1, modulus, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 109 if ((err = mp_sub(x, t2, x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 116 if ((err = mp_sub(t2, modulus, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 121 if ((err = mp_sub(t2, modulus, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 152 if ((err = mp_sub(x, t2, x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 158 if ((err = mp_sub(t2, x, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() 163 if ((err = mp_sub(t2, x, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point() [all …]
|
D | ecc_import.c | 48 …if ((err = mp_sub(t1, t2, t1)) != CRYPT_OK) { goto … in is_point() 59 …if ((err = mp_sub(t1, prime, t1)) != CRYPT_OK) { goto err… in is_point()
|
/external/dropbear/libtommath/pre_gen/ |
D | mpi.c | 119 if ((res = mp_sub (&B, &x, &B)) != MP_OKAY) { in fast_mp_invmod() 138 if ((res = mp_sub (&D, &x, &D)) != MP_OKAY) { in fast_mp_invmod() 151 if ((res = mp_sub (&u, &v, &u)) != MP_OKAY) { in fast_mp_invmod() 155 if ((res = mp_sub (&B, &D, &B)) != MP_OKAY) { in fast_mp_invmod() 160 if ((res = mp_sub (&v, &u, &v)) != MP_OKAY) { in fast_mp_invmod() 164 if ((res = mp_sub (&D, &B, &D)) != MP_OKAY) { in fast_mp_invmod() 1616 if (((res = mp_sub(&ta, &tb, &ta)) != MP_OKAY) || in mp_div() 1731 if ((res = mp_sub (&x, &y, &x)) != MP_OKAY) { in mp_div() 1793 if ((res = mp_sub (&x, &t1, &x)) != MP_OKAY) { in mp_div() 2987 if ((err = mp_sub(&u1, &tmp, &t1)) != MP_OKAY) { goto _ERR; } in mp_exteuclid() [all …]
|
/external/wpa_supplicant/ |
D | libtommath.c | 403 static int mp_sub (mp_int * a, mp_int * b, mp_int * c) in mp_sub() function 761 if ((res = mp_sub (&B, &x, &B)) != MP_OKAY) { in mp_invmod_slow() 786 if ((res = mp_sub (&D, &x, &D)) != MP_OKAY) { in mp_invmod_slow() 802 if ((res = mp_sub (&u, &v, &u)) != MP_OKAY) { in mp_invmod_slow() 806 if ((res = mp_sub (&A, &C, &A)) != MP_OKAY) { in mp_invmod_slow() 810 if ((res = mp_sub (&B, &D, &B)) != MP_OKAY) { in mp_invmod_slow() 815 if ((res = mp_sub (&v, &u, &v)) != MP_OKAY) { in mp_invmod_slow() 819 if ((res = mp_sub (&C, &A, &C)) != MP_OKAY) { in mp_invmod_slow() 823 if ((res = mp_sub (&D, &B, &D)) != MP_OKAY) { in mp_invmod_slow() 849 if ((res = mp_sub(&C, b, &C)) != MP_OKAY) { in mp_invmod_slow() [all …]
|
D | bignum.c | 167 if (mp_sub((mp_int *) a, (mp_int *) b, (mp_int *) c) != MP_OKAY) { in bignum_sub()
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/integer/ |
D | der_decode_integer.c | 95 if (mp_2expt(tmp, mp_count_bits(num)) != CRYPT_OK || mp_sub(num, tmp, num) != CRYPT_OK) { in der_decode_integer()
|
/external/dropbear/libtommath/mtest/ |
D | mpi.c | 963 mp_err mp_sub(mp_int *a, mp_int *b, mp_int *c) in mp_sub() function 1485 (res = mp_sub(&t, a, &t)) != MP_OKAY) in mp_sqrt() 1499 if((res = mp_sub(&x, &t, &x)) != MP_OKAY) in mp_sqrt() 1564 if((res = mp_sub(a, b, c)) != MP_OKAY) in mp_submod() 1989 if((res = mp_sub(&u, &v, &t)) != MP_OKAY) in mp_gcd() 2118 if((res = mp_sub(&B, &xc, &B)) != MP_OKAY) goto CLEANUP; in mp_xgcd() 2131 if((res = mp_sub(&D, &xc, &D)) != MP_OKAY) goto CLEANUP; in mp_xgcd() 2137 if((res = mp_sub(&u, &v, &u)) != MP_OKAY) goto CLEANUP; in mp_xgcd() 2138 if((res = mp_sub(&A, &C, &A)) != MP_OKAY) goto CLEANUP; in mp_xgcd() 2139 if((res = mp_sub(&B, &D, &B)) != MP_OKAY) goto CLEANUP; in mp_xgcd() [all …]
|
D | mtest.c | 136 mp_sub(&a, &b, &c); in main()
|
D | mpi.h | 125 mp_err mp_sub(mp_int *a, mp_int *b, mp_int *c);
|
/external/dropbear/libtommath/demo/ |
D | timing.c | 138 DO(mp_sub(&a, &b, &c)); in main() 264 mp_sub(&e, &b, &b); in main()
|
D | demo.c | 344 mp_sub(&a, &b, &a); in main() 351 mp_sub(&a, &b, &a); in main() 525 mp_sub(&d, &b, &d); in main()
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
D | rsa_exptmod.c | 72 …if ((err = mp_sub(tmpa, tmpb, tmp)) != CRYPT_OK) { go… in rsa_exptmod()
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
D | katja_exptmod.c | 72 …if ((err = mp_sub(tmpa, tmpb, tmp)) != CRYPT_OK) { go… in katja_exptmod()
|
/external/dropbear/ |
D | gendss.c | 125 if (mp_sub(&tempX, &tempC, &tempP) != MP_OKAY) { in getp()
|