]> git.ipfire.org Git - thirdparty/nettle.git/log
thirdparty/nettle.git
6 years agoMark w member of union nettle_block16 as deprecated. block16-refactor
Niels Möller [Mon, 8 Jul 2019 20:25:39 +0000 (22:25 +0200)] 
Mark w member of union nettle_block16 as deprecated.

6 years agogcm: Use uint64_t member of nettle_block16.
Niels Möller [Mon, 8 Jul 2019 20:22:35 +0000 (22:22 +0200)] 
gcm: Use uint64_t member of nettle_block16.

6 years agoeax: Use uint64_t member of nettle_block16.
Niels Möller [Mon, 8 Jul 2019 19:09:50 +0000 (21:09 +0200)] 
eax: Use uint64_t member of nettle_block16.

6 years agoChangeLog for previous change
Niels Möller [Tue, 2 Jul 2019 20:38:21 +0000 (22:38 +0200)] 
ChangeLog for previous change

6 years agoMove MAC testing code to generic place from cmac-test
Dmitry Eremin-Solenikov [Tue, 2 Jul 2019 12:38:55 +0000 (15:38 +0300)] 
Move MAC testing code to generic place from cmac-test

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
6 years agoAdd tests that exercise public key checks for ECDH
Simo Sorce [Mon, 13 May 2019 19:24:56 +0000 (15:24 -0400)] 
Add tests that exercise public key checks for ECDH

When performing ECDH the peer provided public key needs to be checked
for validity. FIPS requires basic tests be performed to insure the
provided points are in fact on the selected curve. Those checks already
exists in the ecc_point_set() function.
Add an explicit test that checks the boundaries so that any regression
in checks will be caught.

Signed-off-by: Simo Sorce <simo@redhat.com>
6 years agoMerge branch 'siv-mode' into master-updates
Niels Möller [Tue, 2 Jul 2019 12:28:04 +0000 (14:28 +0200)] 
Merge branch 'siv-mode' into master-updates

6 years agoFixes for Nettle 3.5.1 nettle_3.5.1_release_20190627
Niels Möller [Wed, 26 Jun 2019 19:51:36 +0000 (21:51 +0200)] 
Fixes for Nettle 3.5.1

6 years agoChangeLog entry for 3.5 release nettle_3.5_release_20190626
Niels Möller [Wed, 26 Jun 2019 05:43:25 +0000 (07:43 +0200)] 
ChangeLog entry for 3.5 release

6 years agoUpdate config.guess and config.sub
Niels Möller [Tue, 25 Jun 2019 19:00:47 +0000 (21:00 +0200)] 
Update config.guess and config.sub

6 years agoNEWS for 3.5. Mention deprecations in intro. nettle_3.5rc1
Niels Möller [Sat, 15 Jun 2019 08:27:58 +0000 (10:27 +0200)] 
NEWS for 3.5. Mention deprecations in intro.

6 years agoFix some typos in the documentation.
Wim Lewis [Sat, 15 Jun 2019 08:15:39 +0000 (10:15 +0200)] 
Fix some typos in the documentation.

6 years agoMerge branch 'master' into siv-mode siv-mode
Niels Möller [Thu, 6 Jun 2019 07:25:59 +0000 (09:25 +0200)] 
Merge branch 'master' into siv-mode

The cmac changes on master breaks the previous version of the siv
code. Now updated, and improved to use const context arguments for the
_message functions.

6 years agoFix doc of cmac context structs.
Niels Möller [Thu, 6 Jun 2019 06:41:32 +0000 (08:41 +0200)] 
Fix doc of cmac context structs.

6 years agoFurther separation of CMAC per-message state from subkeys. cmac-layout
Niels Möller [Wed, 5 Jun 2019 20:25:20 +0000 (22:25 +0200)] 
Further separation of CMAC per-message state from subkeys.

6 years agoRevert move of cmac128_ctx index
Niels Möller [Wed, 5 Jun 2019 19:24:31 +0000 (21:24 +0200)] 
Revert move of cmac128_ctx index

6 years agoNew struct cmac128_key.
Niels Möller [Sat, 1 Jun 2019 08:30:29 +0000 (10:30 +0200)] 
New struct cmac128_key.

6 years agoMention deletion of des-compat.h in NEWS
Niels Möller [Wed, 15 May 2019 09:30:55 +0000 (11:30 +0200)] 
Mention deletion of des-compat.h in NEWS

