aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Merge pull request #179 from webmaster128/catchy-testsSimon Warta2015-07-1518-30/+9951
|\ | | | | Add initial catchy test: base64
| * 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
| |
| * Make internal headers available for tests (amalgamation)Simon Warta2015-07-151-4/+3
| |
| * Add test: stl_util; Add empty test: utilsSimon Warta2015-07-152-0/+28
| |
| * Add initial catchy test: base64Simon Warta2015-07-153-0/+9667
|/
* Merge pull request #194 from webmaster128/test-reportingSimon Warta2015-07-1523-49/+60
|\ | | | | Test reporting
| * Have an outdata dir for testsSimon Warta2015-07-154-6/+11
| | | | | | | | ... 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
|/
* Merge pull request #192 from webmaster128/force-amalgamationSimon Warta2015-07-131-0/+4
|\ | | | | Force amalgamation in static build
| * Force amalgamation in static buildSimon Warta2015-07-131-0/+4
|/ | | | Closes #128.
* Set CXX path to g++ 4.8 for coverity scanSimon Warta2015-07-121-1/+1
|
* Merge pull request #191 from webmaster128/test-travis-containersSimon Warta2015-07-125-34/+52
|\ | | | | Test travis container infrastructure
| * Refactor travis configuration for the use of the container infrastructure.Simon Warta2015-07-125-34/+52
|/
* Merge pull request #190 from webmaster128/exit-on-errorSimon Warta2015-07-121-4/+13
|\ | | | | Exit configure script with return value 1 on error
| * Exit configure script with return value 1 on errorSimon Warta2015-07-121-4/+13
|/
* Fix fuzzer.cpp to compile even if x509 or tls is disabledJack Lloyd2015-07-111-12/+31
|
* Merge pull request #189 from webmaster128/minimal-modules-ciSimon Warta2015-07-123-7/+27
|\ | | | | Add modules all/min to travis matrix
| * Compile openssl RSA only when botan/rsa.h is availableSimon Warta2015-07-121-0/+6
| |
| * Add modules all/min to travis matrixSimon Warta2015-07-122-7/+21
|/
* Add an application to the command line providing a fuzzer entry point.Jack Lloyd2015-07-111-0/+122
|
* Add patch files to gitignoresJack Lloyd2015-07-111-0/+7
|
* Remove dead code (Boost.Python makefile, unused configure.py functions)Jack Lloyd2015-07-112-39/+0
|
* Merge pull request #186 from webmaster128/test-make-installSimon Warta2015-07-102-0/+3
|\ | | | | Test 'make install' in CI
| * Test make install in CISimon Warta2015-07-102-0/+3
|/
* Merge pull request #183 from cdesjardins/relnotesSimon Warta2015-07-101-7/+1
|\ | | | | Remove combine_relnotes references in install script
| * 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
* Merge pull request #184 from webmaster128/coveralls-tokenSimon Warta2015-07-091-1/+2
|\ | | | | Assume that $COVERALLS_REPO_TOKEN might not be set (e.g. pull requests)
| * Assume that $COVERALLS_REPO_TOKEN might not be set (e.g. pull requests)Simon Warta2015-07-091-1/+2
|/
* Merge pull request #173 from webmaster128/avoid-iterator-pointer-mixingSimon Warta2015-07-091-2/+2
|\ | | | | Don't put pointers into vector iterator constructor in make_bcrypt
| * Don't put pointers into vector iterator constructor in make_bcryptSimon Warta2015-07-091-2/+2
|/
* Merge pull request #169 from webmaster128/modulecombiSimon Warta2015-07-0816-23/+44
|\ | | | | Fix module combinations that did not compile
| * Fix module combi: adler32,tssSimon Warta2015-07-082-0/+3
| |
| * Fix module combi: adler32,threefish_avx2Simon Warta2015-07-081-0/+4
| |
| * Fix module combi: adler32,sivSimon Warta2015-07-082-1/+6
| |
| * Fix module combi: adler32,openpgpSimon Warta2015-07-081-0/+1
| |
| * Fix module combi: adler32,mceSimon Warta2015-07-083-17/+26
| |
| * Fix module combi: adler32,ffiSimon Warta2015-07-081-0/+2
| |
| * Fix module combi: adler32,eme_rawSimon Warta2015-07-081-2/+0
| |
| * Fix module combi: adler32,eme_oaepSimon Warta2015-07-085-3/+2
|/
* Merge pull request #178 from webmaster128/coverity-badgeSimon Warta2015-07-081-0/+3
|\ | | | | Add coverity scan badge
| * Add coverity scan badgeSimon Warta2015-07-081-0/+3
| |
* | Add changs to have different travis configurations on master and coverity_scanSimon Warta2015-07-081-2/+17
|/
* Merge pull request #176 from webmaster128/travis-coverity-configSimon Warta2015-07-081-2/+2
|\ | | | | Update COVERITY_SCAN config
| * Update COVERITY_SCAN configSimon Warta2015-07-081-2/+2
|/