| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
(cherry picked from commit 0ad0b5df315665250dfdaa4a1e087f4799edaefe)
|
|
|
|
|
|
| |
Improves consistency with _rsa_sec_compute_root, and fixes zero-input bug.
(cherry picked from commit 485b5e2820a057e873b1ba812fdb39cae4adf98c)
|
|
|
|
|
|
| |
* testsuite/rsa-encrypt-test.c (test_main): Fix allocation of
decrypted storage. Update test of rsa_decrypt, to allow clobbering
of all of the passed in message area.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use side-channel silent RSA root function as well as PKCS1 padding
functions.
This variant accepts only a fixed length message, and returns error
if the pkcs1 padding returns a different length message.
The buffer is always left unchanged on error so that a TLS
implementation can pre-initialize it with a random key to use on
decoding error.
Signed-off-by: Simo Sorce <simo@redhat.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
contributed by Nikos Mavrogiannopoulos.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
non-pointer types, so that the types can be used to declare functions.
Updated all users.
Rev: nettle/arcfour-meta.c:1.2
Rev: nettle/cbc.h:1.2
Rev: nettle/des-compat.c:1.2
Rev: nettle/examples/nettle-benchmark.c:1.3
Rev: nettle/examples/nettle-openssl.c:1.2
Rev: nettle/examples/rsa-encrypt.c:1.2
Rev: nettle/examples/rsa-keygen.c:1.2
Rev: nettle/nettle-internal.c:1.2
Rev: nettle/nettle-meta.h:1.2
Rev: nettle/nettle-types.h:1.2
Rev: nettle/testsuite/dsa-keygen-test.c:1.3
Rev: nettle/testsuite/rsa-encrypt-test.c:1.3
Rev: nettle/testsuite/rsa-keygen-test.c:1.3
Rev: nettle/testsuite/testutils.c:1.3
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
files should be compiled.
Rev: nettle/testsuite/dsa-keygen-test.c:1.2
Rev: nettle/testsuite/dsa-test.c:1.2
Rev: nettle/testsuite/pkcs1-test.c:1.2
Rev: nettle/testsuite/rsa-encrypt-test.c:1.2
Rev: nettle/testsuite/rsa-keygen-test.c:1.2
Rev: nettle/testsuite/rsa-test.c:1.2
Rev: nettle/testsuite/rsa2sexp-test.c:1.2
Rev: nettle/testsuite/sexp2rsa-test.c:1.2
|
|
|
|
|
|
|
|
|
| |
* testsuite/rsa-encrypt-test.c: Include rsa.h only if WITH_PUBLIC_KEY.
* testsuite/pkcs1-test.c: Include pkcs1.h only if WITH_PUBLIC_KEY.
Rev: src/nettle/testsuite/pkcs1-test.c:1.2
Rev: src/nettle/testsuite/rsa-encrypt-test.c:1.4
Rev: src/nettle/testsuite/sexp-format-test.c:1.8
|
|
|
|
|
|
|
|
|
| |
* testsuite/rsa-encrypt-test.c (test_main): Likewise.
* testsuite/bignum-test.c (test_bignum): Likewise.
Rev: src/nettle/testsuite/bignum-test.c:1.4
Rev: src/nettle/testsuite/rsa-encrypt-test.c:1.3
Rev: src/nettle/testsuite/yarrow-test.c:1.14
|
|
|
|
|
|
|
| |
as it seems it's only available with the newer gmp. Use
mpz_out_str instead.
Rev: src/nettle/testsuite/rsa-encrypt-test.c:1.2
|
|
Rev: src/nettle/testsuite/md2-test.c:1.1
Rev: src/nettle/testsuite/md4-test.c:1.1
Rev: src/nettle/testsuite/rsa-encrypt-test.c:1.1
|