mp_result 92 source4/heimdal/lib/hcrypto/dh-imath.c mp_result res;
mp_result 164 source4/heimdal/lib/hcrypto/dh-imath.c mp_result res;
mp_result 48 source4/heimdal/lib/hcrypto/imath/imath.c const mp_result MP_OK = 0; /* no error, all is well */
mp_result 49 source4/heimdal/lib/hcrypto/imath/imath.c const mp_result MP_FALSE = 0; /* boolean false */
mp_result 50 source4/heimdal/lib/hcrypto/imath/imath.c const mp_result MP_TRUE = -1; /* boolean true */
mp_result 51 source4/heimdal/lib/hcrypto/imath/imath.c const mp_result MP_MEMORY = -2; /* out of memory */
mp_result 52 source4/heimdal/lib/hcrypto/imath/imath.c const mp_result MP_RANGE = -3; /* argument out of range */
mp_result 53 source4/heimdal/lib/hcrypto/imath/imath.c const mp_result MP_UNDEF = -4; /* result undefined */
mp_result 54 source4/heimdal/lib/hcrypto/imath/imath.c const mp_result MP_TRUNC = -5; /* output truncated */
mp_result 55 source4/heimdal/lib/hcrypto/imath/imath.c const mp_result MP_BADARG = -6; /* invalid null argument */
mp_result 56 source4/heimdal/lib/hcrypto/imath/imath.c const mp_result MP_MINERR = -6;
mp_result 278 source4/heimdal/lib/hcrypto/imath/imath.c static mp_result s_brmu(mp_int z, mp_int m);
mp_result 284 source4/heimdal/lib/hcrypto/imath/imath.c static mp_result s_embar(mp_int a, mp_int b, mp_int m, mp_int mu, mp_int c);
mp_result 288 source4/heimdal/lib/hcrypto/imath/imath.c static mp_result s_udiv(mp_int a, mp_int b);
mp_result 312 source4/heimdal/lib/hcrypto/imath/imath.c static mp_result s_tobin(mp_int z, unsigned char *buf, int *limpos, int pad);
mp_result 322 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_init(mp_int z)
mp_result 354 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_init_size(mp_int z, mp_size prec)
mp_result 380 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_init_copy(mp_int z, mp_int old)
mp_result 382 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res;
mp_result 409 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_init_value(mp_int z, mp_small value)
mp_result 422 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_set_value(mp_int z, mp_small value)
mp_result 464 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_copy(mp_int a, mp_int c)
mp_result 516 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_abs(mp_int a, mp_int c)
mp_result 518 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res;
mp_result 533 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_neg(mp_int a, mp_int c)
mp_result 535 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res;
mp_result 552 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_add(mp_int a, mp_int b, mp_int c)
mp_result 621 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_add_value(mp_int a, mp_small value, mp_int c)
mp_result 635 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_sub(mp_int a, mp_int b, mp_int c)
mp_result 699 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_sub_value(mp_int a, mp_small value, mp_int c)
mp_result 713 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_mul(mp_int a, mp_int b, mp_int c)
mp_result 775 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_mul_value(mp_int a, mp_small value, mp_int c)
mp_result 789 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_mul_pow2(mp_int a, mp_small p2, mp_int c)
mp_result 791 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res;
mp_result 807 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_sqr(mp_int a, mp_int c)
mp_result 854 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_div(mp_int a, mp_int b, mp_int q, mp_int r)
mp_result 857 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res = MP_OK;
mp_result 959 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_mod(mp_int a, mp_int m, mp_int c)
mp_result 961 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res;
mp_result 992 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_div_value(mp_int a, mp_small value, mp_int q, mp_small *r)
mp_result 996 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res;
mp_result 1016 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_div_pow2(mp_int a, mp_small p2, mp_int q, mp_int r)
mp_result 1018 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res = MP_OK;
mp_result 1035 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_expt(mp_int a, mp_small b, mp_int c)
mp_result 1038 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res;
mp_result 1069 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_expt_value(mp_small a, mp_small b, mp_int c)
mp_result 1072 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res;
mp_result 1187 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_exptmod(mp_int a, mp_int b, mp_int m, mp_int c)
mp_result 1189 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res;
mp_result 1235 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_exptmod_evalue(mp_int a, mp_small value, mp_int m, mp_int c)
mp_result 1249 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_exptmod_bvalue(mp_small value, mp_int b,
mp_result 1264 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_exptmod_known(mp_int a, mp_int b, mp_int m, mp_int mu, mp_int c)
mp_result 1266 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res;
mp_result 1309 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_redux_const(mp_int m, mp_int c)
mp_result 1320 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_invmod(mp_int a, mp_int m, mp_int c)
mp_result 1322 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res;
mp_result 1371 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_gcd(mp_int a, mp_int b, mp_int c)
mp_result 1375 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res;
mp_result 1453 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_egcd(mp_int a, mp_int b, mp_int c,
mp_result 1458 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res;
mp_result 1568 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_lcm(mp_int a, mp_int b, mp_int c)
mp_result 1571 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res;
mp_result 1631 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_root(mp_int a, mp_small b, mp_int c)
mp_result 1633 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res = MP_OK;
mp_result 1703 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_to_int(mp_int z, mp_small *out)
mp_result 1737 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_to_uint(mp_int z, mp_usmall *out)
mp_result 1770 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_to_string(mp_int z, mp_size radix,
mp_result 1773 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res;
mp_result 1830 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_string_len(mp_int z, mp_size radix)
mp_result 1853 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_read_string(mp_int z, mp_size radix, const char *str)
mp_result 1863 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_read_cstring(mp_int z, mp_size radix, const char *str, char **end)
mp_result 1927 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_count_bits(mp_int z)
mp_result 1954 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_to_binary(mp_int z, unsigned char *buf, int limit)
mp_result 1958 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res;
mp_result 1975 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_read_binary(mp_int z, unsigned char *buf, int len)
mp_result 2014 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_binary_len(mp_int z)
mp_result 2016 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res = mp_int_count_bits(z);
mp_result 2037 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_to_unsigned(mp_int z, unsigned char *buf, int limit)
mp_result 2050 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_read_unsigned(mp_int z, unsigned char *buf, int len)
mp_result 2078 source4/heimdal/lib/hcrypto/imath/imath.c mp_result mp_int_unsigned_len(mp_int z)
mp_result 2080 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res = mp_int_count_bits(z);
mp_result 2947 source4/heimdal/lib/hcrypto/imath/imath.c static mp_result s_brmu(mp_int z, mp_int m)
mp_result 3011 source4/heimdal/lib/hcrypto/imath/imath.c static mp_result s_embar(mp_int a, mp_int b, mp_int m, mp_int mu, mp_int c)
mp_result 3015 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res;
mp_result 3091 source4/heimdal/lib/hcrypto/imath/imath.c static mp_result s_udiv(mp_int a, mp_int b)
mp_result 3096 source4/heimdal/lib/hcrypto/imath/imath.c mp_result res = MP_OK;
mp_result 3189 source4/heimdal/lib/hcrypto/imath/imath.c mp_result bits;
mp_result 3276 source4/heimdal/lib/hcrypto/imath/imath.c static mp_result s_tobin(mp_int z, unsigned char *buf, int *limpos, int pad)
mp_result 65 source4/heimdal/lib/hcrypto/imath/imath.h extern const mp_result MP_OK;
mp_result 66 source4/heimdal/lib/hcrypto/imath/imath.h extern const mp_result MP_FALSE;
mp_result 67 source4/heimdal/lib/hcrypto/imath/imath.h extern const mp_result MP_TRUE;
mp_result 68 source4/heimdal/lib/hcrypto/imath/imath.h extern const mp_result MP_MEMORY;
mp_result 69 source4/heimdal/lib/hcrypto/imath/imath.h extern const mp_result MP_RANGE;
mp_result 70 source4/heimdal/lib/hcrypto/imath/imath.h extern const mp_result MP_UNDEF;
mp_result 71 source4/heimdal/lib/hcrypto/imath/imath.h extern const mp_result MP_TRUNC;
mp_result 72 source4/heimdal/lib/hcrypto/imath/imath.h extern const mp_result MP_BADARG;
mp_result 73 source4/heimdal/lib/hcrypto/imath/imath.h extern const mp_result MP_MINERR;
mp_result 114 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_init(mp_int z);
mp_result 116 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_init_size(mp_int z, mp_size prec);
mp_result 117 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_init_copy(mp_int z, mp_int old);
mp_result 118 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_init_value(mp_int z, mp_small value);
mp_result 119 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_set_value(mp_int z, mp_small value);
mp_result 123 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_copy(mp_int a, mp_int c); /* c = a */
mp_result 126 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_abs(mp_int a, mp_int c); /* c = |a| */
mp_result 127 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_neg(mp_int a, mp_int c); /* c = -a */
mp_result 128 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_add(mp_int a, mp_int b, mp_int c); /* c = a + b */
mp_result 129 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_add_value(mp_int a, mp_small value, mp_int c);
mp_result 130 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_sub(mp_int a, mp_int b, mp_int c); /* c = a - b */
mp_result 131 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_sub_value(mp_int a, mp_small value, mp_int c);
mp_result 132 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_mul(mp_int a, mp_int b, mp_int c); /* c = a * b */
mp_result 133 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_mul_value(mp_int a, mp_small value, mp_int c);
mp_result 134 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_mul_pow2(mp_int a, mp_small p2, mp_int c);
mp_result 135 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_sqr(mp_int a, mp_int c); /* c = a * a */
mp_result 136 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_div(mp_int a, mp_int b, /* q = a / b */
mp_result 138 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_div_value(mp_int a, mp_small value, /* q = a / value */
mp_result 140 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_div_pow2(mp_int a, mp_small p2, /* q = a / 2^p2 */
mp_result 142 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_mod(mp_int a, mp_int m, mp_int c); /* c = a % m */
mp_result 144 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_expt(mp_int a, mp_small b, mp_int c); /* c = a^b */
mp_result 145 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_expt_value(mp_small a, mp_small b, mp_int c); /* c = a^b */
mp_result 158 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_exptmod(mp_int a, mp_int b, mp_int m,
mp_result 160 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_exptmod_evalue(mp_int a, mp_small value,
mp_result 162 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_exptmod_bvalue(mp_small value, mp_int b,
mp_result 164 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_exptmod_known(mp_int a, mp_int b,
mp_result 167 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_redux_const(mp_int m, mp_int c);
mp_result 169 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_invmod(mp_int a, mp_int m, mp_int c); /* c = 1/a (mod m) */
mp_result 171 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_gcd(mp_int a, mp_int b, mp_int c); /* c = gcd(a, b) */
mp_result 173 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_egcd(mp_int a, mp_int b, mp_int c, /* c = gcd(a, b) */
mp_result 176 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_lcm(mp_int a, mp_int b, mp_int c); /* c = lcm(a, b) */
mp_result 178 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_root(mp_int a, mp_small b, mp_int c); /* c = floor(a^{1/b}) */
mp_result 182 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_to_int(mp_int z, mp_small *out);
mp_result 183 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_to_uint(mp_int z, mp_usmall *out);
mp_result 187 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_to_string(mp_int z, mp_size radix,
mp_result 192 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_string_len(mp_int z, mp_size radix);
mp_result 195 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_read_string(mp_int z, mp_size radix, const char *str);
mp_result 196 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_read_cstring(mp_int z, mp_size radix, const char *str,
mp_result 200 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_count_bits(mp_int z);
mp_result 203 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_to_binary(mp_int z, unsigned char *buf, int limit);
mp_result 206 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_read_binary(mp_int z, unsigned char *buf, int len);
mp_result 209 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_binary_len(mp_int z);
mp_result 212 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_to_unsigned(mp_int z, unsigned char *buf, int limit);
mp_result 215 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_read_unsigned(mp_int z, unsigned char *buf, int len);
mp_result 218 source4/heimdal/lib/hcrypto/imath/imath.h mp_result mp_int_unsigned_len(mp_int z);
mp_result 125 source4/heimdal/lib/hcrypto/imath/iprime.c mp_result mp_int_is_prime(mp_int z)
mp_result 129 source4/heimdal/lib/hcrypto/imath/iprime.c mp_result res;
mp_result 171 source4/heimdal/lib/hcrypto/imath/iprime.c mp_result mp_int_find_prime(mp_int z)
mp_result 173 source4/heimdal/lib/hcrypto/imath/iprime.c mp_result res;
mp_result 43 source4/heimdal/lib/hcrypto/imath/iprime.h mp_result mp_int_is_prime(mp_int z);
mp_result 46 source4/heimdal/lib/hcrypto/imath/iprime.h mp_result mp_int_find_prime(mp_int z);
mp_result 117 source4/heimdal/lib/hcrypto/rsa-imath.c static mp_result
mp_result 160 source4/heimdal/lib/hcrypto/rsa-imath.c mp_result res;
mp_result 229 source4/heimdal/lib/hcrypto/rsa-imath.c mp_result res;
mp_result 301 source4/heimdal/lib/hcrypto/rsa-imath.c mp_result res;
mp_result 399 source4/heimdal/lib/hcrypto/rsa-imath.c mp_result res;
mp_result 507 source4/heimdal/lib/hcrypto/rsa-imath.c mp_result res;