/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/mtest/ |
H A D | mpi.h | 57 /* Macros for accessing the mp_int internals */ 81 } mp_int; typedef in typeref:struct:__anon145 92 mp_err mp_init(mp_int *mp); 93 mp_err mp_init_array(mp_int mp[], int count); 94 mp_err mp_init_size(mp_int *mp, mp_size prec); 95 mp_err mp_init_copy(mp_int *mp, mp_int *from); 96 mp_err mp_copy(mp_int *from, mp_int *to); 97 void mp_exch(mp_int *mp [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/ |
H A D | tommath.h | 180 /* the infamous mp_int structure */ 184 } mp_int; typedef in typeref:struct:__anon146 199 int mp_init(mp_int *a); 202 void mp_clear(mp_int *a); 205 int mp_init_multi(mp_int *mp, ...); 208 void mp_clear_multi(mp_int *mp, ...); 211 void mp_exch(mp_int *a, mp_int *b); 214 int mp_shrink(mp_int *a); 217 int mp_grow(mp_int * [all...] |
H A D | bn_mp_exch.c | 21 * mp_int pointers around 24 mp_exch (mp_int * a, mp_int * b) 26 mp_int t;
|
H A D | bn_mp_signed_bin_size.c | 21 int mp_signed_bin_size (mp_int * a)
|
H A D | bn_mp_addmod.c | 22 mp_addmod (mp_int * a, mp_int * b, mp_int * c, mp_int * d) 25 mp_int t;
|
H A D | bn_mp_mulmod.c | 21 int mp_mulmod (mp_int * a, mp_int * b, mp_int * c, mp_int * d) 24 mp_int t;
|
H A D | bn_mp_submod.c | 22 mp_submod (mp_int * a, mp_int * b, mp_int * c, mp_int * d) 25 mp_int t;
|
H A D | bn_mp_init_copy.c | 21 int mp_init_copy (mp_int * a, mp_int * b)
|
H A D | bn_mp_sqrmod.c | 22 mp_sqrmod (mp_int * a, mp_int * b, mp_int * c) 25 mp_int t;
|
H A D | bn_mp_clear_multi.c | 21 void mp_clear_multi(mp_int *mp, ...) 23 mp_int* next_mp = mp; 28 next_mp = va_arg(args, mp_int*);
|
H A D | bn_mp_invmod.c | 21 int mp_invmod (mp_int * a, mp_int * b, mp_int * c)
|
H A D | bn_mp_zero_multi.c | 22 void mp_zero_multi (mp_int * mp, ...) 24 mp_int* next_mp = mp; 29 next_mp = va_arg(args, mp_int*);
|
H A D | bn_mp_reduce_2k_setup_l.c | 21 int mp_reduce_2k_setup_l(mp_int *a, mp_int *d) 24 mp_int tmp;
|
H A D | bn_mp_init_multi.c | 21 int mp_init_multi(mp_int *mp, ...) 25 mp_int* cur_arg = mp; 44 cur_arg = va_arg(clean_args, mp_int*); 51 cur_arg = va_arg(args, mp_int*);
|
H A D | bn_mp_mod.c | 22 mp_mod (mp_int * a, mp_int * b, mp_int * c) 24 mp_int t;
|
H A D | bn_mp_unsigned_bin_size.c | 21 int mp_unsigned_bin_size (mp_int * a)
|
H A D | bn_mp_abs.c | 25 mp_abs (mp_int * a, mp_int * b)
|
H A D | bn_mp_cmp.c | 22 mp_cmp (mp_int * a, mp_int * b)
|
H A D | bn_mp_neg.c | 21 int mp_neg (mp_int * a, mp_int * b)
|
H A D | bn_mp_reduce_setup.c | 23 int mp_reduce_setup (mp_int * a, mp_int * b)
|
H A D | bn_mp_add.c | 21 int mp_add (mp_int * a, mp_int * b, mp_int * c)
|
H A D | bn_mp_expt_d.c | 21 int mp_expt_d (mp_int * a, mp_digit b, mp_int * c) 24 mp_int g;
|
H A D | bn_mp_prime_fermat.c | 28 int mp_prime_fermat (mp_int * a, mp_int * b, int *result) 30 mp_int t;
|
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/tls/ |
H A D | bignum.c | 29 * struct bignum is just typecast to mp_int. 38 struct bignum *n = os_zalloc(sizeof(mp_int)); 41 if (mp_init((mp_int *) n) != MP_OKAY) { 56 mp_clear((mp_int *) n); 69 return mp_unsigned_bin_size((mp_int *) n); 83 size_t need = mp_unsigned_bin_size((mp_int *) n); 88 if (mp_to_unsigned_bin((mp_int *) n, buf) != MP_OKAY) { 107 if (mp_read_unsigned_bin((mp_int *) n, (u8 *) buf, len) != MP_OKAY) { 123 return mp_cmp((mp_int *) a, (mp_int *) [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
H A D | ec.c | 40 mp_int x; 41 mp_int y; 42 mp_int z; 47 mp_int prime; 48 mp_int order; 49 mp_int Gx; 50 mp_int Gy; 57 mp_int privkey; 109 ec_point_mul(EC_POINT *res, const EC_GROUP *group, const mp_int *point)
|