Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prepare for making BER_Object members private | Jack Lloyd | 2018-01-18 | 19 | -196/+257 |
| | | | | | Now there are usable accessors that allow the library to avoid using BER_Object members directly. | ||||
* | Move Sonar config from build-data to configs | Jack Lloyd | 2018-01-18 | 2 | -1/+1 |
| | | | | Since it is not a template file, nor is it read by configure.py | ||||
* | Drop the sqlite3 codec [ci skip] | Jack Lloyd | 2018-01-18 | 8 | -798/+0 |
| | | | | | | It is maintained (at least to some extent) at https://github.com/OlivierJG/botansqlite3 and contains several fixes which are not included in this version. | ||||
* | Fix crash in EMSA_PKCS1v15_Raw if the hash function was not enabled. | Jack Lloyd | 2018-01-17 | 1 | -1/+1 |
| | | | | GH #1416 | ||||
* | Correct dependencies of kdf and pbkdf [ci skip] | Jack Lloyd | 2018-01-17 | 3 | -2/+5 |
| | | | | They assumed base pulled in hash and mac which is no longer true | ||||
* | First update the sieve, then check for a match | Jack Lloyd | 2018-01-17 | 1 | -3/+7 |
| | | | | | | This allows shortcutting the checks Use (p-1)/2 instead p/2, same result because p is odd but confusing. | ||||
* | Merge GH #1413 Improve speed of prime generation especially safe primes | Jack Lloyd | 2018-01-17 | 4 | -42/+94 |
|\ | |||||
| * | Correctly handle generating small primes | Jack Lloyd | 2018-01-16 | 2 | -5/+21 |
| | | |||||
| * | Improve speed of prime generation especially safe primes | Jack Lloyd | 2018-01-16 | 3 | -37/+73 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, correct a bug in the sieve code. It would break early if a value did not match up with the sieve. However in that case, the sieve values would be out of sync with the value of p, and would be returning effectively random results. This caused prime generation to be slower than it should be, both because the sieve was incorrectly rejecting values that were not multiples of any small prime and was allowing values that were multiples of small primes to move on to the Miller-Rabin test. In the sieve, also sieve so that 2*q+1 is also not a multiple of the small primes. This speeds up safe prime generation. GH #1411 | ||||
* | | Merge GH #1408 Use an ABI flag for enabling Aarch64 crypto operations | Jack Lloyd | 2018-01-17 | 7 | -14/+9 |
|\ \ | |||||
| * | | ABI for Aarch64 crypto | Jack Lloyd | 2018-01-12 | 7 | -14/+9 |
| | | | |||||
* | | | Merge GH #1412 Remove Perl-XS wrapper | Jack Lloyd | 2018-01-17 | 16 | -1847/+0 |
|\ \ \ | |||||
| * | | | Remove the Perl XS wrapper | Jack Lloyd | 2018-01-15 | 16 | -1847/+0 |
| | |/ | |/| | |||||
* / | | Update ASN.1 fuzzer | Jack Lloyd | 2018-01-15 | 1 | -1/+1 |
|/ / | |||||
* | | Enforce an overall max depth on recursion in ASN1 printer | Jack Lloyd | 2018-01-15 | 3 | -20/+51 |
| | | | | | | | | | | Otherwise a sufficiently nested value can cause us to recurse endlessly, causing stack exhaustion. OSS-Fuzz 5333 | ||||
* | | Merge the rest of GH #1387 | Jack Lloyd | 2018-01-14 | 2 | -28/+22 |
|\ \ | |||||
| * | | Use search_map | René Korthaus | 2018-01-14 | 1 | -6/+1 |
| | | | |||||
| * | | Simplify code | René Korthaus | 2018-01-14 | 2 | -30/+30 |
| | | | |||||
| * | | Print a command description for cli help | René Korthaus | 2018-01-14 | 17 | -13/+542 |
| | | | |||||
* | | | Merge GH #1387 Improve help output of cli tool | Jack Lloyd | 2018-01-14 | 17 | -13/+542 |
|\ \ \ | |/ / |/| | | |||||
| * | | Print a command description for cli help | René Korthaus | 2018-01-04 | 17 | -13/+542 |
| | | | |||||
* | | | Fix return value of PK_Encryptor::maximum_input_size | Jack Lloyd | 2018-01-13 | 2 | -1/+16 |
| | | | | | | | | | | | | Fixes GH #1410 | ||||
* | | | Add --der-format flag to sign and verify cli utils | Jack Lloyd | 2018-01-12 | 1 | -4/+10 |
| | | | | | | | | | | | | | | | | | | Otherwise it's not possible to verify eg OpenSSL's DSA signatures See GH #1409 | ||||
* | | | Expose SM2_compute_za | Jack Lloyd | 2018-01-12 | 1 | -6/+7 |
| |/ |/| | | | | | | | Was already supposed to be public, which is why it's declared in a public header - just missed the export annotation. | ||||
* | | Merge GH #1407 Don't have hard dependency on base classes | Jack Lloyd | 2018-01-12 | 32 | -28/+207 |
|\ \ | |||||
| * | | Make stream, block, hash and cipher mode base classes optional | Jack Lloyd | 2018-01-12 | 32 | -24/+188 |
| | | | |||||
| * | | Wrap use of MAC in BOTAN_HAS_MAC in lookup.h | Simon Warta | 2018-01-11 | 1 | -1/+7 |
| | | | |||||
| * | | Remove dependency: base depends on mac | Simon Warta | 2018-01-11 | 3 | -3/+12 |
| | | | |||||
* | | | Merge GH #1406 Move thread utils to own module | Jack Lloyd | 2018-01-12 | 9 | -28/+18 |
|\ \ \ | |||||
| * | | | Move thread utils (barrier and semaphore) to a subpackage of util | Jack Lloyd | 2018-01-12 | 9 | -28/+18 |
| |/ / | | | | | | | | | | | | | | | | They are not needed except by the filter code so being able to easily remove them from the build is nice; utils is always compiled in so that should be as small as possible. | ||||
* | | | Merge GH #1405 Add support for --library-suffix option | Jack Lloyd | 2018-01-12 | 4 | -10/+10 |
|\ \ \ | |||||
| * | | | Add support for --library-suffix option | Jack Lloyd | 2018-01-12 | 4 | -10/+10 |
| |/ / | | | | | | | | | | Fixes GH #1404 | ||||
* / / | Create an empty favicon.ico for the website build [ci skip] | Jack Lloyd | 2018-01-12 | 1 | -0/+4 |
|/ / | | | | | | | Allows caching the result removing needless round trips. | ||||
* | | In asn1print, if input file ends in .pem assume --pem flag | Jack Lloyd | 2018-01-10 | 1 | -1/+1 |
| | | |||||
* | | Fix a bug in asn1print - zero integers were not printed | Jack Lloyd | 2018-01-09 | 2 | -11/+7 |
| | | |||||
* | | Add contortion to appease Sonar | Jack Lloyd | 2018-01-09 | 1 | -1/+1 |
| | | |||||
* | | Recognize armv7-a [ci skip] | Jack Lloyd | 2018-01-09 | 1 | -0/+1 |
| | | |||||
* | | Merge GH #1391 X25519 cleanups | Jack Lloyd | 2018-01-09 | 2 | -417/+434 |
|\ \ | |||||
| * | | Fix for systems needing 128-bit helper type | Jack Lloyd | 2018-01-07 | 1 | -0/+5 |
| | | | |||||
| * | | Cleanups | Jack Lloyd | 2018-01-07 | 1 | -86/+89 |
| | | | |||||
| * | | Unroll the inner loop of cmult | Jack Lloyd | 2018-01-06 | 1 | -78/+84 |
| | | | | | | | | | | | | | | | Allows merging redundant conditional swaps and elimiates the pointer indirections. | ||||
| * | | Reformat donna.cpp | Jack Lloyd | 2018-01-06 | 2 | -411/+414 |
| | | | | | | | | | | | | | | | Was originally kept in the same format as upstream, but upstream is not maintained anymore so no reason to stick with it. | ||||
* | | | Merge GH #1393 Add cpuid support for POWER crypto extensions | Jack Lloyd | 2018-01-09 | 3 | -1/+34 |
|\ \ \ | |||||
| * | | | Add support for detecting POWER crypto using getauxval | Jack Lloyd | 2018-01-07 | 3 | -1/+34 |
| |/ / | | | | | | | | | | See #1206 | ||||
* | | | Merge GH #1378 Use OS feature flags instead of OS name for enabling system ↵ | Jack Lloyd | 2018-01-09 | 40 | -225/+161 |
|\ \ \ | | | | | | | | | | | | | specific code | ||||
| * | | | Test OS features by the feature vs the OS name | Jack Lloyd | 2017-12-30 | 40 | -225/+161 |
| | | | | |||||
* | | | | Remove CPU specific optimization flags | Jack Lloyd | 2018-01-08 | 27 | -412/+21 |
| |/ / |/| | | | | | | | | | | | | | | | | | These are best left to the user to set via CXXFLAGS or --cc-abi-flags Add override if arch ends in in {eb, el, be, le} to set the endian. Avoids an extra file for ppc64le. | ||||
* | | | Merge GH #1388 Set default userid for SM2 signatures | Jack Lloyd | 2018-01-05 | 1 | -0/+12 |
|\ \ \ | |||||
| * | | | Change default userid for SM2 signatures. | Daniel Wyatt | 2018-01-04 | 1 | -0/+12 |
| | |/ | |/| | | | | | | | | | | GM/T 0009-2012 apparently specifies that this should default to the 16-byte hex sequence 31,32,33,34,35,36,37,38,31,32,33,34,35,36,37,38. | ||||
* | | | Merge GH #1389 fix overflow handling in CTR with 128-bit wide counters | Jack Lloyd | 2018-01-05 | 2 | -1/+13 |
|\ \ \ | | | | | | | | | | | | | Introduced in #1262 not present in any release. |