aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Explicitly fwd declase classes BER_Decoder, DER_EncoderSimon Warta2015-08-113-12/+10
|
* Remove string constructor of X509_Time()Simon Warta2015-08-116-205/+153
| | | | | | | | | | | * Break down string representations to to_string() and readable_string() * Add m_ prefix to member variable names * Fix order of methods * Move comments Doxygen friendly to header * Make set_to() private (future subjejt of refectoring); People should use constructor Closes #185
* Strict uint32 parsingSimon Warta2015-08-111-0/+10
|
* Avoid integer overlow in string->uint32 converterSimon Warta2015-08-101-3/+16
| | | | | | | On systems where unsigned long is uint64 (typically 64 bit systems), a string containing a number greater than 2^32-1 was sucessfully converted to a uint64 and than reduced to uint32, causing an overflow. E.g. to_u32bit("4294967296") was 0 and to_u32bit("4294967297") was 1.
* Merge branch 'master' of https://github.com/randombit/botanJack Lloyd2015-08-082-28/+29
|\
| * Add m_ prefix to member variables in SecureQueueSimon Warta2015-08-082-27/+28
| |
| * Merge pull request #235 from tiwoc/overridesSimon Warta2015-08-081-1/+1
| |\ | | | | | | Add two missing overrides and fix bug in fuzzer relating to these
| | * Add missing override for SecureQueue::check_available()Daniel Seither2015-08-031-1/+1
| | |
* | | Expose the NIST prime values and reduction operations as plain functions.Jack Lloyd2015-08-086-269/+229
|/ / | | | | | | | | | | Previously they were hidden away as private functions on the CurveGFp types. This allows directly testing the reduction functions against other computational methods.
* | For CBC, ECB, and XTS the output length of a zero length input is wellJack Lloyd2015-08-043-7/+9
| | | | | | | | | | | | defined, so don't fail. Fix XTS, as XTS always uses ciphertext stealing the value of output_length had been incorrect in rounding up to the block size.
* | Remove unused pkcs8 includesSimon Warta2015-08-038-8/+0
| | | | | | | | Only botan-cli, botan-tests and the FFI module depend on PKCS8
* | Merge pull request #232 from tiwoc/clang-cpuidSimon Warta2015-08-031-1/+1
|\ \ | |/ |/| Enable use of cpuid.h with clang
| * Enable use of cpuid.h with clangDaniel Seither2015-07-301-1/+1
| |
* | Fix two crashes in the BER decoder found with afl.Jack Lloyd2015-08-027-6/+60
| | | | | | | | | | One a read at 0 of an empty vector, the other causing allocation of an arbitrary amount of memory.
* | utils: Add missing overridesDaniel Seither2015-07-301-1/+1
| |
* | tls: Add missing overridesDaniel Seither2015-07-301-30/+30
| |
* | stream: Add missing overridesDaniel Seither2015-07-305-38/+38
| |
* | rng: Add missing overridesDaniel Seither2015-07-305-30/+30
| |
* | pubkey: Add missing overridesDaniel Seither2015-07-3025-86/+89
| |
* | pk_pad: Add missing overridesDaniel Seither2015-07-309-34/+34
| |
* | pbkdf: Add missing overridesDaniel Seither2015-07-301-2/+2
| |
* | modes: Add missing overridesDaniel Seither2015-07-305-20/+21
| |
* | mac: Add missing overridesDaniel Seither2015-07-306-47/+47
| |
* | math: Add missing overridesDaniel Seither2015-07-301-8/+8
| |
* | kdf: Add missing overridesDaniel Seither2015-07-303-8/+8
| |
* | hash: Add missing overridesDaniel Seither2015-07-3021-143/+143
| |
* | filters: Add missing overridesDaniel Seither2015-07-309-57/+57
| |
* | ffi: Add missing overridesDaniel Seither2015-07-301-3/+3
| |
* | entropy: Add missing overridesDaniel Seither2015-07-3010-20/+20
| |
* | x509: Add missing overridesDaniel Seither2015-07-306-77/+90
| |
* | block: Add missing overridesDaniel Seither2015-07-3031-228/+228
| |
* | asn1: Add missing overridesDaniel Seither2015-07-307-14/+14
| |
* | Remove duplicate definition of MessageAuthenticationCode::name()Daniel Seither2015-07-301-6/+0
|/ | | | The original definition is in the base class SymmetricAlgorithm.
* Add boost implementation of timegm()Simon Warta2015-07-272-0/+37
|
* Add mktime fallback for non-POSIX timegm()Simon Warta2015-07-271-5/+56
| | | | Closes #202
* Avoid 0 as nullpointer warning on MinGWSimon Warta2015-07-271-1/+1
|
* Remove the x86 asm versions of MD4, MD5, SHA-1 and SerpentJack Lloyd2015-07-2524-2222/+0
| | | | | | | With modern compilers, all are slower than the C++ and SSE2 versions of the same algos. GH #216
* Fix typosSimon Warta2015-07-2414-28/+28
| | | | Thanks to @vlajos https://github.com/vlajos/misspell_fixer
* Fix BigInt random_integer() distribution issue.Simon Warta2015-07-243-10/+31
| | | | Fixes #108
* Refactor BigIntSimon Warta2015-07-243-9/+20
|
* BigInt::to_u32bit failed on 32-bit integers. GH #220Jack Lloyd2015-07-231-1/+1
|
* Silence some extra ';' warningsSimon Warta2015-07-224-5/+6
|
* Add tests for some of the C89 interface.Jack Lloyd2015-07-181-1/+4
| | | | | Add missing returns to botan_kdf, botan_pbkdf, botan_pbkdf_timed; previously they always returned an error code.
* Add Android OSDaniel Seither2015-07-1710-0/+11
| | | | | | The android.txt is a copy of linux.txt minus the getsid feature (Android's libc, Bionic, doesn't support it) and the alias linux-gnu. It is supported anywhere where linux is supported.
* Add OS feature getsidDaniel Seither2015-07-171-0/+2
| | | | | It is added to all OS that use getsid currently, so it must be available there.
* Remove references to removed tru64 OSDaniel Seither2015-07-176-6/+0
| | | | There's no OS file in src/build-data/os for tru64
* Add MSVC stl filesystem implementationSimon Warta2015-07-162-3/+31
| | | | Closes #199
* Refactor internal/filesystem.hSimon Warta2015-07-165-40/+63
| | | | Closes #198
* Add missing include <string> in calendar.hSimon Warta2015-07-161-0/+1
|
* Fix time range issue for 32 bit platformsSimon Warta2015-07-162-6/+39
|