Expand description
§GMP-ECM-sys
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_ NOBAS E2 - 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