Next: Prime-Number-Generator Subsystem Architecture, Previous: Hashing and MACing Subsystem Architecture, Up: Architecture
The implementation of Libgcrypt's big integer computation code is based on an old release of GNU Multi-Precision Library (GMP). The decision not to use the GMP library directly was due to stalled development at that time and due to security requirements which could not be provided by the code in GMP. As GMP does, Libgcrypt provides high performance assembler implementations of low level code for several CPUS to gain much better performance than with a generic C implementation.
Major features of Libgcrypt's multi-precision-integer code compared to GMP are: