/external/dropbear/libtommath/ |
bn_mp_mul_2.c | 25 if ((res = mp_grow (b, a->used + 1)) != MP_OKAY) { 76 return MP_OKAY;
|
bn_mp_mul_d.c | 28 if ((res = mp_grow (c, a->used + 1)) != MP_OKAY) { 73 return MP_OKAY;
|
bn_mp_init.c | 40 return MP_OKAY;
|
bn_mp_init_size.c | 42 return MP_OKAY;
|
bn_mp_shrink.c | 29 return MP_OKAY;
|
bn_mp_div_d.c | 52 return MP_OKAY; 63 return MP_OKAY; 74 if ((res = mp_init_size(&q, a->used)) != MP_OKAY) {
|
bn_mp_grow.c | 51 return MP_OKAY;
|
bn_mp_montgomery_setup.c | 53 return MP_OKAY;
|
bn_fast_s_mp_mul_digs.c | 42 if ((res = mp_grow (c, digs)) != MP_OKAY) { 101 return MP_OKAY;
|
bn_fast_s_mp_mul_high_digs.c | 36 if ((res = mp_grow (c, pa)) != MP_OKAY) { 92 return MP_OKAY;
|
bn_mp_add_d.c | 27 if ((res = mp_grow(c, a->used + 1)) != MP_OKAY) { 105 return MP_OKAY;
|
bn_mp_dr_reduce.c | 44 if ((err = mp_grow (x, m + m)) != MP_OKAY) { 88 return MP_OKAY;
|
bn_mp_montgomery_reduce.c | 40 if ((res = mp_grow (x, digs)) != MP_OKAY) { 112 return MP_OKAY;
|
bn_mp_sub_d.c | 27 if ((res = mp_grow(c, a->used + 1)) != MP_OKAY) { 86 return MP_OKAY;
|
bn_s_mp_add.c | 40 if ((res = mp_grow (c, max + 1)) != MP_OKAY) { 103 return MP_OKAY;
|
bn_s_mp_mul_digs.c | 37 if ((res = mp_init_size (&t, digs)) != MP_OKAY) { 84 return MP_OKAY;
|
bn_s_mp_mul_high_digs.c | 38 if ((res = mp_init_size (&t, a->used + b->used + 1)) != MP_OKAY) { 75 return MP_OKAY;
|
bn_s_mp_sqr.c | 27 if ((res = mp_init_size (&t, 2*pa + 1)) != MP_OKAY) { 78 return MP_OKAY;
|
bn_s_mp_sub.c | 30 if ((res = mp_grow (c, max)) != MP_OKAY) { 82 return MP_OKAY;
|
bn_fast_mp_montgomery_reduce.c | 36 if ((res = mp_grow (x, n->used + 1)) != MP_OKAY) { 166 return MP_OKAY;
|
bn_fast_s_mp_sqr.c | 37 if ((res = mp_grow (b, pa)) != MP_OKAY) { 108 return MP_OKAY;
|
bn_mp_div_3.c | 30 if ((res = mp_init_size(&q, a->used)) != MP_OKAY) {
|
/external/dropbear/ |
rsa.c | 238 buf->len - buf->pos) != MP_OKAY) { 252 if (mp_exptmod(&rsa_s, key->e, key->n, &rsa_mdash) != MP_OKAY) { 304 if (mp_exptmod(&rsa_tmp2, key->e, key->n, &rsa_s) != MP_OKAY) { 307 if (mp_invmod(&rsa_tmp2, key->n, &rsa_tmp3) != MP_OKAY) { 310 if (mp_mulmod(&rsa_tmp1, &rsa_s, key->n, &rsa_tmp2) != MP_OKAY) { 316 if (mp_exptmod(&rsa_tmp2, key->d, key->n, &rsa_tmp1) != MP_OKAY) { 323 if (mp_mulmod(&rsa_tmp1, &rsa_tmp3, key->n, &rsa_s) != MP_OKAY) { 331 if (mp_exptmod(&rsa_tmp1, key->d, key->n, &rsa_s) != MP_OKAY) { 353 if (mp_to_unsigned_bin(&rsa_s, buf_getwriteptr(buf, ssize)) != MP_OKAY) {
|
buffer.c | 301 if (mp_to_unsigned_bin(mp, buf_getwriteptr(buf, len-pad)) != MP_OKAY) { 332 if (mp_read_unsigned_bin(mp, buf_getptr(buf, len), len) != MP_OKAY) {
|
common-kex.c | 487 if (mp_set_int(&dh_g, DH_G_VAL) != MP_OKAY) { 493 if (mp_sub_d(&dh_p, 1, dh_priv) != MP_OKAY) { 496 if (mp_div_2(dh_priv, &dh_q) != MP_OKAY) { 504 if (mp_exptmod(&dh_g, dh_priv, &dh_p, dh_pub) != MP_OKAY) { 534 if (mp_exptmod(dh_pub_them, dh_priv, &dh_p, ses.dh_K) != MP_OKAY) {
|