Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Complete the rename of Python wrapper | Jack Lloyd | 2017-01-24 | 7 | -8/+8 |
| | | | | Where referenced in CI scripts, docs and such | ||||
* | Rename Python module to botan2 | Jack Lloyd | 2017-01-24 | 1 | -0/+0 |
| | | | | | | | Makes it easier to support side by side installs. And for the programmer it is easier if `import botan2` can always be used to refer to a specific version. GH #847 | ||||
* | Cleanups in the install script | Jack Lloyd | 2017-01-24 | 1 | -9/+16 |
| | | | | Install anything found in the python dir instead of assuming botan.py | ||||
* | Remove obsolete workaround for bug in some old Sun Studio version | Jack Lloyd | 2017-01-24 | 1 | -5/+0 |
| | | | | [ci skip] | ||||
* | If PowerPC clock returns 0, skip it. | Jack Lloyd | 2017-01-23 | 1 | -2/+10 |
| | | | | | | Doesn't seem to be a problem with the asm, code works fine on physical hardware (POWER8) but on qemu (on CI) both instructions return zero and the test fails. | ||||
* | Skip instruction probe test where fn not implemented | Jack Lloyd | 2017-01-23 | 1 | -0/+5 |
| | |||||
* | Fix configure.py error when compiler doesn't support desired ISA flags | Jack Lloyd | 2017-01-22 | 3 | -10/+30 |
| | | | | | | | | | | | | | Seen with rarely tested compilers (Sun Studio, Intel, ...) that we are missing info for. Previously this led to a hard error which is pointless. Instead just disable the relevant module and warn the user that something was disabled, if they want to go look into why. Remove bogus clmul entry in x86_64 - actually we lump both AES and CLMUL flags under the same ISA ("aesni") since all known CPUs support either both or neither. Caught by new configure warning. Add Sun Studio ISA flags from GH #846 | ||||
* | Missing traceback | Jack Lloyd | 2017-01-22 | 1 | -0/+1 |
| | |||||
* | Avoid blocking tests from running if no RNG enabled | Jack Lloyd | 2017-01-22 | 2 | -6/+1 |
| | | | | Instead just let the individual tests that need the RNG fail. | ||||
* | Add a test for trusted_hashes on path validation result | Jack Lloyd | 2017-01-22 | 1 | -0/+9 |
| | |||||
* | Add a test of calendar_point::to_string | Jack Lloyd | 2017-01-22 | 1 | -0/+8 |
| | |||||
* | Add CPUID::to_string | Jack Lloyd | 2017-01-22 | 3 | -39/+68 |
| | | | | | | | | | Deprecates CPUID::print, mainly to avoid use of ostream in utils. Main reasoning is some platforms do not have streams at all. If all uses of streams are for operator<< and operator>> overloads, these can be guarded by a future BOTAN_HAS_CPP_STREAMS system-feature flag. But when ostreams are required to use the API (as here), that is not possible. | ||||
* | Add basic test for OS utils | Jack Lloyd | 2017-01-22 | 2 | -4/+159 |
| | | | | | Mainly driven by missing test for OS::run_cpu_instruction_probe. Currently only works on x86 and ARM. Tested on x86-64 native and aarch64 qemu. | ||||
* | Updates to the readme | Jack Lloyd | 2017-01-22 | 1 | -7/+14 |
| | | | | | | | | | | | | | | Instead of refering to security.rst for how to report a security bug, just say so in the readme. Mention the botan-announce list. Drop mention of gitter.im as place for reporting issues, it is not good for that. GitHub issues and mailing list are both part of our infrastructure and have a large audience, gitter.im is kind of peripheral and not monitored so much. [ci skip] | ||||
* | Remove unused iostream include | Jack Lloyd | 2017-01-20 | 1 | -1/+0 |
| | | | | [ci skip] | ||||
* | Avoid requiring AT_DCACHEBSIZE (data cache size) getauxval | Jack Lloyd | 2017-01-19 | 1 | -0/+3 |
| | | | | | Missing on Android it appears, or at least on Kullo CI NDK. Not essential by any means. | ||||
* | Merge GH #843 Refactor CPUID impl, add ARM feature detection | Jack Lloyd | 2017-01-18 | 6 | -159/+463 |
|\ | |||||
| * | Fix for PowerPC | Jack Lloyd | 2017-01-17 | 1 | -2/+2 |
| | | |||||
| * | Fixes for 32-bit ARM | Jack Lloyd | 2017-01-17 | 1 | -7/+38 |
| | | |||||
| * | Refactor CPUID implementation, add ARM support | Jack Lloyd | 2017-01-17 | 4 | -146/+324 |
| | | | | | | | | | | | | Tested for ARM only under qemu-aarch64, need to check hardware before merging. Changes x86 CPUID bitmasks which does break ABI for 2.1, no API implications. | ||||
| * | Fixes for OS X build | Jack Lloyd | 2017-01-17 | 2 | -1/+2 |
| | | | | | | | | | | | | os_utils.h was missing an include, only noticed on OS X sigemptyset is a macro on OS X so cannot be called as ::sigemptyset | ||||
| * | Add OS::run_cpu_instruction_probe | Jack Lloyd | 2017-01-15 | 2 | -13/+107 |
| | | | | | | | | | | | | Needed for ARM detection, also probably useful on PowerPC for AltiVec Works fine for me on Linux x86-64 testing with ud2 instruction. | ||||
* | | Mark GMAC tests as being sensitive to clmul and AES-NI CPUID bits | Jack Lloyd | 2017-01-17 | 1 | -0/+2 |
|/ | |||||
* | Handle processor name in /proc/cpuinfo that as a colon in the name itself | Jack Lloyd | 2017-01-14 | 1 | -7/+7 |
| | | | | Seen on AMD Opteron A1100 running Linux 4.1 | ||||
* | Merge GH #839 Fix pyflakes/pylint warnings in botan.py | Jack Lloyd | 2017-01-13 | 2 | -72/+80 |
|\ | |||||
| * | Run pylint on botan.py in Travis | Jack Lloyd | 2017-01-12 | 1 | -2/+7 |
| | | |||||
| * | Fix some (not all) pylint warnings in botan.py | Jack Lloyd | 2017-01-12 | 1 | -54/+52 |
| | | |||||
| * | Fix pyflakes warnings in Python wrapper code | Jack Lloyd | 2017-01-12 | 1 | -16/+21 |
|/ | |||||
* | Update news for 1.10.15 release | Jack Lloyd | 2017-01-12 | 2 | -3/+12 |
| | | | | [ci skip] | ||||
* | configure: Remove duplicates from generated module list | Jack Lloyd | 2017-01-12 | 1 | -1/+2 |
| | | | | | | | | | | I ran into this after PKCS11 was enabled by default, as my local build script uses --enable-modules=pkcs11,... this ended up causing the module to be loaded twice! The result was duplicate entries in the Makefile. Would be good for configure to be written more defensively, the result of this error being a bogus Makefile is lame. | ||||
* | Merge GH #837 Enable PKCS11 module by default, remove --with-pkcs11 option | Jack Lloyd | 2017-01-11 | 12 | -16/+11 |
|\ | |||||
| * | Remove --with-pkcs11 option from CI scripts, docs | René Korthaus | 2017-01-11 | 10 | -13/+10 |
| | | |||||
| * | Enable PKCS11 module by default and remove --with-pkcs11 option | René Korthaus | 2017-01-11 | 2 | -3/+1 |
| | | | | | | | | | | | | The pkcs11 module once required the pkcs11 headers as an external dependency, but the headers were included a while ago. Still, the module was set to be load_on vendor. Instead, we can enable the module by default now. | ||||
* | | Merge GH #836 Resolve more pylint warnings in configure.py | Jack Lloyd | 2017-01-11 | 1 | -64/+58 |
|\ \ | |/ |/| | |||||
| * | Resolve lint issues: bad-builtin | Simon Warta | 2017-01-11 | 1 | -2/+3 |
| | | |||||
| * | Resolve lint issues: anomalous-backslash-in-string | Simon Warta | 2017-01-11 | 1 | -3/+3 |
| | | |||||
| * | Resolve lint issues: deprecated-module | Simon Warta | 2017-01-11 | 1 | -1/+1 |
| | | |||||
| * | Resolve lint issues: singleton-comparison | Simon Warta | 2017-01-11 | 1 | -3/+3 |
| | | |||||
| * | Resolve lint issues: superfluous-parens | Simon Warta | 2017-01-11 | 1 | -2/+2 |
| | | |||||
| * | Resolve lint issues: unidiomatic-typecheck | Simon Warta | 2017-01-11 | 1 | -1/+1 |
| | | |||||
| * | Resolve lint issues: deprecated-method | Simon Warta | 2017-01-11 | 1 | -1/+1 |
| | | |||||
| * | Resolve lint issues: unused-variable | Simon Warta | 2017-01-11 | 1 | -5/+5 |
| | | |||||
| * | Resolve lint issues: bad-indentation | Simon Warta | 2017-01-11 | 1 | -3/+3 |
| | | |||||
| * | Resolve lint issues: bad-continuation | Simon Warta | 2017-01-11 | 1 | -8/+9 |
| | | |||||
| * | Resolve lint issues: bad-whitespace | Simon Warta | 2017-01-11 | 1 | -30/+30 |
| | | |||||
| * | Remove try-catch block in gen_bakefile | Simon Warta | 2017-01-11 | 1 | -12/+4 |
|/ | | | | As discussed in https://github.com/randombit/botan/pull/832 | ||||
* | Merge GH #832 Fix pylint warnings | Jack Lloyd | 2017-01-10 | 1 | -106/+108 |
|\ | |||||
| * | Fix various pylint warnings | Jack Lloyd | 2017-01-09 | 1 | -106/+108 |
| | | |||||
* | | Update download link for 2.0.1 | Jack Lloyd | 2017-01-09 | 1 | -3/+3 |
| | | | | | | | | [ci skip] | ||||
* | | Update news for 2.0.1 release2.0.1 | Jack Lloyd | 2017-01-09 | 2 | -1/+20 |
| | |