aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/mac
Commit message (Collapse)AuthorAgeFilesLines
* mac: Add missing overridesDaniel Seither2015-07-306-47/+47
|
* Remove duplicate definition of MessageAuthenticationCode::name()Daniel Seither2015-07-301-6/+0
| | | | The original definition is in the base class SymmetricAlgorithm.
* Make Botan compile when only some modules are enabledSimon Warta2015-07-031-0/+2
| | | | Fixes #146.
* s/auto/size_t/Simon Warta2015-07-031-1/+1
|
* More changes for use with debug STLSimon Warta2015-06-301-1/+5
|
* lib/mac: Convert &vec[0] to vec.data()Simon Warta2015-06-255-8/+8
|
* Fix code that triggers a strange MSVC 'performance warning'git2015-04-081-1/+1
| | | | Github pull 74 from Chris Desjardins
* Add BOTAN_DLL back to LibraryInitializer and move some of the implementation tolloyd2015-03-111-1/+1
| | | | | | | a source file. Without BOTAN_DLL the LibraryInitializer was removed entirely from the list of symbols which is not desired. Add some casts to avoid scary sounding but (upon review) harmless warnings from MSVC
* In Algo_Registry if a maker func fails, try the next most preferred onelloyd2015-03-051-1/+1
| | | | | | | | instead of bailing out immediately. Rename the 'builtin' provider to 'base' since really they are all built in. Fix MARK-4 when OpenSSL was enabled - it did not respect the skip param.
* Hide Algorithm_Factory and use the functions in lookup.h internally.lloyd2015-03-044-5/+13
| | | | | | Fix two memory leaks (in TLS and modes) caused by calling get_foo and then cloning the result before saving it (leaking the original object), a holdover from the conversion between construction techniques in 1.11.14
* Wrong functionlloyd2015-02-281-1/+1
|
* Amalgamation fixes; inline the poly1305 header and :: namespace OpenSSL funcslloyd2015-02-223-150/+129
|
* Clean up root dir, remove some unneeded dependencieslloyd2015-02-053-12/+0
|
* Remove algo factory, engines, global RNG, global state, etc.lloyd2015-02-043-8/+4
| | | | | | | | | | | | | | | 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).
* Add missing files. Remove cipher lookup from engine code.lloyd2015-02-011-0/+35
|
* Use registry for streams and MACs. Start updating callers.lloyd2015-01-3112-20/+62
|
* Amalgamation fixeslloyd2015-01-231-9/+1
|
* Add SipHashlloyd2015-01-113-0/+169
|
* Remove SSLv3 and handling of SSLv2 client hellos.lloyd2015-01-113-143/+0
|
* Ensure all files have copyright and license info.lloyd2015-01-1015-15/+15
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* Fix one past the end write in Poly1305 finishlloyd2014-12-311-1/+1
|
* Add Poly1305, based on poly1305-donna by Andrew Moon.lloyd2014-12-294-0/+282
|
* Replace Transformatio::nstart with start_raw so we can do a full setlloyd2014-11-051-0/+2
| | | | of overloads in the base class with the same name.
* Add the CMAC constants for 256 and 512 bit block cipherslloyd2014-02-021-6/+28
| | | | | Also add test vectors for Threefish-512 CMAC and EAX, both generated by the library.
* Guess I won't be needing theselloyd2014-01-185-5/+0
|
* More unique_ptr, also cleanup MGF1 usagelloyd2014-01-181-2/+3
|
* Use unique_ptr instead of bare pointers and explicit delete in block, mac, hash.lloyd2014-01-1811-207/+178
| | | | m_ namespaced everything while I'm in there. Changed CMAC poly_double signature.
* Move lib into srclloyd2014-01-1018-0/+919