aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/mce/mceliece.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix MSVC warnings in McElieceJack Lloyd2019-12-061-16/+21
|
* More include header cleanupsJack Lloyd2017-09-211-1/+0
|
* Convert to using standard uintN_t integer typesJack Lloyd2016-12-181-26/+26
| | | | | | Renames a couple of functions for somewhat better name consistency, eg make_u32bit becomes make_uint32. The old typedefs remain for now since probably lots of application code uses them.
* Avoid having source files start with /**Jack Lloyd2016-11-251-1/+1
| | | | | | | This caused Doxygen to dump the copyright notices for those files into the Botan namespace description, which is not helpful. [ci skip]
* McEliece cleanupsJack Lloyd2015-09-291-105/+68
| | | | | | | | | | | | | | | | | | | | Remove and consolidate various headers Reduce memory usage of GF2m_Field by sharing the log and exponent tables across all instances of a particular word size. Remove McEliece_Public_Operation and McEliece_Private_Operation which were difficult to use safely. Instead only the KEM operations are exposed. Add McEliece_PublicKey::random_plaintext_element Add command line `mce` tool and some McEliece documentation Convert the speed program to check McEliece keys of the suggested size Add McEliece KATs for both key generation and KEM Fix HMAC_DRBG constructor which derefed a pointer before its time
* Internal header cleanupsJack Lloyd2015-09-191-1/+0
| | | | Only user-visible change is the removal of get_byte.h
* lib/pubkey: Convert &vec[0] to vec.data()Simon Warta2015-06-231-6/+6
|
* Remove static castslloyd2015-02-061-7/+9
|
* Convert PK operations to using Algo_Registry instead of Engine.lloyd2015-02-031-1/+0
| | | | Remove global PRNG.
* Centralize where string.h/cstring is included to mem_ops.hlloyd2015-01-231-4/+4
| | | | See github 42 for background
* Ensure all files have copyright and license info.lloyd2015-01-101-1/+1
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* Add an implementation of McEliece encryption based on HyMESfstrenzke2014-11-261-0/+172
(https://www.rocq.inria.fr/secret/CBCrypto/index.php?pg=hymes). The original version is LGPL but cryptsource GmbH has secured permission to release it under a BSD license. Also includes the Overbeck CCA2 message encoding scheme.