6 years agoNew SIV key size constants. Use in tests.
Niels Möller [Wed, 15 May 2019 08:24:48 +0000 (10:24 +0200)] 
New SIV key size constants. Use in tests.

6 years agoRequire non-empty nonce for SIV mode.
Niels Möller [Wed, 15 May 2019 08:11:22 +0000 (10:11 +0200)] 
Require non-empty nonce for SIV mode.

6 years agoDelete old libdes/openssl compatibility interface. delete-des-compat
Niels Möller [Sun, 12 May 2019 09:03:42 +0000 (11:03 +0200)] 
Delete old libdes/openssl compatibility interface.

6 years agoNEWS update for Nettle-3.5.
Niels Möller [Sat, 11 May 2019 19:29:52 +0000 (21:29 +0200)] 
NEWS update for Nettle-3.5.

6 years agoSIV-CMAC mode, based on patch by Nikos Mavrogiannopoulos
Niels Möller [Mon, 6 May 2019 17:36:33 +0000 (19:36 +0200)] 
SIV-CMAC mode, based on patch by Nikos Mavrogiannopoulos

This AEAD algorithm provides a way to make nonce-reuse a not critical
issue. That is particular useful to stateless servers that cannot
ensure that the nonce will not repeat. This cipher is used by
draft-ietf-ntp-using-nts-for-ntp-17.

6 years agoNew header file cmac-internal.h
Niels Möller [Wed, 1 May 2019 12:24:35 +0000 (14:24 +0200)] 
New header file cmac-internal.h

Move and rename block_mulx --> _cmac128_block_mulx.

6 years agoChangeLog entry for EPILOGUE fix.
Niels Möller [Sat, 27 Apr 2019 07:37:17 +0000 (09:37 +0200)] 
ChangeLog entry for EPILOGUE fix.

6 years agoAdd missing EPILOGUEs in assembly files
Simo Sorce [Sat, 27 Apr 2019 07:05:08 +0000 (09:05 +0200)] 
Add missing EPILOGUEs in assembly files

6 years agotools/nettle-pbkdf2.c: Check strdup return value.
Niels Möller [Sun, 14 Apr 2019 06:35:47 +0000 (08:35 +0200)] 
tools/nettle-pbkdf2.c: Check strdup return value.

6 years agoRedefine struct aes_ctx as a union of key-size specific contexts. aes-struct-layout
Niels Möller [Fri, 29 Mar 2019 06:32:42 +0000 (07:32 +0100)] 
Redefine struct aes_ctx as a union of key-size specific contexts.

6 years agoRearrange cmac's block_mulx, make it closer to xts_shift.
Niels Möller [Wed, 27 Mar 2019 05:30:58 +0000 (06:30 +0100)] 
Rearrange cmac's block_mulx, make it closer to xts_shift.

* xts.c (xts_shift): Arrange with a single write to u64[1].
* cmac.c (block_mulx): Rewrite to work in the same way as
xts_shift, with 64-bit operations. XTS and CMAC use opposite
endianness, but otherwise, these two functions are identical.

6 years agoUpdate docs for xts-aes
Niels Möller [Sun, 24 Mar 2019 12:34:08 +0000 (13:34 +0100)] 
Update docs for xts-aes

The structs are named xts_aes*_key, not xts_aes*_ctx.

6 years agoChangeLog entries for XTS support.
Niels Möller [Sun, 24 Mar 2019 12:31:37 +0000 (13:31 +0100)] 
ChangeLog entries for XTS support.

6 years agoRecode xts_shift based on endianess
Simo Sorce [Wed, 20 Mar 2019 15:46:22 +0000 (11:46 -0400)] 
Recode xts_shift based on endianess

This creates two implementations of xts_shift, one for little endian and
one for big endian. This way we avoid copies to additional variables and
inefficient byteswapping on platforms that do not have dedicated
instructions.

Signed-off-by: Simo Sorce <simo@redhat.com>
6 years agoInline ciphertext stealing
Simo Sorce [Tue, 19 Mar 2019 20:30:53 +0000 (16:30 -0400)] 
Inline ciphertext stealing

This avoids copying and may be somewhat more readable without the need
for so much explanation.

Signed-off-by: Simo Sorce <simo@redhat.com>
6 years agoAdd support for XTS encryption mode
Simo Sorce [Thu, 4 Oct 2018 18:38:50 +0000 (14:38 -0400)] 
Add support for XTS encryption mode

