| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Support installing botan.py to multiple python versions
|
| |
| |
| |
| | |
Signed-off-by: Alon Bar-Lev <[email protected]>
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Avoids needing to include simd_32 to see if SIMD is disabled. This
had caused a build break on Linux x86-32 as SSE2 must be enabled on
a per-file basis.
|
| | |
|
|\ \
| |/
|/| |
Move the algorithm factory functions to T::create and move object registration to the source file for its base class. These resolve the issues which prevented successful use of a static library that was built with individual object files. Removes the restriction in configure.py which prevented building non-amalgamation static libs.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Only user-visible change is the removal of get_byte.h
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously we were hanging on the type destructors to pull in
the relevant objects. However that fails in many simple cases
where the object is never deleted.
For every type involved in the algo registry add static create
and providers functions to access the algo registry. Modify
lookup.h to be inline and call those functions, and move
a few to sub-headers (eg, get_pbkdf going to pbkdf.h). So
accessing the registry involves going through the same file
that handles the initialization, so there is no way to end up
with missing objs.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
With this change the tests pass when linked against a static library
built in the normal (non-amalgamation) fashion.
Remove the restriction in configure.py, and have circleci build the
clang static build as a non-amalg.
|
| | |
|