- 14 Oct, 2017 2 commits
-
-
Signed-off-by:
Nikos Mavrogiannopoulos <nmav@redhat.com>
-
Signed-off-by:
Nikos Mavrogiannopoulos <nmav@redhat.com>
-
- 01 Oct, 2017 1 commit
-
-
Niels Möller authored
-
- 28 Sep, 2017 1 commit
-
-
Niels Möller authored
-
- 24 Sep, 2017 3 commits
-
-
Niels Möller authored
-
Niels Möller authored
* sexp-transport-format.c (base64_encode_in_place): New helper function. (sexp_transport_vformat): Use it. * testsuite/base64-test.c (test_fuzz_once): Update to use char type where appropriate. (test_main): Use helper functions base64_encode_in_place and base64_decode_in_place (copied to this file). * tools/pkcs1-conv.c (base64_decode_in_place): New helper function. (decode_base64): Use it.
-
Niels Möller authored
* testsuite/testutils.c (tstring_data): Use uint8_t for data argument. * testsuite/testutils.h (SDATA): Use US macro to cast data argument.
-
- 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
-
Signed-off-by:
Daiki Ueno <dueno@redhat.com>
-
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>
-
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
-
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
-
-
Signed-off-by:
Nikos Mavrogiannopoulos <nmav@redhat.com>
-
Signed-off-by:
Nikos Mavrogiannopoulos <nmav@redhat.com>
-
- 29 Aug, 2017 2 commits
-
-
Niels Möller authored
-
Niels Möller authored
-
- 27 Aug, 2017 3 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.
-
Niels Möller authored
-
- 26 Aug, 2017 4 commits
-
-
Niels Möller authored
-
Niels Möller authored
-
Niels Möller 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
-
* 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
-
That is, regenerate when Makefile.in is modified. Signed-off-by:
Nikos Mavrogiannopoulos <nmav@redhat.com>
-
- 16 May, 2017 1 commit
-
-
Signed-off-by:
Nikos Mavrogiannopoulos <nmav@redhat.com>
-