Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Explicitly fwd declase classes BER_Decoder, DER_Encoder | Simon Warta | 2015-08-11 | 3 | -12/+10 |
| | |||||
* | Remove string constructor of X509_Time() | Simon Warta | 2015-08-11 | 6 | -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 parsing | Simon Warta | 2015-08-11 | 1 | -0/+10 |
| | |||||
* | Avoid integer overlow in string->uint32 converter | Simon Warta | 2015-08-10 | 1 | -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/botan | Jack Lloyd | 2015-08-08 | 2 | -28/+29 |
|\ | |||||
| * | Add m_ prefix to member variables in SecureQueue | Simon Warta | 2015-08-08 | 2 | -27/+28 |
| | | |||||
| * | Merge pull request #235 from tiwoc/overrides | Simon Warta | 2015-08-08 | 1 | -1/+1 |
| |\ | | | | | | | Add two missing overrides and fix bug in fuzzer relating to these | ||||
| | * | Add missing override for SecureQueue::check_available() | Daniel Seither | 2015-08-03 | 1 | -1/+1 |
| | | | |||||
* | | | Expose the NIST prime values and reduction operations as plain functions. | Jack Lloyd | 2015-08-08 | 6 | -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 well | Jack Lloyd | 2015-08-04 | 3 | -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 includes | Simon Warta | 2015-08-03 | 8 | -8/+0 |
| | | | | | | | | Only botan-cli, botan-tests and the FFI module depend on PKCS8 | ||||
* | | Merge pull request #232 from tiwoc/clang-cpuid | Simon Warta | 2015-08-03 | 1 | -1/+1 |
|\ \ | |/ |/| | Enable use of cpuid.h with clang | ||||
| * | Enable use of cpuid.h with clang | Daniel Seither | 2015-07-30 | 1 | -1/+1 |
| | | |||||
* | | Fix two crashes in the BER decoder found with afl. | Jack Lloyd | 2015-08-02 | 7 | -6/+60 |
| | | | | | | | | | | One a read at 0 of an empty vector, the other causing allocation of an arbitrary amount of memory. | ||||
* | | utils: Add missing overrides | Daniel Seither | 2015-07-30 | 1 | -1/+1 |
| | | |||||
* | | tls: Add missing overrides | Daniel Seither | 2015-07-30 | 1 | -30/+30 |
| | | |||||
* | | stream: Add missing overrides | Daniel Seither | 2015-07-30 | 5 | -38/+38 |
| | | |||||
* | | rng: Add missing overrides | Daniel Seither | 2015-07-30 | 5 | -30/+30 |
| | | |||||
* | | pubkey: Add missing overrides | Daniel Seither | 2015-07-30 | 25 | -86/+89 |
| | | |||||
* | | pk_pad: Add missing overrides | Daniel Seither | 2015-07-30 | 9 | -34/+34 |
| | | |||||
* | | pbkdf: Add missing overrides | Daniel Seither | 2015-07-30 | 1 | -2/+2 |
| | | |||||
* | | modes: Add missing overrides | Daniel Seither | 2015-07-30 | 5 | -20/+21 |
| | | |||||
* | | mac: Add missing overrides | Daniel Seither | 2015-07-30 | 6 | -47/+47 |
| | | |||||
* | | math: Add missing overrides | Daniel Seither | 2015-07-30 | 1 | -8/+8 |
| | | |||||
* | | kdf: Add missing overrides | Daniel Seither | 2015-07-30 | 3 | -8/+8 |
| | | |||||
* | | hash: Add missing overrides | Daniel Seither | 2015-07-30 | 21 | -143/+143 |
| | | |||||
* | | filters: Add missing overrides | Daniel Seither | 2015-07-30 | 9 | -57/+57 |
| | | |||||
* | | ffi: Add missing overrides | Daniel Seither | 2015-07-30 | 1 | -3/+3 |
| | | |||||
* | | entropy: Add missing overrides | Daniel Seither | 2015-07-30 | 10 | -20/+20 |
| | | |||||
* | | x509: Add missing overrides | Daniel Seither | 2015-07-30 | 6 | -77/+90 |
| | | |||||
* | | block: Add missing overrides | Daniel Seither | 2015-07-30 | 31 | -228/+228 |
| | | |||||
* | | asn1: Add missing overrides | Daniel Seither | 2015-07-30 | 7 | -14/+14 |
| | | |||||
* | | Remove duplicate definition of MessageAuthenticationCode::name() | Daniel Seither | 2015-07-30 | 1 | -6/+0 |
|/ | | | | The original definition is in the base class SymmetricAlgorithm. | ||||
* | Add boost implementation of timegm() | Simon Warta | 2015-07-27 | 2 | -0/+37 |
| | |||||
* | Add mktime fallback for non-POSIX timegm() | Simon Warta | 2015-07-27 | 1 | -5/+56 |
| | | | | Closes #202 | ||||
* | Avoid 0 as nullpointer warning on MinGW | Simon Warta | 2015-07-27 | 1 | -1/+1 |
| | |||||
* | Remove the x86 asm versions of MD4, MD5, SHA-1 and Serpent | Jack Lloyd | 2015-07-25 | 24 | -2222/+0 |
| | | | | | | | With modern compilers, all are slower than the C++ and SSE2 versions of the same algos. GH #216 | ||||
* | Fix typos | Simon Warta | 2015-07-24 | 14 | -28/+28 |
| | | | | Thanks to @vlajos https://github.com/vlajos/misspell_fixer | ||||
* | Fix BigInt random_integer() distribution issue. | Simon Warta | 2015-07-24 | 3 | -10/+31 |
| | | | | Fixes #108 | ||||
* | Refactor BigInt | Simon Warta | 2015-07-24 | 3 | -9/+20 |
| | |||||
* | BigInt::to_u32bit failed on 32-bit integers. GH #220 | Jack Lloyd | 2015-07-23 | 1 | -1/+1 |
| | |||||
* | Silence some extra ';' warnings | Simon Warta | 2015-07-22 | 4 | -5/+6 |
| | |||||
* | Add tests for some of the C89 interface. | Jack Lloyd | 2015-07-18 | 1 | -1/+4 |
| | | | | | Add missing returns to botan_kdf, botan_pbkdf, botan_pbkdf_timed; previously they always returned an error code. | ||||
* | Add Android OS | Daniel Seither | 2015-07-17 | 10 | -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 getsid | Daniel Seither | 2015-07-17 | 1 | -0/+2 |
| | | | | | It is added to all OS that use getsid currently, so it must be available there. | ||||
* | Remove references to removed tru64 OS | Daniel Seither | 2015-07-17 | 6 | -6/+0 |
| | | | | There's no OS file in src/build-data/os for tru64 | ||||
* | Add MSVC stl filesystem implementation | Simon Warta | 2015-07-16 | 2 | -3/+31 |
| | | | | Closes #199 | ||||
* | Refactor internal/filesystem.h | Simon Warta | 2015-07-16 | 5 | -40/+63 |
| | | | | Closes #198 | ||||
* | Add missing include <string> in calendar.h | Simon Warta | 2015-07-16 | 1 | -0/+1 |
| | |||||
* | Fix time range issue for 32 bit platforms | Simon Warta | 2015-07-16 | 2 | -6/+39 |
| |