diff --git a/crypto/modexp/modexp.go b/crypto/modexp/modexp.go index 2fe383f2ac..34028f0650 100644 --- a/crypto/modexp/modexp.go +++ b/crypto/modexp/modexp.go @@ -1,7 +1,7 @@ package modexp import ( - "github.com/ethereum/go-ethereum/crypto/modexp/bigint" + "github.com/ethereum/go-ethereum/crypto/modexp/gmp" ) // ModExp performs modular exponentiation on byte arrays @@ -9,5 +9,5 @@ import ( // This uses the bigint implementation by default. // To use GMP implementation, import crypto/modexp/gmp directly. func ModExp(base, exp, mod []byte) ([]byte, error) { - return bigint.ModExp(base, exp, mod) + return gmp.ModExp(base, exp, mod) } \ No newline at end of file