HomeSort by relevance Sort by last modified time
    Searched refs:mp_int (Results 1 - 25 of 151) sorted by null

1 2 3 4 5 6 7

  /external/dropbear/
bignum.h 30 void m_mp_init(mp_int *mp);
31 void m_mp_init_multi(mp_int *mp, ...);
32 void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len);
33 void sha1_process_mp(hash_state *hs, mp_int *mp);
random.h 28 struct mp_int;
34 void gen_random_mpint(mp_int *max, mp_int *rand);
kex.h 36 void gen_kexdh_vals(mp_int *dh_pub, mp_int *dh_priv);
37 void kexdh_comb_key(mp_int *dh_pub_us, mp_int *dh_priv, mp_int *dh_pub_them,
rsa.h 37 mp_int* n;
38 mp_int* e;
39 mp_int* d;
40 mp_int* p;
41 mp_int* q;
bignum.c 25 /* Contains helper functions for mp_int handling */
31 void m_mp_init(mp_int *mp) {
40 void m_mp_init_multi(mp_int *mp, ...)
42 mp_int* cur_arg = mp;
50 cur_arg = va_arg(args, mp_int*);
55 void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len) {
62 /* hash the ssh representation of the mp_int mp */
63 void sha1_process_mp(hash_state *hs, mp_int *mp) {
genrsa.c 36 static void getrsaprime(mp_int* prime, mp_int *primeminus,
37 mp_int* rsa_e, unsigned int size);
49 key->e = (mp_int*)m_malloc(sizeof(mp_int));
50 key->n = (mp_int*)m_malloc(sizeof(mp_int));
51 key->d = (mp_int*)m_malloc(sizeof(mp_int));
52 key->p = (mp_int*)m_malloc(sizeof(mp_int))
    [all...]
  /external/dropbear/libtommath/mtest/
mpi.h 55 /* Macros for accessing the mp_int internals */
79 } mp_int; typedef in typeref:struct:__anon19213
90 mp_err mp_init(mp_int *mp);
91 mp_err mp_init_array(mp_int mp[], int count);
92 mp_err mp_init_size(mp_int *mp, mp_size prec);
93 mp_err mp_init_copy(mp_int *mp, mp_int *from);
94 mp_err mp_copy(mp_int *from, mp_int *to);
95 void mp_exch(mp_int *mp1, mp_int *mp2)
    [all...]
  /external/dropbear/libtommath/
tommath.h 178 /* the infamous mp_int structure */
182 } mp_int; typedef in typeref:struct:__anon19216
197 int mp_init(mp_int *a);
200 void mp_clear(mp_int *a);
203 int mp_init_multi(mp_int *mp, ...);
206 void mp_clear_multi(mp_int *mp, ...);
209 void mp_exch(mp_int *a, mp_int *b);
212 int mp_shrink(mp_int *a);
215 int mp_grow(mp_int *a, int size)
    [all...]
bn_mp_exch.c 19 * mp_int pointers around
22 mp_exch (mp_int * a, mp_int * b)
24 mp_int t;
bn_mp_signed_bin_size.c 19 int mp_signed_bin_size (mp_int * a)
bn_mp_addmod.c 20 mp_addmod (mp_int * a, mp_int * b, mp_int * c, mp_int * d)
23 mp_int t;
bn_mp_mulmod.c 19 int mp_mulmod (mp_int * a, mp_int * b, mp_int * c, mp_int * d)
22 mp_int t;
bn_mp_submod.c 20 mp_submod (mp_int * a, mp_int * b, mp_int * c, mp_int * d)
23 mp_int t;
bn_mp_init_copy.c 19 int mp_init_copy (mp_int * a, mp_int * b)
bn_mp_sqrmod.c 20 mp_sqrmod (mp_int * a, mp_int * b, mp_int * c)
23 mp_int t;
bn_mp_clear_multi.c 19 void mp_clear_multi(mp_int *mp, ...)
21 mp_int* next_mp = mp;
26 next_mp = va_arg(args, mp_int*);
bn_mp_invmod.c 19 int mp_invmod (mp_int * a, mp_int * b, mp_int * c)
bn_mp_reduce_2k_setup_l.c 19 int mp_reduce_2k_setup_l(mp_int *a, mp_int *d)
22 mp_int tmp;
bn_mp_init_multi.c 19 int mp_init_multi(mp_int *mp, ...)
23 mp_int* cur_arg = mp;
42 cur_arg = va_arg(clean_args, mp_int*);
49 cur_arg = va_arg(args, mp_int*);
bn_mp_mod.c 20 mp_mod (mp_int * a, mp_int * b, mp_int * c)
22 mp_int t;
bn_mp_unsigned_bin_size.c 19 int mp_unsigned_bin_size (mp_int * a)
bn_mp_abs.c 23 mp_abs (mp_int * a, mp_int * b)
bn_mp_cmp.c 20 mp_cmp (mp_int * a, mp_int * b)
bn_mp_neg.c 19 int mp_neg (mp_int * a, mp_int * b)
  /external/wpa_supplicant_8/src/tls/
bignum.c 23 * struct bignum is just typecast to mp_int.
32 struct bignum *n = os_zalloc(sizeof(mp_int));
35 if (mp_init((mp_int *) n) != MP_OKAY) {
50 mp_clear((mp_int *) n);
63 return mp_unsigned_bin_size((mp_int *) n);
77 size_t need = mp_unsigned_bin_size((mp_int *) n);
82 if (mp_to_unsigned_bin((mp_int *) n, buf) != MP_OKAY) {
101 if (mp_read_unsigned_bin((mp_int *) n, (u8 *) buf, len) != MP_OKAY) {
117 return mp_cmp((mp_int *) a, (mp_int *) b)
    [all...]

Completed in 323 milliseconds

1 2 3 4 5 6 7