Home
last modified time | relevance | path

Searched refs:mp_add_d (Results 1 – 23 of 23) sorted by relevance

/external/dropbear/libtommath/
Dbn_mp_rand.c35 if ((res = mp_add_d (a, d, a)) != MP_OKAY) { in mp_rand()
44 if ((res = mp_add_d (a, ((mp_digit) abs (rand ())), a)) != MP_OKAY) { in mp_rand()
Dbn_mp_fread.c50 if ((err = mp_add_d(a, y, a)) != MP_OKAY) { in mp_fread()
Dbn_mp_read_radix.c66 if ((res = mp_add_d (a, (mp_digit) y, a)) != MP_OKAY) { in mp_read_radix()
Dbn_mp_sub_d.c37 res = mp_add_d(a, b, c); in mp_sub_d()
Dbn_mp_add_d.c20 mp_add_d (mp_int * a, mp_digit b, mp_int * c) in mp_add_d() function
Dbn_mp_prime_random_ex.c111 if ((err = mp_add_d(a, 1, a)) != MP_OKAY) { goto error; } in mp_prime_random_ex()
Dbn_mp_prime_next_prime.c135 if ((err = mp_add_d(a, step, a)) != MP_OKAY) { in mp_prime_next_prime()
Dchanges.txt17 v0.37 -- [Don Porter] reported on a TCL list [HEY SEND ME BUGREPORTS ALREADY!!!] that mp_add_d() w…
147 -- Henrik Goldman found a buffer overflow bug in mp_add_d(). Fixed.
174 v0.24 -- Optimized mp_add_d and mp_sub_d to not allocate temporary variables
Dtommath.h334 int mp_add_d(mp_int *a, mp_digit b, mp_int *c);
Dbn.tex1822 int mp_add_d(mp_int *a, mp_digit b, mp_int *c);
/external/dropbear/libtomcrypt/src/pk/dsa/
Ddsa_make_key.c81 …if ((err = mp_add_d(key->p, 1, key->p)) != CRYPT_OK) { goto error; } in dsa_make_key()
90 … if ((err = mp_add_d(tmp2, 2, tmp2)) != CRYPT_OK) { goto error; } in dsa_make_key()
97 … if ((err = mp_add_d(key->g, 1, key->g)) != CRYPT_OK) { goto error; } in dsa_make_key()
/external/dropbear/
Dgendss.c130 if (mp_add_d(&tempP, 1, key->p) != MP_OKAY) { in getp()
175 if (mp_add_d(&h, 1, &h) != MP_OKAY) { in getg()
/external/dropbear/libtommath/demo/
Ddemo.c163 mp_add_d(&a, 1, &a); in main()
321 mp_add_d(&b, 1, &b); in main()
370 mp_add_d(&b, 1, &b); in main()
373 mp_add_d(&c, 1, &c); in main()
707 mp_add_d(&a, ix, &c); in main()
Dtiming.c290 mp_add_d(&b, 1, &b); in main()
/external/dropbear/libtommath/etc/
D2kprime.c22 mp_add_d(&q, 3, &q); in main()
Dpprime.c251 if ((res = mp_add_d (&z, 1, &n)) != MP_OKAY) { /* n = z + 1 */ in pprime()
/external/dropbear/libtomcrypt/src/pk/ecc/
Decc_test.c75 …if ((err = mp_add_d(order, 1, order)) != CRYPT_OK) { goto done; } in ecc_test()
/external/dropbear/libtommath/mtest/
Dmtest.c285 mp_add_d(&a, tmp, &b); in main()
Dmpi.h107 mp_err mp_add_d(mp_int *a, mp_digit d, mp_int *b);
Dmpi.c537 mp_err mp_add_d(mp_int *a, mp_digit d, mp_int *b) in mp_add_d() function
1479 mp_add_d(&x, 1, &x); in mp_sqrt()
2332 if((res = mp_add_d(mp, str[ix], mp)) != MP_OKAY) in mp_read_unsigned_bin()
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_math.h471 #define mp_add_d(a, b, c) ltc_mp.addi(a, b, c) macro
/external/dropbear/libtomcrypt/src/math/
Dltm_desc.c219 return mpi_to_ltc_error(mp_add_d(a, b, c)); in addi()
/external/dropbear/libtommath/pre_gen/
Dmpi.c887 mp_add_d (mp_int * a, mp_digit b, mp_int * c) in mp_add_d() function
3078 if ((err = mp_add_d(a, y, a)) != MP_OKAY) { in mp_fread()
5970 if ((err = mp_add_d(a, step, a)) != MP_OKAY) { in mp_prime_next_prime()
6176 if ((err = mp_add_d(a, 1, a)) != MP_OKAY) { goto error; } in mp_prime_random_ex()
6339 if ((res = mp_add_d (a, d, a)) != MP_OKAY) { in mp_rand()
6348 if ((res = mp_add_d (a, ((mp_digit) abs (rand ())), a)) != MP_OKAY) { in mp_rand()
6429 if ((res = mp_add_d (a, (mp_digit) y, a)) != MP_OKAY) { in mp_read_radix()
7555 res = mp_add_d(a, b, c); in mp_sub_d()