XEX encryption mode with tweak and ciphertext stealing (XTS) is
standardized in IEEE 1619 and generally used for storage devices.

Signed-off-by: Simo Sorce <simo@redhat.com>
6 years agoMove block buffer last in hash context structs.
Niels Möller [Wed, 10 Oct 2018 17:44:32 +0000 (19:44 +0200)] 
Move block buffer last in hash context structs.

6 years agoMerge branch 'delete-nettle-stdint-h' into master
Niels Möller [Tue, 22 Jan 2019 18:06:43 +0000 (19:06 +0100)] 
Merge branch 'delete-nettle-stdint-h' into master

6 years ago.gitlab-ci.yml: Add -std=c89 and -DNDEBUG builds.
Niels Möller [Mon, 21 Jan 2019 22:07:27 +0000 (23:07 +0100)] 
.gitlab-ci.yml: Add -std=c89 and -DNDEBUG builds.

6 years agoexamples: Delete eratosthenes from TARGETS, left over from earlier change.
Niels Möller [Sat, 19 Jan 2019 16:21:25 +0000 (17:21 +0100)] 
examples: Delete eratosthenes from TARGETS, left over from earlier change.

6 years agofat-arm.c: Fix declarations of chacha_core functions.
Niels Möller [Sat, 19 Jan 2019 15:16:37 +0000 (16:16 +0100)] 
fat-arm.c: Fix declarations of chacha_core functions.

6 years agoChangeLog entries for previous change.
Niels Möller [Sat, 19 Jan 2019 08:42:24 +0000 (09:42 +0100)] 
ChangeLog entries for previous change.

6 years agoAdd --enable-fat support for arm neon chacha20
Yuriy M. Kaminskiy [Wed, 2 Jan 2019 16:41:32 +0000 (19:41 +0300)] 
Add --enable-fat support for arm neon chacha20

On BCM2837B0 (Cortex-A53) @1.4GHz (Raspberry Pi 3B+),
Before:
`gnutls-cli --benchmark-ciphers`
       CHACHA20-POLY1305 (16384) 51.54 MB/sec
`gnutls-cli --benchmark-tls-ciphers`:
       ECDHE_RSA_CHACHA20_POLY1305 (payload 1400)  21.31 MB/sec
       ECDHE_RSA_CHACHA20_POLY1305 (payload 15360)  24.60 MB/sec
`nettle-benchmark`
 chacha     encrypt   71.90
 chacha     decrypt   71.89
chacha_poly1305     encrypt   48.17
chacha_poly1305     decrypt   48.17
chacha_poly1305      update  146.03

After:
`gnutls-cli --benchmark-ciphers`
       CHACHA20-POLY1305 (16384) 68.44 MB/sec
`gnutls-cli --benchmark-tls-ciphers`:
       ECDHE_RSA_CHACHA20_POLY1305 (payload 1400) 27.25 MB/sec
       ECDHE_RSA_CHACHA20_POLY1305 (payload 15360) 32.41 MB/sec
`nettle-benchmark`
 chacha     encrypt  106.00
 chacha     decrypt  105.94
chacha_poly1305     encrypt   65.94
chacha_poly1305     decrypt   65.96
chacha_poly1305      update  175.24

6 years agoUpdate NEWS for Nettle-3.5.
Niels Möller [Sat, 19 Jan 2019 08:09:12 +0000 (09:09 +0100)] 
Update NEWS for Nettle-3.5.

6 years ago.gitlab-ci.yml: Use ./bootstrap in gnutls build.
Niels Möller [Thu, 17 Jan 2019 20:51:46 +0000 (21:51 +0100)] 
.gitlab-ci.yml: Use ./bootstrap in gnutls build.

6 years agoeccdata: More asserts in ecc_pippenger_precompute.
Niels Möller [Sun, 13 Jan 2019 09:48:26 +0000 (10:48 +0100)] 
eccdata: More asserts in ecc_pippenger_precompute.

6 years ago.gitlab-ci.yml: updated to new images by gnutls
Nikos Mavrogiannopoulos [Wed, 2 Jan 2019 09:31:08 +0000 (10:31 +0100)] 
.gitlab-ci.yml: updated to new images by gnutls

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
6 years agoDelete eratosthenseprogram
Niels Möller [Sat, 12 Jan 2019 16:31:21 +0000 (17:31 +0100)] 
Delete eratosthenseprogram

6 years agotests: Fix assert call with side effects.
Niels Möller [Sun, 6 Jan 2019 10:11:15 +0000 (11:11 +0100)] 
tests: Fix assert call with side effects.

