- 23 Sep, 2017 4 commits
-
-
Daiki Ueno authored
This allows the same code to be reused in curve448 and Ed448. Signed-off-by:
Daiki Ueno <dueno@redhat.com>
-
Niels Möller authored
* testsuite/ecc-dup-test.c (test_main): Reduce test duplication. Use ecc->dup_itch.
-
Niels Möller authored
* testsuite/ecc-add-test.c (test_main): Reduce test duplication. Use ecc->add_hhh_itch.
-
Niels Möller authored
-
- 18 Sep, 2017 1 commit
-
-
Daiki Ueno authored
This makes it possible to share the same code for curve25519 and curve448 primitives, which use different underlying formulas for addition and doubling. Signed-off-by:
Daiki Ueno <dueno@redhat.com>
-
- 14 Sep, 2017 2 commits
-
-
Niels Möller authored
* hkdf.c: Delete unneeded includes. Use Nettle licensing notice. * hkdf.h: Include only nettle-types.h, not nettle-meta.h.
-
Niels Möller authored
-
- 12 Sep, 2017 1 commit
-
-
Niels Möller authored
-
- 09 Sep, 2017 5 commits
-
-
Niels Möller authored
-
Daiki Ueno authored
Signed-off-by:
Daiki Ueno <dueno@redhat.com>
-
Daiki Ueno authored
In curve448, the bit size of the order is slightly smaller than the one of p's. Adjust ecc_Bmodq_shifted accordingly. Signed-off-by:
Daiki Ueno <dueno@redhat.com>
-
Daiki Ueno authored
Signed-off-by:
Daiki Ueno <dueno@redhat.com>
-
Niels Möller authored
-
- 06 Sep, 2017 6 commits
-
-
Niels Möller authored
-
Niels Möller authored
-
Andreas Schneider authored
If configure finds secure_getenv it wants to use it. However it fails to find the prototype because it is a GNU extension. Signed-off-by:
Andreas Schneider <asn@samba.org>
-
Niels Möller authored
* hkdf.c (hkdf_expand): Eliminate a (signed) ssize_t variable, use break rather than return at loop termination.
-
Niels Möller authored
-
Niels Möller authored
-
- 30 Aug, 2017 2 commits
-
-
Nikos Mavrogiannopoulos authored
Signed-off-by:
Nikos Mavrogiannopoulos <nmav@redhat.com>
-
Nikos Mavrogiannopoulos authored
Signed-off-by:
Nikos Mavrogiannopoulos <nmav@redhat.com>
-
- 29 Aug, 2017 2 commits
-
-
Niels Möller authored
-
Niels Möller authored
-
- 27 Aug, 2017 2 commits
-
-
Niels Möller authored
-
Niels Möller authored
In version.h, GMP_NUMB_BITS is needed only for mini-gmp builds. In non-mini-gmp builds, substitute a dummy value there, to make the contents of this header file platform independent. In Makefile, we always need a properly configured value, and do this with the renamed variable NUMB_BITS.
-
- 26 Aug, 2017 4 commits
-
-
Niels Möller authored
-
Niels Möller authored
-
Niels Möller authored
-
Daniel P. Berrange authored
The nettle-benchmark program currently uses the openssl low level cipher APIs for benchmarking. This means it always runs the generic software implementation, never able to take advantage of impls optimized for new hardware (eg AES-NI). Rewriting it to use the higher EVP APIs means we can use the same code for all ciphers, and automatically trigger hardware optimized versions, giving a fairer comparison against openssl as commonly used in applications. Use of the generic openssl impl can still be forced by setting an env variable OPENSSL_ia32cap="~0x200000200000000" Signed-off-by:
Daniel P. Berrange <berrange@redhat.com>
-
- 18 Jul, 2017 1 commit
-
-
Niels Möller authored
* ecc-add-eh.c (ecc_add_eh): Fix in-place operation by reordering two multiplies. Previously, in-place operation resulted in an invalid call to mpn_mul with overlapping operands. Reported by Sergei Trofimovich.
-
- 09 Jun, 2017 3 commits
-
-
Niels Möller authored
-
Daiki Ueno authored
* rsa-pss-sign-tr-test.c (test_main): Add test case contributed by Daiki Ueno. Problem originally found by oss-fuzz, see https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2132. That problem report is currently embargoed, but will hopefully be public in a month or two.
-
Niels Möller authored
* pss.c (pss_verify_mgf1): Check for m being too large, fixing an assertion failure for certain invalid signatures. Based on a patch contributed by Daiki Ueno.
-
- 07 Jun, 2017 1 commit
-
-
Niels Möller authored
-
- 20 May, 2017 2 commits
-
-
Niels Möller authored
-
Nikos Mavrogiannopoulos authored
That is, regenerate when Makefile.in is modified. Signed-off-by:
Nikos Mavrogiannopoulos <nmav@redhat.com>
-
- 16 May, 2017 4 commits
-
-
Nikos Mavrogiannopoulos authored
Signed-off-by:
Nikos Mavrogiannopoulos <nmav@redhat.com>
-
Nikos Mavrogiannopoulos authored
Signed-off-by:
Nikos Mavrogiannopoulos <nmav@redhat.com>
-
Nikos Mavrogiannopoulos authored
Signed-off-by:
Nikos Mavrogiannopoulos <nmav@redhat.com>
-
Nikos Mavrogiannopoulos authored
-