summaryrefslogtreecommitdiffstats
path: root/lib/libmp/mpasbn.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename all symbols in libmp(3) to mp_*, just like Solaris.ed2009-02-261-17/+17
| | | | | | | | | | | | The function pow() in libmp(3) clashes with pow(3) in libm. We could rename this single function, but we can just take the same approach as the Solaris folks did, which is to prefix all function names with mp_. libmp(3) isn't really popular nowadays. I suspect not a single application in ports depends on it. There's still a chance, so I've increased the SHLIB_MAJOR and __FreeBSD_version. Reviewed by: deischen, rdivacky
* Pass BN_CTX to internal functions instead of allocating it internally.simon2006-07-301-27/+35
| | | | | | This allows msqrt() to only call BN_CTX_new() once intead of many times. Suggested and reviewed by: stefanf
* Do not put BN_CTX structures on the stack, but instead allocate themsimon2006-07-281-25/+36
| | | | | | | | | | | | runtime using BN_CTX_new(). This is done since in OpenSSL 0.9.7e we can only allocate BN_CTX on the stack by including an internal OpenSSL header file, and in OpenSSL 0.9.8 BN_CTX is entirely opaque, so having it on the stack is not possible at all. This is done as preparation for OpenSSL 0.9.8b import. Tested on: amd64 i386 ia64 Tested with: src/tools/regression/lib/libmp
* Adjust for OpenSSL 0.9.7.markm2003-01-281-1/+1
|
* Add __FBSDID()s to libmpdillon2001-09-301-4/+2
|
* This is the traditional BSD libmp interface implemented in terms ofdd2001-07-291-0/+592
the OpenSSL BIGNUM interface. It is provided for compatibility only and should not be used in new code.
OpenPOWER on IntegriCloud