Home
last modified time | relevance | path

Searched refs:tfm_to_ltc_error (Results 1 – 1 of 1) sorted by relevance

/external/dropbear/libtomcrypt/src/math/
Dtfm_desc.c32 static int tfm_to_ltc_error(int err) in tfm_to_ltc_error() function
171 return tfm_to_ltc_error(fp_read_radix(a, (char *)b, radix)); in read_radix()
179 return tfm_to_ltc_error(fp_toradix(a, b, radix)); in write_radix()
275 return tfm_to_ltc_error(fp_div(a, b, c, d)); in divide()
295 if ((err = tfm_to_ltc_error(fp_mod_d(a, b, &tmp))) != CRYPT_OK) { in modi()
328 return tfm_to_ltc_error(fp_mulmod(a,b,c,d)); in mulmod()
336 return tfm_to_ltc_error(fp_sqrmod(a,b,c)); in sqrmod()
345 return tfm_to_ltc_error(fp_invmod(a, b, c)); in invmod()
358 if ((err = tfm_to_ltc_error(fp_montgomery_setup(a, (fp_digit *)*b))) != CRYPT_OK) { in montgomery_setup()
395 return tfm_to_ltc_error(fp_exptmod(a,b,c,d)); in exptmod()