summaryrefslogtreecommitdiff
path: root/elgamal.h
Commit message (Collapse)AuthorAgeFilesLines
* Use std namespace for memset, memcpy, memcmp (#1204)Jeffrey Walton2023-04-151-1/+1
|
* Use subgroup order in ElGamal encryption (GH #1059, CVE-2021-40530)Jeffrey Walton2021-09-231-4/+8
|
* Use \return and \throw consitently in the docsJeffrey Walton2020-12-071-3/+3
|
* Update documentationJeffrey Walton2019-09-261-1/+1
|
* Update commentsJeffrey Walton2019-08-271-6/+6
|
* Update commentsJeffrey Walton2019-08-271-12/+13
|
* Fix ElGamal compile on LinuxJeffrey Walton2019-08-271-5/+5
|
* Add specialized Validate() to ElGamalJeffrey Walton2019-08-271-1/+73
| | | | | | This was added for compatibility with BouncyCastle and other libraries. ElGamals paper and the HAC says to select x over the interval [1,p-1]. Crypto++ selects x over [1,q-1] as with other GFP schemes. Crypto++ fails to validate some of the keys of other libraries. DL_PublicKey_GFP_OldFormat used to perform a reduction on x, but I think it treated a symptom and not the underlying cause. The underlying cause was, Crypto++ wass too strict in validating the parameter. Note that wikipedia says to select the privaye key x over [1,q-1]. We are unable to find a reference for the practice, though it is OK.
* Update documentationJeffrey Walton2019-08-251-8/+11
|
* Update documentationJeffrey Walton2019-08-251-11/+45
|
* Update documentationJeffrey Walton2019-08-241-3/+26
|
* Use ASN1::elGamal() in ElGamal keys (GH #876)Jeffrey Walton2019-08-241-2/+22
|
* Fix typedef for MSVC (GH #876)Jeffrey Walton2019-08-241-3/+3
|
* Add typedef for ElGamal::PrivateKey and ElGamal::PublicKey (GH #876)Jeffrey Walton2019-08-241-0/+2
|
* Remove unneeded Doxygen directiveJeffrey Walton2018-01-191-4/+0
|
* Update documentationJeffrey Walton2018-01-191-1/+1
|
* Remove DL_PrivateKey_GFP_OldFormat (GH #567)Jeffrey Walton2018-01-191-2/+6
|
* Change Doxygen comment style from //! to ///Jeffrey Walton2017-11-291-15/+15
| | | | Also see https://groups.google.com/forum/#!topic/cryptopp-users/A7-Xt5Knlzw
* Change file preamble to include "originally written by Wei Dai"Jeffrey Walton2017-01-271-1/+1
| | | | We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
* Removed MAINTAIN_BACKWARDS_COMPATIBILITY_562 (Issue 70)Jeffrey Walton2016-12-031-7/+1
|
* Fix: GCC warning "type qualifiers ignored on function return type".Ralph Tandetzky2016-12-011-1/+1
| | | | This pedantic message appeared all over the code. Also removed one warning about an unused variable in release build.
* Add CRYPTOPP_STATIC_CONSTEXPR macroJeffrey Walton2016-11-131-1/+1
|
* Updated documentation for Crypto++ 1.0 algorithmsJeffrey Walton2016-10-261-8/+19
|
* Add constexpr-ness to StaticAlgorithmName member functionJeffrey Walton2016-09-071-4/+4
|
* Crypto++ 5.6.3 check-inCRYPTOPP_5_6_3Jeffrey Walton2015-11-221-1/+7
|
* Revert botched "Crypto++ 5.6.3 check-in". Corruption due to VMware adding ↵Jeffrey Walton2015-11-221-7/+1
| | | | | | garbage to the end of some source files during drag and drop from guest to host. This reverts commit c45435812225aa68d122c7de246e5f60b509766c.
* Crypto++ 5.6.3 check-inJeffrey Walton2015-11-201-1/+7
|
* CRYPTOPP 5.6.3 RC6 checkinJeffrey Walton2015-11-051-123/+138
|
* Included "integer.h" in source files with Integer dependencies so make would ↵Jeffrey Walton2015-07-301-0/+2
| | | | rebuild stale object files
* fix compile with ICCweidai2007-04-161-1/+1
|
* port to MSVC .NET 2005 beta 2weidai2005-07-121-9/+9
|
* changes done for FIPS-140 lab code dropweidai2005-01-201-19/+3
|
* port to GCC 3.4weidai2004-06-191-2/+2
|
* remove Diamond2, code size reductionsweidai2003-07-191-2/+2
|
* added support for using encoding parameters and key derivation parametersweidai2003-07-161-5/+5
|
* add CRYPTOPP_NO_VTABLEweidai2003-05-161-4/+4
|
* various changes for 5.1weidai2003-03-201-2/+2
|
* Initial revisionweidai2002-10-041-0/+137