(cherry picked from commit 73d3c6d5586cc0fd81eab081078144d621de07b4)

6 years agotest: Use %u and corresponding cast, when printing bit sizes.
Niels Möller [Thu, 10 Jan 2019 20:59:03 +0000 (21:59 +0100)] 
test: Use %u and corresponding cast, when printing bit sizes.

6 years agonettle-benchmark: Add volatile to inline asm.
Niels Möller [Thu, 10 Jan 2019 20:57:09 +0000 (21:57 +0100)] 
nettle-benchmark: Add volatile to inline asm.

6 years agoAdd missing include of sha2-internal.h.
Niels Möller [Tue, 8 Jan 2019 22:00:45 +0000 (23:00 +0100)] 
Add missing include of sha2-internal.h.

6 years agoDelete nettle-stdint.h
Niels Möller [Sun, 6 Jan 2019 08:24:55 +0000 (09:24 +0100)] 
Delete nettle-stdint.h

6 years agoeccdata: Add assert.
Niels Möller [Wed, 26 Dec 2018 18:49:56 +0000 (19:49 +0100)] 
eccdata: Add assert.

6 years agoIn openssl benchmarks, use RSA_generate_key_ex.
Niels Möller [Wed, 26 Dec 2018 16:49:31 +0000 (17:49 +0100)] 
In openssl benchmarks, use RSA_generate_key_ex.

6 years agoeccdata: Check that table size is at least 2.
Niels Möller [Wed, 26 Dec 2018 16:27:00 +0000 (17:27 +0100)] 
eccdata: Check that table size is at least 2.

Intended to silence warning from the clang static analyzer.

6 years agoBump version number and sonames, for Nettle-3.5
Niels Möller [Wed, 26 Dec 2018 15:30:04 +0000 (16:30 +0100)] 
Bump version number and sonames, for Nettle-3.5

6 years agoDelete obsolete TODO file
Niels Möller [Wed, 26 Dec 2018 15:19:17 +0000 (16:19 +0100)] 
Delete obsolete TODO file

6 years agoNew header file pkcs1-internal.h
Niels Möller [Wed, 26 Dec 2018 15:18:09 +0000 (16:18 +0100)] 
New header file pkcs1-internal.h

6 years agoMerge branch 'release-3.4-fixes' into master
Niels Möller [Wed, 26 Dec 2018 10:30:21 +0000 (11:30 +0100)] 
Merge branch 'release-3.4-fixes' into master

6 years agoFix compilation with gcc -std=c89
Niels Möller [Wed, 26 Dec 2018 10:07:51 +0000 (11:07 +0100)] 
Fix compilation with gcc -std=c89

6 years agoFix accidental use of C99 for loop.
Niels Möller [Wed, 26 Dec 2018 10:04:31 +0000 (11:04 +0100)] 
Fix accidental use of C99 for loop.

* rsa-sign-tr.c (sec_equal): Fix accidental use of C99 for loop.
Reported by Andreas Gustafsson.
* testsuite/rsa-sec-decrypt-test.c (test_main): Likewise.

6 years agoNote release of Nettle-3.4.1. nettle_3.4.1_release_20181204
Niels Möller [Tue, 4 Dec 2018 20:55:48 +0000 (21:55 +0100)] 
Note release of Nettle-3.4.1.

6 years agoUpdate NEWS file for 3.4.1. nettle_3.4.1rc1
Niels Möller [Wed, 28 Nov 2018 21:42:56 +0000 (22:42 +0100)] 
Update NEWS file for 3.4.1.

Mention dependency on GMP-6, and RSA performance regression.

6 years agoUpdate configure check to require GMP-6.0.0 or later.
Niels Möller [Wed, 28 Nov 2018 21:33:47 +0000 (22:33 +0100)] 
Update configure check to require GMP-6.0.0 or later.

6 years agoRewrite pkcs1_decrypt as a wrapper around _pkcs1_sec_decrypt_variable.
Niels Möller [Wed, 28 Nov 2018 21:01:29 +0000 (22:01 +0100)] 
Rewrite pkcs1_decrypt as a wrapper around _pkcs1_sec_decrypt_variable.

* 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.

6 years agoAdd rsa-internal.h to distributed headers.
Niels Möller [Wed, 28 Nov 2018 20:54:15 +0000 (21:54 +0100)] 
Add rsa-internal.h to distributed headers.

