Crate gmp_ecm_sys

Crate gmp_ecm_sys 

Source
Expand description

§GMP-ECM-sys

Crate.io

Rust low-level bindings for GMP-ECM.

§Caching the built C libraries

Building the C libraries can take some time. In order to save compilation time, the built libraries are cached in the user’s cache directory as follows:

  • on GNU/Linux: inside $XDG_CACHE_HOME/gmp-ecm-sys or $HOME/.cache/gmp-ecm-sys
  • on macOS: inside $HOME/Library/Caches/gmp-ecm-sys
  • on Windows: inside {FOLDERID_LocalAppData}\gmp-ecm-sys

To use a different directory, you can set the environment variable GMP_ECM_SYS_CACHE to the desired cache directory. Setting the GMP_ECM_SYS_CACHE variable to an empty string or to a single underscore ("_") will disable caching.

§License

The gmp-ecm-sys crate is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the full text of the GNU LGPL and GNU GPL for details.

Structs§

_IO_FILE
_IO_codecvt
_IO_marker
_IO_wide_data
__ecm_param_struct
__ell_curve_struct
__gmp_randstate_struct
__mpz_struct

Constants§

ECM_DEFAULT_B2
ECM_DEFAULT_B1_DONE
ECM_DEFAULT_K
ECM_DEFAULT_S
ECM_ECM
ECM_EC_TYPE_HESSIAN
ECM_EC_TYPE_MONTGOMERY
ECM_EC_TYPE_TWISTED_HESSIAN
ECM_EC_TYPE_WEIERSTRASS
ECM_EC_TYPE_WEIERSTRASS_COMPLETE
ECM_ERROR
ECM_FACTOR_FOUND_STEP1
ECM_FACTOR_FOUND_STEP2
ECM_LAW_AFFINE
ECM_LAW_HOMOGENEOUS
ECM_MOD_BASE2
ECM_MOD_DEFAULT
ECM_MOD_MODMULN
ECM_MOD_MPZ
ECM_MOD_NOBASE2
ECM_MOD_REDC
ECM_NO_FACTOR_FOUND
ECM_PARAM_BATCH_2
ECM_PARAM_BATCH_32BITS_D
ECM_PARAM_BATCH_SQUARE
ECM_PARAM_DEFAULT
ECM_PARAM_HESSIAN
ECM_PARAM_SUYAMA
ECM_PARAM_TORSION
ECM_PARAM_TWISTED_HESSIAN
ECM_PARAM_WEIERSTRASS
ECM_PM1
ECM_PP1
ECM_USER_ERROR
ECM_VERSION
gmp_randalg_t_GMP_RAND_ALG_DEFAULT
gmp_randalg_t_GMP_RAND_ALG_LC

Functions§

ecm_clear
ecm_factor
ecm_init
ecm_reset
ecm_version

Type Aliases§

FILE
_IO_lock_t
__off64_t
__off_t
ecm_params
gmp_randalg_t
gmp_randstate_t
mp_limb_t
mpz_t
size_t

Unions§

__gmp_randstate_struct__bindgen_ty_1