Go to the documentation of this file.
21 #include <amcl/fp12_BN254.h>
51 cfe_error
cfe_baby_giant(mpz_t res, mpz_t h, mpz_t g, mpz_t p, mpz_t order, mpz_t bound);
83 cfe_error
cfe_pollard_rho(mpz_t res, mpz_t h, mpz_t g, mpz_t p, mpz_t n);
cfe_error cfe_baby_giant_FP12_BN256_with_neg(mpz_t res, FP12_BN254 *h, FP12_BN254 *g, mpz_t bound)
Baby-step giant-step method for computing the discrete logarithm in the pairing group FP12_BN254 find...
cfe_error cfe_pollard_rho(mpz_t res, mpz_t h, mpz_t g, mpz_t p, mpz_t n)
Pollard's rho algorithm - simple, non-parallel version.
cfe_error cfe_baby_giant(mpz_t res, mpz_t h, mpz_t g, mpz_t p, mpz_t order, mpz_t bound)
Baby-step giant-step method for computing the discrete logarithm in the Zp group.
cfe_error cfe_baby_giant_with_neg(mpz_t res, mpz_t h, mpz_t g, mpz_t p, mpz_t _order, mpz_t bound)
Baby-step giant-step method for computing the discrete logarithm in the Zp group finding also negativ...