- 19 Apr, 2020 1 commit
-
-
- 17 Apr, 2020 2 commits
-
-
Niels Möller authored
-
Niels Möller authored
-
- 15 Apr, 2020 5 commits
-
-
Niels Möller authored
-
Niels Möller authored
-
Niels Möller authored
-
Make low-level poly1305 functions that were marked as "internal" in public header file really internal. Change their prefix from nettle to _nettle. Signed-off-by:
Dmitry Baryshkov <dbaryshkov@gmail.com>
-
Niels Möller authored
-
- 12 Apr, 2020 2 commits
-
-
Niels Möller authored
-
Niels Möller authored
-
- 06 Apr, 2020 2 commits
-
-
Niels Möller authored
-
Niels Möller authored
-
- 02 Apr, 2020 1 commit
-
-
Niels Möller authored
-
- 01 Apr, 2020 3 commits
-
-
Niels Möller authored
-
Niels Möller authored
-
Niels Möller authored
-
- 31 Mar, 2020 1 commit
-
-
Niels Möller authored
* testsuite/Makefile.in (check): Pass only TEST_SHLIB_DIR to the run-tests script, and leave setting of LD_LIBRARY_PATH and related variables to that script. * examples/Makefile.in (check): Likewise. * run-tests: Check TEST_SHLIB_DIR, and set up LD_LIBRARY_PATH and related member variables. * config.make.in (abs_top_builddir, TEST_SHLIB_DIR): New variables.
-
- 26 Mar, 2020 1 commit
-
-
Niels Möller authored
* configure.ac: Bump package version to 3.6. (LIBNETTLE_MINOR): Bump minor number, now 7.1. (LIBHOGWEED_MINOR): Bump minor numbers, now 5.1
-
- 25 Mar, 2020 1 commit
-
-
Niels Möller authored
-
- 22 Mar, 2020 1 commit
-
-
On Linux/x86, when CET is enabled, all indirect branch targets must start with ENDBR instruction. Add x86-ibt-test.c to verify that missing ENDBR instruction at indirect branch target will trigger SIGSEGV on CET platforms.
-
- 14 Mar, 2020 2 commits
-
-
Niels Möller authored
-
Intel Control-flow Enforcement Technology (CET): https://software.intel.com/en-us/articles/intel-sdm contains shadow stack (SHSTK) and indirect branch tracking (IBT). When CET is enabled, ELF object files must be marked with .note.gnu.property section. Also when IBT is enabled, all indirect branch targets must start with ENDBR instruction. This patch adds ASM_X86_ENDBR and the x86 CET marker to config.m4.in when CET is enabled. It updates PROLOGUE with ASM_X86_ENDBR. Tested on CET machine with i686 and x86-64. Signed-off-by:
H.J. Lu <hjl.tools@gmail.com>
-
- 12 Mar, 2020 1 commit
-
-
ARM assembly adjustments for big-endian systems contained armv6+-only instructions (rev) in generic arm memxor code. Replace those with an actual conversion of the leftover byte store routines for big-endian systems. This also provides a slight optimisation by removing the additional instruction as well as increased symmetry between little- and big-endian implementations. Signed-off-by:
Michael Weiser <michael.weiser@gmx.de>
-
- 09 Mar, 2020 5 commits
-
-
Niels Möller authored
-
Niels Möller authored
-
While the documentation said the nonce size is 8 octets, the implementation actually assumed 12 octets following RFC 7539. Signed-off-by:
Daiki Ueno <dueno@redhat.com>
-
The ChaCha-Poly1305 implementation previously used the chacha_crypt function that assumes the block counter is 64-bit long, while RFC 8439 defines that the counter is 32-bit long. Although this should be fine as long as up to 256 gigabytes of data is encrypted with the same key, it would be nice to use a separate functions (chacha_set_counter32 and chacha_crypt32) that assume the counter is 32-bit long. Signed-off-by:
Daiki Ueno <dueno@redhat.com>
-
The ChaCha20 based header protection algorithm in QUIC requires a way to set the initial value of counter: https://quicwg.org/base-drafts/draft-ietf-quic-tls.html#name-chacha20-based-header-prote This will add a new function chacha_set_counter, which takes an 8-octet initial value of the block counter. Signed-off-by:
Daiki Ueno <dueno@redhat.com>
-
- 08 Mar, 2020 2 commits
-
-
Niels Möller authored
-
Move cmac-des3 meta information from testsuite/cmac-test.c to main Nettle library. Signed-off-by:
Dmitry Baryshkov <dbaryshkov@gmail.com>
-
- 15 Feb, 2020 2 commits
-
-
Niels Möller authored
-
To make ecc functions usage more obvious remove ecc_modp_foo() and ecc_modq_foo() wrapper macros. Signed-off-by:
Dmitry Baryshkov <dbaryshkov@gmail.com>
-
- 09 Feb, 2020 5 commits
-
-
Niels Möller authored
Based on patches by Daiki Ueno.
-
Niels Möller authored
-
Niels Möller authored
Based on patches by Daiki Ueno.
-
Niels Möller authored
Based on patches by Daiki Ueno. * testsuite/cmac-test.c (nettle_cmac_aes128, nettle_cmac_aes256): Moved to... * cmac-aes128-meta.c: New file. * cmac-aes256-meta.c: New file.
-
Niels Möller authored
-
- 06 Feb, 2020 2 commits
-
-
Niels Möller authored
-
gost28147_param instances were never a part of stable release, so move them to internal header. Signed-off-by:
Dmitry Baryshkov <dbaryshkov@gmail.com>
-
- 05 Feb, 2020 1 commit
-
-
Niels Möller authored
-