"calib/lll.h"
Header.The "calib/lll.h"
header currently defines a single function:
int _calib_LLL (mpz_ptr res, mpz_srcptr b, int nvec, int vsize);
This is a CALIB-provided implementation of the Lenstra, Lenstra, Lovász (LLL) lattice-basis reduction algorithm. This implementation is not yet ready for use. (The leading underscore will disappear when this changes. In the mean time, we encourage the use of FPLLL. CALIB’s internal LLL algorithmitm will never beat the performance of FPLLL, which is very large and complex.)
The basis vector arguments to this routine consist of a sequence of
nvec
integer vectors, each having vsize
elements.
The i
-th vector begins at element i*vsize
of the
array.
The parameters are as follows:
res | array that receives the reduced lattice-basis vectors; |
b | array containing the lattic-basis vectors to reduce; |
nvec | number of basis vectors; and |
vsize | number of elements in each basis vector. |
Returns zero upon success and a non-zero code upon failure.