Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Modify interfaces of KDF and PBKDF to write output to an array, with | lloyd | 2015-02-18 | 1 | -8/+8 |
| | | | | higher level functions on interface handling returning a vector. | ||||
* | Add new module `ffi` which provides a plain C interface, plus a new | lloyd | 2015-02-16 | 2 | -3/+2 |
| | | | | | | | | | | | | ctypes Python wrapper that uses it. The API is intentionally designed to have a very simple ABI (extern "C", all structs are opaque, no memory ownership passing the FFI boundary, limited set of simple types as args) so the ctypes wrapper is quite simple. Currently ffi provides ciphers, hashes, MACs, RNGs, PBKDF, KDF, bcrypt, and most public key operations. Remove the old boost.python wrapper and all the build code for it. | ||||
* | Remove static casts | lloyd | 2015-02-06 | 6 | -34/+28 |
| | |||||
* | Clean up root dir, remove some unneeded dependencies | lloyd | 2015-02-05 | 1 | -1/+0 |
| | |||||
* | Remove algo factory, engines, global RNG, global state, etc. | lloyd | 2015-02-04 | 28 | -188/+131 |
| | | | | | | | | | | | | | | | Convert all uses of Algorithm_Factory and the engines to using Algo_Registry The shared pool of entropy sources remains but is moved to EntropySource. With that and few remaining initializations (default OIDs and aliases) moved elsewhere, the global state is empty and init and shutdown are no-ops. Remove almost all of the headers and code for handling the global state, except LibraryInitializer which remains as a compatability stub. Update seeding for blinding so only one hacky almost-global RNG instance needs to be setup instead of across all pubkey uses (it uses either the system RNG or an AutoSeeded_RNG if the system RNG is not available). | ||||
* | Convert PK operations to using Algo_Registry instead of Engine. | lloyd | 2015-02-03 | 25 | -693/+806 |
| | | | | Remove global PRNG. | ||||
* | Add missing files. Remove cipher lookup from engine code. | lloyd | 2015-02-01 | 1 | -8/+2 |
| | |||||
* | Use registry also for KDF, EMSA, and EME | lloyd | 2015-01-31 | 1 | -3/+3 |
| | |||||
* | Use registry for streams and MACs. Start updating callers. | lloyd | 2015-01-31 | 2 | -7/+3 |
| | |||||
* | Centralize where string.h/cstring is included to mem_ops.h | lloyd | 2015-01-23 | 8 | -30/+24 |
| | | | | See github 42 for background | ||||
* | Amalgamation fixes | lloyd | 2015-01-23 | 3 | -23/+4 |
| | |||||
* | Ensure all files have copyright and license info. | lloyd | 2015-01-10 | 75 | -82/+84 |
| | | | | | Update license header line to specify the terms and refer to the file, neither of which it included before. | ||||
* | Add MCEIES, an integrated encryption system using McEliece and AES-256/OCB | lloyd | 2015-01-08 | 3 | -0/+154 |
| | |||||
* | No need to reseed RNG in DSA sign as RNG is no longer used | lloyd | 2015-01-08 | 1 | -4/+2 |
| | |||||
* | Cleanup | lloyd | 2015-01-08 | 1 | -7/+5 |
| | |||||
* | Add Poly1305, based on poly1305-donna by Andrew Moon. | lloyd | 2014-12-29 | 2 | -120/+0 |
| | |||||
* | When encrypting McEliece or Curve25519 keys, default to GCM instead of CBC. | lloyd | 2014-12-27 | 2 | -9/+13 |
| | | | | Add OIDS for OCB mode with various ciphers. | ||||
* | Add Curve25519 based on curve25519-donna by Adam Langley. | lloyd | 2014-12-27 | 6 | -0/+804 |
| | | | | | | This uses only the c64 version from curve25519-donna; on systems that don't have a native uint128_t type, a donna128 type stands in for just enough 128-bit operations to satisfy donna.cpp | ||||
* | Fix header guards for amalgamation (github issue 35) | lloyd | 2014-12-22 | 4 | -31/+31 |
| | |||||
* | Correct comment | lloyd | 2014-12-18 | 1 | -2/+2 |
| | |||||
* | Implement RFC 6979 determinstic signatures for DSA and ECDSA. | lloyd | 2014-12-10 | 9 | -43/+63 |
| | | | | | Drop the GNU MP engine. Its implementations were potentially faster in some scenarios but not well protected against side channels. | ||||
* | Implement a strength estimator for McEliece keys based on HyMES version | lloyd | 2014-12-09 | 5 | -12/+123 |
| | |||||
* | Cleanup for pbe name parsing in PKCS #8 encoder | lloyd | 2014-12-08 | 1 | -14/+23 |
| | |||||
* | Add a basic speed test for McEliece | lloyd | 2014-12-08 | 1 | -0/+10 |
| | |||||
* | Remove the Overbeck conversion at Dr. Strenzke's request. | lloyd | 2014-12-06 | 3 | -229/+0 |
| | | | | | | | | While a CCA2 proof of this scheme exists, it is written in German and for various reasons publishing a translation would be a complicated affair. Without a (well studied) English proof it is harder to understand the security of the overall scheme. Thus only KEM, which seems much easier to prove, will be offered. | ||||
* | Add KEM scheme for McEliece | fstrenzke | 2014-12-06 | 3 | -0/+111 |
| | |||||
* | GCC 4.9 fixes | lloyd | 2014-12-02 | 2 | -1/+3 |
| | |||||
* | Move all PK workfactor esstimators to workfactors.* | lloyd | 2014-11-29 | 5 | -5/+33 |
| | |||||
* | Add an implementation of McEliece encryption based on HyMES | fstrenzke | 2014-11-26 | 20 | -0/+3310 |
| | | | | | | | (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. | ||||
* | Cleanup PBES2 and add GCM support | lloyd | 2014-11-19 | 2 | -16/+22 |
| | |||||
* | Remove unused includes | lloyd | 2014-11-18 | 2 | -2/+0 |
| | |||||
* | Fix various warnings from VC++ 2014 and add missing include | lloyd | 2014-10-31 | 1 | -2/+0 |
| | |||||
* | Fix header guard for amalgamation | lloyd | 2014-07-03 | 1 | -2/+2 |
| | |||||
* | Any fixed MR iterations is probably wrong for somebody. Allow the user | lloyd | 2014-04-25 | 2 | -9/+8 |
| | | | | | | to specify a probability as well as if n was randomly chosen or not. If the input is random use a better bounds to reduce the number of needed tests. | ||||
* | Remove debug headers | lloyd | 2014-04-05 | 1 | -3/+0 |
| | |||||
* | Add RFC 6979 nonce generator. Also some HMAC_DRBG cleanups. | lloyd | 2014-03-22 | 3 | -0/+83 |
| | |||||
* | Fix algo factory compile | lloyd | 2014-01-18 | 1 | -1/+0 |
| | |||||
* | Guess I won't be needing these | lloyd | 2014-01-18 | 5 | -5/+0 |
| | |||||
* | More unique_ptr | lloyd | 2014-01-18 | 2 | -20/+5 |
| | |||||
* | unique_ptr all the things | lloyd | 2014-01-18 | 2 | -110/+86 |
| | |||||
* | Move lib into src | lloyd | 2014-01-10 | 66 | -0/+7022 |