tomcrypt.math

math functions *

Members

Aliases

MP_DIGIT_BIT
alias MP_DIGIT_BIT = ltc_mp.bits_per_digit
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ecc_point
alias ecc_point = void
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
mp_clear_multi
alias mp_clear_multi = ltc_deinit_multi
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
mp_init_multi
alias mp_init_multi = ltc_init_multi
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
mp_set_int
alias mp_set_int = mp_set
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
rsa_key
alias rsa_key = void
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Functions

ltc_deinit_multi
void ltc_deinit_multi(void* a, ...)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ltc_init_multi
int ltc_init_multi(void** a, ...)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
mp_2expt
int mp_2expt(void* a, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_add
int mp_add(void* a, void* b, void* c)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_add_d
int mp_add_d(void* a, c_ulong b, void* c)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_clear
void mp_clear(void* a)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_cmp
int mp_cmp(void* a, void* b)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_cmp_d
int mp_cmp_d(void* a, c_ulong n)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_cnt_lsb
int mp_cnt_lsb(void* a)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_copy
int mp_copy(void* src, void* dst)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_count_bits
int mp_count_bits(void* a)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_div
int mp_div(void* a, void* b, void* c, void* d)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_div_2
int mp_div_2(void* a, void* b)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_exch
void mp_exch(T a, T b)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_exptmod
int mp_exptmod(void* a, void* b, void* c, void* d)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_gcd
int mp_gcd(void* a, void* b, void* c)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_get_digit
c_ulong mp_get_digit(void* a, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_get_digit_count
int mp_get_digit_count(void* a)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_get_int
c_ulong mp_get_int(void* a)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_init
int mp_init(void** a)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_init_copy
int mp_init_copy(void** dst, void* src)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_invmod
int mp_invmod(void* a, void* b, void* c)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_isodd
bool mp_isodd(void* a)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_iszero
bool mp_iszero(void* a)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_lcm
int mp_lcm(void* a, void* b, void* c)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_mod
int mp_mod(void* a, void* b, void* c)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_mod_d
int mp_mod_d(void* a, c_ulong b, c_ulong* c)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_montgomery_free
void mp_montgomery_free(void* a)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_montgomery_normalization
int mp_montgomery_normalization(void* a, void* b)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_montgomery_reduce
int mp_montgomery_reduce(void* a, void* b, void* c)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_montgomery_setup
int mp_montgomery_setup(void* a, void** b)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_mul
int mp_mul(void* a, void* b, void* c)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_mul_d
int mp_mul_d(void* a, c_ulong b, void* c)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_mulmod
int mp_mulmod(void* a, void* b, void* c, void* d)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_neg
int mp_neg(void* src, void* dst)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_prime_is_prime
int mp_prime_is_prime(void* a, int* b)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_read_radix
int mp_read_radix(void* a, char* str, int radix)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_read_unsigned_bin
int mp_read_unsigned_bin(void* dst, ubyte* src, c_ulong len)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_set
int mp_set(void* a, c_ulong n)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_sqr
int mp_sqr(void* a, void* b)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_sqrmod
int mp_sqrmod(void* a, void* b, void* c)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_sub
int mp_sub(void* a, void* b, void* c)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_sub_d
int mp_sub_d(void* a, c_ulong b, void* c)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_to_unsigned_bin
int mp_to_unsigned_bin(void* src, ubyte* dst)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_tohex
int mp_tohex(void* a, char* str)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_toradix
int mp_toradix(void* a, char* str, int radix)
Undocumented in source. Be warned that the author may not have intended to support it.
mp_unsigned_bin_size
c_ulong mp_unsigned_bin_size(void* a)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

LTC_MP_EQ
enum LTC_MP_EQ;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LTC_MP_GT
enum LTC_MP_GT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LTC_MP_LT
enum LTC_MP_LT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LTC_MP_NO
enum LTC_MP_NO;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
LTC_MP_YES
enum LTC_MP_YES;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Static variables

gmp_desc
ltc_math_descriptor gmp_desc;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ltc_mp
ltc_math_descriptor ltc_mp;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ltm_desc
ltc_math_descriptor ltm_desc;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tfm_desc
ltc_math_descriptor tfm_desc;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

ltc_math_descriptor
struct ltc_math_descriptor

math descriptor

Meta