| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Support for 64 bit ARM
|
| |
| |
| |
| | |
See also -march in https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
|
| |
| |
| |
| |
| |
| |
| |
| | |
* Update Xcode from 6.4 to 7, which also updates the iOS SDK from 8 to 9
* Remove iOS shared library build, which is not very useful
* Add 64 bit iOS static library build
* Refactor build script to use xcrun instead of manually specifying a
sysroot
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds support for 64 bit ARM cores as used in many high-end phones
such as all iPhones beginning with the 5s. While these newer phones
still run 32 bit ARM code, Apple doesn't allow apps to be submitted to
the app store if they don't provide a 64 bit build.
This commit adds a new arm64 arch and renames arm to arm32 to stay
consistent with the other architectures. The name arm can still be used
for configuring because it has been added as an alias for arm32.
Additionally, the one piece of ARM inline assembly that can be found in
Botan doesn't work on 64 bit ARM, so I use the solution that has been
proposed in #180: Use __builtin_bswap32 instead of inline assembly.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Based on GH #272
|
| |
| |
| |
| |
| |
| | |
Some cleanups in random_prime. Increase probability in prime tests from
1/2**64 to 1/2**128. Also break out of the sieve loop early if it has
failed.
|
| | |
|
| |
| |
| |
| | |
deriving it by squaring the previous value.
|
| |
| |
| |
| |
| |
| | |
Previously you couldn't have an unique_ptr<RNG> that might point to
either a system rng or an autoseed rng depending on availability. That
was already needed in ffi and is useful elsewhere.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
For PK_Encryptor and company they are requested via a new provider param
to the constructors.
The speed command gets a --provider option so you can see benchmark results
with the different versions.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
but the meaning of the option is probably easier to understand with
this name.
|
|/
|
|
|
| |
Removes filters as as an internal dependency pretty much entirely
(outside of some dusty corners in misc).
|
| |
|
|
|
|
|
| |
Just print an error message and return. Reduces false fails with
smaller builds
|
| |
|
|
|
|
| |
[ci skip]
|
|
|
|
| |
[ci skip]
|
|\
| |
| | |
Expose X.509 certificates and McEliece to C89/Python
|
| | |
|
| | |
|
| |
| |
| |
| | |
Missing path validation, probably other things
|
|\ \
| | |
| | | |
Integrate codecov
|
|/ /
| |
| |
| | |
Closes #225, #280
|
|/
|
|
|
|
| |
The default badge shows all tested branches.
[ci skip]
|
|
|
|
| |
[ci skip]
|
|\
| |
| | |
Cleanup and document McEliece implementation
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove and consolidate various headers
Reduce memory usage of GF2m_Field by sharing the log and exponent
tables across all instances of a particular word size.
Remove McEliece_Public_Operation and McEliece_Private_Operation which
were difficult to use safely. Instead only the KEM operations are exposed.
Add McEliece_PublicKey::random_plaintext_element
Add command line `mce` tool and some McEliece documentation
Convert the speed program to check McEliece keys of the suggested size
Add McEliece KATs for both key generation and KEM
Fix HMAC_DRBG constructor which derefed a pointer before its time
|
|\ \
| | |
| | | |
Add the Darwin_SecRandom entropy source
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It uses the SecRandomCopyBytes function from the Security framework of
OS X and iOS. We need this because it is the official way to get
cryptographically secure random numbers on iOS, where /dev/random is not
accessible due to sandboxing.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
On Darwin platforms, there are frameworks that can bundle libraries and
header files in a standardized directory structure. We need to support
linking to them because most of the OS X or iOS-specific APIs are
provided as frameworks.
|
|\ \ \
| | | |
| | | | |
Small cleanups done while building on OS X with --maintainer-mode
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
`continue` cannot be reached due to `return` in the line above
|
|/ / /
| | |
| | |
| | |
| | | |
* ignore Mac-specific files (*.dylib, .DS_Store)
* ignore Vim swap files
|
|\ \ \
| |/ /
|/| | |
Remove warning: assuming signed overflow does not occur
|
|/ /
| |
| |
| |
| |
| | |
warning: assuming signed overflow does not occur when reducing constant
in comparison [-Wstrict-overflow]
cond1 = r0.get_degree() <= break_deg - 1;
|
|\ \
| |/
|/| |
Avoid concatination of chars
|
|/
|
|
|
|
|
| |
Ever tried?
auto str = "some long string";
auto str2 = str + '\n';
It's not with the brainfuck finding the bug.
|
| |
|
|
|
|
| |
[ci skip]
|
|
|
|
| |
Two part commit with bd99a4f to work around git's insane rename system.
|
| |
|
| |
|
| |
|