aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #288 from tiwoc/darwin_secrandomJack Lloyd2015-09-256-3/+99
|\ | | | | Add the Darwin_SecRandom entropy source
| * Add the Darwin_SecRandom entropy sourceDaniel Seither2015-09-254-0/+84
| | | | | | | | | | | | | | It uses the SecRandomCopyBytes function from the Security framework of OS X and iOS. We need this because it is the official way to get cryptographically secure random numbers on iOS, where /dev/random is not accessible due to sandboxing.
| * build system: Add framework support for OS X and iOSDaniel Seither2015-09-252-3/+15
| | | | | | | | | | | | | | On Darwin platforms, there are frameworks that can bundle libraries and header files in a standardized directory structure. We need to support linking to them because most of the OS X or iOS-specific APIs are provided as frameworks.
* | Merge pull request #287 from tiwoc/cleanupSimon Warta2015-09-253-6/+8
|\ \ | | | | | | Small cleanups done while building on OS X with --maintainer-mode
| * | Add some missing overridesDaniel Seither2015-09-251-4/+4
| | |
| * | Remove dead codeDaniel Seither2015-09-251-1/+0
| | | | | | | | | | | | `continue` cannot be reached due to `return` in the line above
| * | Update .gitignoreDaniel Seither2015-09-251-1/+4
|/ / | | | | | | | | * ignore Mac-specific files (*.dylib, .DS_Store) * ignore Vim swap files
* | Merge pull request #273 from webmaster128/avoid-signed-overflow-warningSimon Warta2015-09-251-1/+1
|\ \ | |/ |/| Remove warning: assuming signed overflow does not occur
| * Remove warning: assuming signed overflow does not occurSimon Warta2015-09-251-1/+1
|/ | | | | | warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] cond1 = r0.get_degree() <= break_deg - 1;
* Merge pull request #285 from webmaster128/avoid-char-concatinationSimon Warta2015-09-237-14/+14
|\ | | | | Avoid concatination of chars
| * Avoid concatination of charsSimon Warta2015-09-227-14/+14
|/ | | | | | | Ever tried? auto str = "some long string"; auto str2 = str + '\n'; It's not with the brainfuck finding the bug.
* Add HMAC_DRBG constructor taking a name for the MAC instead of an objJack Lloyd2015-09-222-0/+15
|
* Update todoJack Lloyd2015-09-221-2/+3
| | | | [ci skip]
* Delete Camellia sbox header.Jack Lloyd2015-09-222-550/+1
| | | | Two part commit with bd99a4f to work around git's insane rename system.
* Inline Camellia sbox tables to source fileJack Lloyd2015-09-221-3/+530
|
* Cleanup includesJack Lloyd2015-09-223-2/+3
|
* Move boost and sqlite3 to utilsJack Lloyd2015-09-224-0/+0
|
* Pluralize --with-python-version option, remove it from single-option groupJack Lloyd2015-09-221-7/+4
|
* Merge pull request #281 from alonbl/build-pythonJack Lloyd2015-09-221-5/+6
|\ | | | | Support installing botan.py to multiple python versions
| * build: support multiple python versionsAlon Bar-Lev2015-09-151-5/+6
| | | | | | | | Signed-off-by: Alon Bar-Lev <[email protected]>
* | Move contrib/sqlite to github.com/randombit/botan-sqliteJack Lloyd2015-09-218-792/+3
| |
* | Remove the Perl XS moduleJack Lloyd2015-09-2117-1899/+2
| |
* | Move check for SIMD instructions to CPUIDJack Lloyd2015-09-216-13/+18
| | | | | | | | | | | | Avoids needing to include simd_32 to see if SIMD is disabled. This had caused a build break on Linux x86-32 as SSE2 must be enabled on a per-file basis.
* | Remove OCaml wrapper, moved to randombit/botan-ocamlJack Lloyd2015-09-215-237/+8
| |
* | Merge pull request #279 from randombit/fix-static-lib-registrationJack Lloyd2015-09-21188-1018/+1600
|\ \ | |/ |/| Move the algorithm factory functions to T::create and move object registration to the source file for its base class. These resolve the issues which prevented successful use of a static library that was built with individual object files. Removes the restriction in configure.py which prevented building non-amalgamation static libs.
| * Remove use of lookup.h in favor of new T::create API.Jack Lloyd2015-09-2149-186/+169
| |
| * Address some review comments by Simon. GH #279Jack Lloyd2015-09-2110-22/+22
| |
| * Fix includes for opensslJack Lloyd2015-09-193-0/+4
| |
| * Internal header cleanupsJack Lloyd2015-09-1980-289/+213
| | | | | | | | Only user-visible change is the removal of get_byte.h
| * Handle dependencies re static linking. GH #279Jack Lloyd2015-09-1735-192/+291
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we were hanging on the type destructors to pull in the relevant objects. However that fails in many simple cases where the object is never deleted. For every type involved in the algo registry add static create and providers functions to access the algo registry. Modify lookup.h to be inline and call those functions, and move a few to sub-headers (eg, get_pbkdf going to pbkdf.h). So accessing the registry involves going through the same file that handles the initialization, so there is no way to end up with missing objs.
| * Fix for minimized buildsJack Lloyd2015-09-111-1/+4
| |
| * Fix pbkdf, pk padding and ECDH registration for static linking.Jack Lloyd2015-09-1127-120/+155
| | | | | | | | | | | | | | | | With this change the tests pass when linked against a static library built in the normal (non-amalgamation) fashion. Remove the restriction in configure.py, and have circleci build the clang static build as a non-amalg.
| * Same treatment for cipher modesJack Lloyd2015-09-1013-51/+118
| |
| * Fix static lib registration for block, hash, mac, stream, kdfJack Lloyd2015-09-1080-218/+685
| | | | | | | | | | | | | | | | | | | | | | The support problems from having static libraries not work in the obvious way will be endless trouble. Instead have each set of registrations tag along in a source file for the basic type, at the cost of some extra ifdefs. On shared libs this is harmless - everything is going into the shared object anyway. With static libs, this means pulling in a single block cipher pulls in the text of all the them. But that's still strictly better than the amalgamation (which is really pulling in everything), and it works (unlike status quo).
* | Add a test for X509_Certificate::fingerprintJack Lloyd2015-09-121-0/+1
| | | | | | | | Value checked against `openssl x509 -fingerprint` of same cert
* | Some docs on source code layoutJack Lloyd2015-09-122-7/+85
| | | | | | | | [ci skip]
* | Merge pull request #278 from webmaster128/fuzzer_testSimon Warta2015-09-101-28/+39
|\ \ | | | | | | Update fuzzer test
| * | Update fuzzer testSimon Warta2015-09-101-28/+39
| |/ | | | | | | | | | | | | * Handle No_Filesystem_Access case properly * Use steady_clock for benchmarking Fixes #276
* | Bump version to 1.11.21(-pre)Jack Lloyd2015-09-102-1/+4
| | | | | | | | [ci skip]
* | Reduce likelyhood of stray pointer writes via ffi layer.Jack Lloyd2015-09-101-0/+8
|/ | | | | In error cases the output value was not intialized, so callers which ignored the error return might blindly use an uninitialized pointer.
* Merge pull request #275 from webmaster128/avoid-static-nonamalgamationSimon Warta2015-09-093-13/+8
|\ | | | | Prevent users from building static non-amalgamations on MinGW and Cygwin
| * Prevent users from building static non-amalgamations on MinGW and CygwinSimon Warta2015-09-093-13/+8
|/ | | | | | | | * Rename variable to avoid confusion of build_shared and options.build_shared_lib * Don't automatically change shared -> static. Force user to do that Fixes #211
* .PHONY must be a rule, not a variableSimon Warta2015-09-091-1/+1
| | | | Found by JOM on MinGW.
* Fix versionJack Lloyd2015-09-071-1/+1
| | | | [ci skip]
* Update download linksJack Lloyd2015-09-071-3/+3
| | | | [ci skip]
* Update for 1.11.20 release1.11.20Jack Lloyd2015-09-071-6/+7
|
* Add release notes from Github tickets for 1.11.20Simon Warta2015-09-061-1/+23
| | | | [ci skip]
* Add missing Botan 1.11.19 release notesSimon Warta2015-09-031-1/+17
| | | | [ci skip]
* Merge pull request #271 from webmaster128/travis-iosSimon Warta2015-09-027-68/+98
|\ | | | | Update travis configuration for iOS build
| * Update travis configuration for iOS buildSimon Warta2015-09-027-68/+98
|/ | | | Closes #188