Patch from Simo Sorce.

6 years agorsa-internal.h: Add include of rsa.h.
Niels Möller [Wed, 28 Nov 2018 20:52:30 +0000 (21:52 +0100)] 
rsa-internal.h: Add include of rsa.h.

6 years agoDescribe RSA improvements in NEWS.
Niels Möller [Tue, 27 Nov 2018 07:56:27 +0000 (08:56 +0100)] 
Describe RSA improvements in NEWS.

6 years agoRewrote _rsa_sec_compute_root, for clarity.
Niels Möller [Tue, 27 Nov 2018 07:21:02 +0000 (08:21 +0100)] 
Rewrote _rsa_sec_compute_root, for clarity.

Use new local helper functions, with their own itch functions.

6 years agorsa-compute-root-test: Fix qsize. Try more keys.
Niels Möller [Mon, 26 Nov 2018 06:32:28 +0000 (07:32 +0100)] 
rsa-compute-root-test: Fix qsize. Try more keys.

6 years agoUpdate mini-gmp version for _rsa_sec_compute_root_tr rename.
Niels Möller [Sun, 25 Nov 2018 20:57:59 +0000 (21:57 +0100)] 
Update mini-gmp version for _rsa_sec_compute_root_tr rename.

6 years agoRenamed rsa-sec-compute-root-test --> rsa-compute-root-test.
Niels Möller [Sun, 25 Nov 2018 19:29:07 +0000 (20:29 +0100)] 
Renamed rsa-sec-compute-root-test --> rsa-compute-root-test.

6 years agocnd_mpn_zero: Use a volatile-declared mask variable.
Niels Möller [Sun, 25 Nov 2018 19:10:13 +0000 (20:10 +0100)] 
cnd_mpn_zero: Use a volatile-declared mask variable.

6 years agoMove decl. of rsa_sec_compute_root_tr to internal header.
Niels Möller [Sun, 25 Nov 2018 18:46:30 +0000 (19:46 +0100)] 
Move decl. of rsa_sec_compute_root_tr to internal header.

Also renamed with leading underscore, and updated all callers.

6 years agoSwitch rsa_compute_root to use side-channel safe variant
Simo Sorce [Sun, 25 Nov 2018 18:23:38 +0000 (19:23 +0100)] 
Switch rsa_compute_root to use side-channel safe variant

6 years agoChangeLog for previous change.
Niels Möller [Sun, 25 Nov 2018 17:53:55 +0000 (18:53 +0100)] 
ChangeLog for previous change.

6 years agoRandomzed testing of rsa-sec-compute-root
Simo Sorce [Fri, 9 Nov 2018 22:32:04 +0000 (17:32 -0500)] 
Randomzed testing of rsa-sec-compute-root

Signed-off-by: Simo Sorce <simo@redhat.com>
6 years agotestutils.c: Fix high bits of the mpz_urandomb used with mini-gmp.
Niels Möller [Sun, 25 Nov 2018 16:11:39 +0000 (17:11 +0100)] 
testutils.c: Fix high bits of the mpz_urandomb used with mini-gmp.

6 years agoChangeLog for previous change.
Niels Möller [Sun, 25 Nov 2018 16:06:21 +0000 (17:06 +0100)] 
ChangeLog for previous change.

6 years agoCatch bad private keys early on.
Simo Sorce [Thu, 8 Nov 2018 16:27:05 +0000 (11:27 -0500)] 
Catch bad private keys early on.

6 years agoUse NETTLE_OCTET_SIZE_TO_LIMB_SIZE.
Niels Möller [Sun, 25 Nov 2018 15:58:38 +0000 (16:58 +0100)] 
Use NETTLE_OCTET_SIZE_TO_LIMB_SIZE.

6 years agoChangeLog for previous change.
Niels Möller [Sun, 25 Nov 2018 15:57:27 +0000 (16:57 +0100)] 
ChangeLog for previous change.

6 years agoUse side-channel silent pkcs1 in rsa_decrypt_tr
Simo Sorce [Mon, 12 Nov 2018 22:06:31 +0000 (17:06 -0500)] 
Use side-channel silent pkcs1 in rsa_decrypt_tr

Signed-off-by: Simo Sorce <simo@redhat.com>
6 years agoChangeLog entry, and minor comment fixes
Niels Möller [Sun, 25 Nov 2018 15:47:23 +0000 (16:47 +0100)] 
ChangeLog entry, and minor comment fixes

