Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make it possible to disable stack smashing protection. | Jack Lloyd | 2017-02-04 | 1 | -3/+8 |
| | | | | | | Also reflect anything in ABI flags into pkg-config Libs field. GH #863 | ||||
* | Set SIMD ISA flags when building test_simd.cpp | Jack Lloyd | 2017-01-29 | 1 | -0/+4 |
| | | | | Return NEON from CPUID::has_simd_32 | ||||
* | Add support for NEON in SIMD_4x32 | Jack Lloyd | 2017-01-29 | 1 | -2/+2 |
| | | | | Tested on qemu-aarch64 | ||||
* | add "--with-external-libdir" to configure.py | Daniel Neus | 2017-01-26 | 1 | -5/+19 |
| | | | | | | Fixes #767 and #19 Main purpose is to support external libs like OpenSSL on Windows. | ||||
* | Complete the rename of Python wrapper | Jack Lloyd | 2017-01-24 | 1 | -1/+1 |
| | | | | Where referenced in CI scripts, docs and such | ||||
* | Fix configure.py error when compiler doesn't support desired ISA flags | Jack Lloyd | 2017-01-22 | 1 | -9/+15 |
| | | | | | | | | | | | | | 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 |
| | |||||
* | 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 | ||||
* | 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 | 1 | -1/+1 |
|\ | |||||
| * | Enable PKCS11 module by default and remove --with-pkcs11 option | René Korthaus | 2017-01-11 | 1 | -1/+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. | ||||
* | | 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 | ||||
* | Fix various pylint warnings | Jack Lloyd | 2017-01-09 | 1 | -106/+108 |
| | |||||
* | Resolve broad-except | Simon Warta | 2017-01-09 | 1 | -42/+42 |
| | |||||
* | Add super() call to Exception | Simon Warta | 2017-01-09 | 1 | -0/+1 |
| | |||||
* | Resolve redefined-outer-name issues | Simon Warta | 2017-01-09 | 1 | -11/+11 |
| | |||||
* | Rename names that do not follow convention | Simon Warta | 2017-01-09 | 1 | -6/+6 |
| | |||||
* | Fix docstring positions (pylint pointless-string-statement) | Simon Warta | 2017-01-09 | 1 | -74/+91 |
| | |||||
* | Fix import position/order | Simon Warta | 2017-01-09 | 1 | -3/+3 |
| | |||||
* | Fix pyflakes warning | Jack Lloyd | 2017-01-07 | 1 | -9/+9 |
| | | | | | | | | | configure.py:704: import 'os' from line 24 shadowed by loop variable This was the only warning from pyflakes. It did also pick up the bad variable reference from GH #821 [ci skip] | ||||
* | Fix invalid var reference when building on OS without shared libs | Jack Lloyd | 2017-01-07 | 1 | -1/+1 |
| | | | | Fixes GH #821 | ||||
* | Update shared object naming for new versioning scheme. | Jack Lloyd | 2017-01-06 | 1 | -6/+23 |
| | | | | | | | | | | | | Cleans up so object naming since most of the time (across Unix) we follow the exact same naming scheme; just make it the default if only the so suffix is specified in the file. Also updates include header dir to be botan-${major} Changes behavior when shared lib not supported; instead of making the user explicitly try again with --disable-shared, just assume it and continue running. | ||||
* | Use /proc/cpuinfo only as last resort for now | Jack Lloyd | 2017-01-05 | 1 | -7/+9 |
| | | | | Possible misdetection issues, and it hasn't been well tested yet. | ||||
* | Horrible hack for OS X | Jack Lloyd | 2017-01-05 | 1 | -3/+3 |
| | | | | | | | | | On Travis OS X, platform.machine() is 'x86_64' and platform.processor() is 'i386'. We incorrectly choose a 32-bit build, which fails due to no 32-bit Boost libraries. Switch (fairly arbitrary) order of machine and processor for CI. I have a plan to address this better but it will be for 2.1 | ||||
* | Wrap read of /proc/cpuinfo in try/catch block | Jack Lloyd | 2017-01-04 | 1 | -9/+13 |
| | |||||
* | Improve CPU detection logic. Read /proc/cpuinfo when available. | Jack Lloyd | 2017-01-04 | 1 | -22/+45 |
| | | | | | | | | | | | | | | Sometimes platform module is very useless and returns empty strings or bogus data. /proc/cpuinfo at least provides another data point. Refactor how processor guessing is done, now input values are collected, from platform module and /proc/cpuinfo, then each considered as if it had been passed to --cpu option. All this could be simplified further since we no longer rely on the submodel settings much anymore. If someone wanted to compile specially for their CPU they could specify that with --cc-abi-flags (or --cxxflags when that's added). Not making that change here. | ||||
* | Merge GH #793 Add iOS target | Jack Lloyd | 2017-01-03 | 1 | -1/+1 |
|\ | |||||
| * | Add os ios | Simon Warta | 2017-01-03 | 1 | -1/+1 |
| | | |||||
* | | Rename filename -> file_path in portable_symlink() | Simon Warta | 2017-01-03 | 1 | -7/+7 |
| | | | | | | | | | | The variable contains a relative path to the source file to be linked/copied, not only a name. | ||||
* | | Fix calculation of symlink target for headers | Simon Warta | 2017-01-03 | 1 | -12/+2 |
|/ | |||||
* | Add new module sanity check to configure.py | Jack Lloyd | 2016-12-18 | 1 | -0/+14 |
| | | | | [ci skip] | ||||
* | Disable TLS signature and finished message checks in fuzzer mode | Jack Lloyd | 2016-12-17 | 1 | -5/+8 |
| | | | | | Also use a const time comparison for the finished message, though I don't see any real way of exploiting that timing channel. | ||||
* | Simplify logic in configure for listing out files | Jack Lloyd | 2016-12-11 | 1 | -12/+17 |
| | | | | | | Add a check that the same header is not both public and internal. [ci skip] | ||||
* | Remove <source> block from info.txt files | Jack Lloyd | 2016-12-08 | 1 | -3/+2 |
| | | | | | | Kind of a vestigial thing from an earlier iteration of the module design, and never useful to specify anymore since taking all the cpp files is what you want exactly 100% of the time. | ||||
* | Log the git revision in the configure.py output | Jack Lloyd | 2016-12-08 | 1 | -1/+3 |
| | | | | | | Free, and sometimes useful for debugging from build logs [ci skip] | ||||
* | Convert warning to error for --via-amalgamation | Simon Warta | 2016-12-02 | 1 | -2/+1 |
| | |||||
* | Add year 2016 to the amalgamation header comment | Simon Warta | 2016-12-02 | 1 | -1/+1 |
| | |||||
* | Fix reference to deprecated option | Baruch Burstein | 2016-11-28 | 1 | -1/+1 |
| | |||||
* | Fix amalgamation for IncludeOS - avoid having <thread> pulled in | Jack Lloyd | 2016-11-27 | 1 | -1/+1 |
| |