HomeSort by: relevance | last modified time | path
    Searched refs:mp_int (Results 1 - 4 of 4) sorted by relevancy

  /src/external/bsd/wpa/dist/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...]
libtommath.c 117 /* the infamous mp_int structure */
121 } mp_int; typedef in typeref:struct:__anon6132
132 static int s_mp_exptmod(mp_int * G, mp_int * X, mp_int * P, mp_int * Y, int redmode);
133 static int s_mp_mul_digs (mp_int * a, mp_int * b, mp_int * c, int digs);
134 static int s_mp_sqr(mp_int * a, mp_int * b)
    [all...]
  /src/sbin/nvmectl/
bignum.c 96 static int signed_multiply(mp_int * a, mp_int * b, mp_int * c);
97 static int square(mp_int * a, mp_int * b);
99 static int signed_subtract_word(mp_int *a, mp_digit b, mp_int *c);
116 mp_zero(mp_int *a)
125 mp_grow(mp_int *a, int size)
157 lshift_digits(mp_int * a, int b
    [all...]
bn.h 52 typedef struct mp_int { struct
57 } mp_int; typedef in typeref:struct:mp_int
59 #define BIGNUM mp_int

Completed in 28 milliseconds