aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix BigInt random_integer() distribution issue.Simon Warta2015-07-244-10/+128
| | | | Fixes #108
* Refactor BigIntSimon Warta2015-07-244-9/+94
|
* Better living through macrosJack Lloyd2015-07-241-30/+32
|
* BigInt::to_u32bit failed on 32-bit integers. GH #220Jack Lloyd2015-07-232-2/+48
|
* Use shellcheck where possibleSimon Warta2015-07-225-15/+19
|
* Silence some extra ';' warningsSimon Warta2015-07-224-5/+6
|
* Rename so_link_flags to so_link_commandsSimon Warta2015-07-219-24/+24
|
* Add binary_link_command; Use compiler configs to set RPATH on LinuxSimon Warta2015-07-213-0/+19
|
* Update Windows linkingSimon Warta2015-07-211-6/+13
|
* Add debug linker for GCCSimon Warta2015-07-211-1/+2
|
* Merge compile_option into CXX_FLAGSSimon Warta2015-07-219-24/+18
|
* msvc fixesSimon Warta2015-07-211-5/+13
|
* Have a $(LINKER) variableSimon Warta2015-07-212-1/+4
|
* Rename template variable cc -> cxxSimon Warta2015-07-212-3/+2
|
* Use -O0 (no optimization) in GCC debug compile flagsSimon Warta2015-07-211-2/+2
|
* Adjust MSVC compile flagsSimon Warta2015-07-212-3/+3
| | | | | | | | | | /FS is needed for parallel builds /bigobj is needed for amalgamation build. Remove explicit setting from appveyor /DEBUG is a parameter, not a precompiler constant Conflicts: src/build-data/cc/msvc.txt
* Make release/debug versions for: compile_flags, lib_opt_flags and app_opt_flagsSimon Warta2015-07-219-32/+44
| | | | | | This commit aims to preserve all settings. In some cases it will drop optimization flags and fall back to compiler's defaults in the new debug mode.
* Add tests for RSA, ECDSA, and ECDH interfaces in FFI moduleJack Lloyd2015-07-181-36/+210
|
* Timing ratio is too tight for CI VMsJack Lloyd2015-07-181-1/+1
|
* Include build.h before doing a macro check; was causing tests to be skippedJack Lloyd2015-07-181-0/+2
|
* Add tests for some of the C89 interface.Jack Lloyd2015-07-182-1/+174
| | | | | Add missing returns to botan_kdf, botan_pbkdf, botan_pbkdf_timed; previously they always returned an error code.
* Add Android OSDaniel Seither2015-07-1711-0/+21
| | | | | | 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-1712-0/+13
| | | | | 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
* Read .crt files in tests as binary filesSimon Warta2015-07-171-1/+1
|
* Add MSVC stl filesystem implementationSimon Warta2015-07-163-3/+32
| | | | Closes #199
* Refactor internal/filesystem.hSimon Warta2015-07-167-56/+92
| | | | Closes #198
* Add missing include <string> in calendar.hSimon Warta2015-07-161-0/+1
|
* Fix time range issue for 32 bit platformsSimon Warta2015-07-164-31/+87
|
* Remove semicolons at the end of macrosDaniel Seither2015-07-151-3/+3
|
* Add missing semicolonsDaniel Seither2015-07-152-2/+2
|
* Force semicolons at the end of BOTAN_REGISTER_* macro invocationsDaniel Seither2015-07-151-2/+8
| | | | | | | | | | | | | | All BOTAN_REGISTER_* macros are defined as namespace { some_command(); } So, if such a macro is used with a semicolon at the end, we have `namespace { ... };` which is unnecessary and makes gcc complain when run with with -Wpedantic. However, for consistency, it is great to end those macro invocations with a semicolon. This commit forces semicolons by appending a dummy definition with the necessary semicolon missing.
* Construct X509_Time from date integers in test x509Simon Warta2015-07-151-6/+12
|
* Fix round_upSimon Warta2015-07-1510-20/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. src/lib/codec/base64/base64.cpp: : (round_up<size_t>(input_length, 3) / 3) * 4; 2. src/lib/codec/base64/base64.cpp: : (round_up<size_t>(input_length, 4) * 3) / 4; 3. src/lib/filters/transform_filter.cpp: return round_up(target_size, update_granularity); 4. src/lib/math/bigint/bigint.cpp: m_reg.resize(round_up<size_t>(size, 8)); 5. src/lib/math/bigint/bigint.cpp: m_reg.resize(round_up<size_t>((length / WORD_BYTES) + 1, 8)); 6. src/lib/math/numbertheory/mp_numth.cpp: BigInt z(BigInt::Positive, round_up<size_t>(2*x_sw, 16)); 7. src/lib/modes/cbc/cbc.cpp: return round_up(input_length, cipher().block_size()); 8. src/lib/modes/ecb/ecb.cpp: return round_up(input_length, cipher().block_size()); 9. src/lib/modes/xts/xts.cpp: return round_up(input_length, cipher().block_size()); 10. src/lib/pbkdf/pbkdf2/pbkdf2.cpp: const size_t blocks_needed = round_up(out_len, prf_sz) / prf_sz; 11. src/lib/tls/tls_record.cpp: const size_t buf_size = round_up( 12. src/lib/utils/rounding.h:inline T round_up(T n, T align_to) 1. Reason for change 2. Reason for change 3. first argument cannot be 0 (`target_size = 1024`) 4. Is a bug in the current implementation iff `size = 0` 5. first argument cannot be 0 6. round_up should return 0 if `x_sw = 0` 7. ? 8. ? 9. ? 10. first argument cannot be 0 (`if(out_len == 0) return 0;`) 11. first argument is unlikely to be 0 (`iv_size + msg_length + mac_size + (block_size ? 1 : 0)`) 12. Implementation
* Add tests: x509 (deactivated), cvcSimon Warta2015-07-152-0/+89
|
* Add test: stl_util; Add empty test: utilsSimon Warta2015-07-152-0/+28
|
* Add initial catchy test: base64Simon Warta2015-07-153-0/+9667
|
* Have an outdata dir for testsSimon Warta2015-07-153-6/+8
| | | | ... for peaceful development
* Fix TEST_DATA_DIRSimon Warta2015-07-1520-40/+38
|
* Check if there are test vector files in a given test dirSimon Warta2015-07-151-2/+8
|
* Improve test reportingSimon Warta2015-07-152-7/+9
|
* Refactor travis configuration for the use of the container infrastructure.Simon Warta2015-07-124-31/+37
|
* Fix fuzzer.cpp to compile even if x509 or tls is disabledJack Lloyd2015-07-111-12/+31
|
* Compile openssl RSA only when botan/rsa.h is availableSimon Warta2015-07-121-0/+6
|
* Add modules all/min to travis matrixSimon Warta2015-07-121-1/+8
|
* Add an application to the command line providing a fuzzer entry point.Jack Lloyd2015-07-111-0/+122
|
* Remove dead code (Boost.Python makefile, unused configure.py functions)Jack Lloyd2015-07-111-26/+0
|
* Test make install in CISimon Warta2015-07-102-0/+3
|
* Remove combine_relnotes references in install scriptChris Desjardins2015-07-101-7/+1
| | | | | | | | copy doc/news.rst to installdir/news.txt Remove combine_relnotes references in install script copy doc/news.rst to installdir/news.txt
* Assume that $COVERALLS_REPO_TOKEN might not be set (e.g. pull requests)Simon Warta2015-07-091-1/+2
|