6 years agoAdd variable len pkcs1-sec decoding function
Simo Sorce [Mon, 12 Nov 2018 18:54:47 +0000 (13:54 -0500)] 
Add variable len pkcs1-sec decoding function

add a side-channel silent pkcs1 decoding function for use in older
APIs.

Signed-off-by: Simo Sorce <simo@redhat.com>
6 years agoTweak valgrind marking is rsa_sec_decrypt tests.
Niels Möller [Sun, 25 Nov 2018 15:23:06 +0000 (16:23 +0100)] 
Tweak valgrind marking is rsa_sec_decrypt tests.

* testsuite/rsa-sec-decrypt-test.c (rsa_decrypt_for_test): Tweak
valgrind marking, and document potential leakage of lowest and
highest bits of p and q.

6 years agoAvoid calls to mpz_sizeinbase on RSA private key.
Niels Möller [Sun, 25 Nov 2018 15:10:11 +0000 (16:10 +0100)] 
Avoid calls to mpz_sizeinbase on RSA private key.

* rsa-sec-compute-root.c (_rsa_sec_compute_root): Avoid calls to
mpz_sizeinbase, since that potentially leaks most significant bits
of private key parameters a and b.

6 years agoChangeLog for previous change.
Niels Möller [Sun, 25 Nov 2018 15:05:40 +0000 (16:05 +0100)] 
ChangeLog for previous change.

6 years agoUnit test for rsa_sec_decyrpt
Simo Sorce [Mon, 15 Oct 2018 20:01:52 +0000 (16:01 -0400)] 
Unit test for rsa_sec_decyrpt

Signed-off-by: Simo Sorce <simo@redhat.com>
6 years agoChangeLog for previous change.
Niels Möller [Sun, 25 Nov 2018 10:14:26 +0000 (11:14 +0100)] 
ChangeLog for previous change.

6 years agoAdd rsa_sec_decrypt as side-channel silent variant
Simo Sorce [Wed, 10 Oct 2018 20:15:49 +0000 (16:15 -0400)] 
Add rsa_sec_decrypt as side-channel silent variant

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>
6 years agopkcs1-sec-decrypt-test.c: Fix valgrind marking of return value.
Niels Möller [Sun, 25 Nov 2018 09:38:23 +0000 (10:38 +0100)] 
pkcs1-sec-decrypt-test.c: Fix valgrind marking of return value.

6 years agoChangeLog for previous change.
Niels Möller [Sun, 25 Nov 2018 09:37:22 +0000 (10:37 +0100)] 
ChangeLog for previous change.

6 years agoUnit test for pkcs1-sec-decrypt
Simo Sorce [Tue, 23 Oct 2018 22:14:30 +0000 (18:14 -0400)] 
Unit test for pkcs1-sec-decrypt

Signed-off-by: Simo Sorce <simo@redhat.com>
6 years agoChangeLog for previous change.
Niels Möller [Sun, 25 Nov 2018 09:29:02 +0000 (10:29 +0100)] 
ChangeLog for previous change.

6 years agoAdd mpn_get_base256
Simo Sorce [Mon, 12 Nov 2018 18:59:06 +0000 (13:59 -0500)] 
Add mpn_get_base256

Converts limbs to uint8_t buffer without conditional jumps.

Signed-off-by: Simo Sorce <simo@redhat.com>
6 years agoChangeLog for previous change.
Niels Möller [Sun, 25 Nov 2018 09:22:38 +0000 (10:22 +0100)] 
ChangeLog for previous change.

6 years agoAdd side-channel silent pkcs1 decoding function
Simo Sorce [Thu, 8 Nov 2018 19:38:12 +0000 (14:38 -0500)] 
Add side-channel silent pkcs1 decoding function

Signed-off-by: Simo Sorce <simo@redhat.com>
6 years agoChangeLog for previous change.
Niels Möller [Sat, 24 Nov 2018 10:44:01 +0000 (11:44 +0100)] 
ChangeLog for previous change.

6 years agoAdd a side-channel silent conditional memcpy
Simo Sorce [Mon, 15 Oct 2018 19:02:50 +0000 (15:02 -0400)] 
Add a side-channel silent conditional memcpy

Originally from Niels, with minor changes to avoid compiler warnings.

6 years agoChangeLog entries, minor comment and spacing fixes
Niels Möller [Sat, 24 Nov 2018 10:27:39 +0000 (11:27 +0100)] 
ChangeLog entries, minor comment and spacing fixes