-
Notifications
You must be signed in to change notification settings - Fork 128
Closed
Labels
tech-debtFor issues that require some internal refactoring.For issues that require some internal refactoring.
Description
The GHC 9.* series has made some pretty significant internal changes regarding how integer values are represented. Cryptol currently uses some internal support for GMP operations that aren't part of the "stable" Integer API, and we may need to do some work to be able to support these going forward.
From memory, the operations we care about that aren't part of the public API are:
- probable prime tests
- finite field inverse (inverse mod
p)
We also make use of the nonpublic BigNat type internal to the PrimeECC module. This is primarily done to avoid boxing, allocations and small integer code paths related the Integer datatype itself. It provides a modest, but nontrival, improvement to the affected operations.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
tech-debtFor issues that require some internal refactoring.For issues that require some internal refactoring.