Searched refs:mp_int (Results 1 - 25 of 134) sorted by relevance

123456

/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/mtest/
H A Dmpi.h57 /* 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 Dtommath.h180 /* 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 Dbn_mp_exch.c21 * mp_int pointers around
24 mp_exch (mp_int * a, mp_int * b)
26 mp_int t;
H A Dbn_mp_signed_bin_size.c21 int mp_signed_bin_size (mp_int * a)
H A Dbn_mp_addmod.c22 mp_addmod (mp_int * a, mp_int * b, mp_int * c, mp_int * d)
25 mp_int t;
H A Dbn_mp_mulmod.c21 int mp_mulmod (mp_int * a, mp_int * b, mp_int * c, mp_int * d)
24 mp_int t;
H A Dbn_mp_submod.c22 mp_submod (mp_int * a, mp_int * b, mp_int * c, mp_int * d)
25 mp_int t;
H A Dbn_mp_init_copy.c21 int mp_init_copy (mp_int * a, mp_int * b)
H A Dbn_mp_sqrmod.c22 mp_sqrmod (mp_int * a, mp_int * b, mp_int * c)
25 mp_int t;
H A Dbn_mp_clear_multi.c21 void mp_clear_multi(mp_int *mp, ...)
23 mp_int* next_mp = mp;
28 next_mp = va_arg(args, mp_int*);
H A Dbn_mp_invmod.c21 int mp_invmod (mp_int * a, mp_int * b, mp_int * c)
H A Dbn_mp_zero_multi.c22 void mp_zero_multi (mp_int * mp, ...)
24 mp_int* next_mp = mp;
29 next_mp = va_arg(args, mp_int*);
H A Dbn_mp_reduce_2k_setup_l.c21 int mp_reduce_2k_setup_l(mp_int *a, mp_int *d)
24 mp_int tmp;
H A Dbn_mp_init_multi.c21 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 Dbn_mp_mod.c22 mp_mod (mp_int * a, mp_int * b, mp_int * c)
24 mp_int t;
H A Dbn_mp_unsigned_bin_size.c21 int mp_unsigned_bin_size (mp_int * a)
H A Dbn_mp_abs.c25 mp_abs (mp_int * a, mp_int * b)
H A Dbn_mp_cmp.c22 mp_cmp (mp_int * a, mp_int * b)
H A Dbn_mp_neg.c21 int mp_neg (mp_int * a, mp_int * b)
H A Dbn_mp_reduce_setup.c23 int mp_reduce_setup (mp_int * a, mp_int * b)
H A Dbn_mp_add.c21 int mp_add (mp_int * a, mp_int * b, mp_int * c)
H A Dbn_mp_expt_d.c21 int mp_expt_d (mp_int * a, mp_digit b, mp_int * c)
24 mp_int g;
H A Dbn_mp_prime_fermat.c28 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 Dbignum.c29 * 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 Dec.c40 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)

Completed in 163 milliseconds

123456