]> git.ipfire.org Git - thirdparty/nettle.git/commit
Delete valgrind magic in pss-test.
authorNiels Möller <nisse@lysator.liu.se>
Sun, 9 Apr 2017 10:23:59 +0000 (12:23 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Sun, 9 Apr 2017 10:23:59 +0000 (12:23 +0200)
commit870ede284c573fac70d8598a7bbaffcae78ad398
tree030205d1f796c4c7ce119818fa4f41823ddf6eba
parent09f275f63b48c6e8b623aac11fd15ce70d9a6f30
Delete valgrind magic in pss-test.

* testsuite/pss-test.c: Delete magic to let valgrind to check if
pss_encode_mgf1 is side-channel silent with respect to the salt
and digest inputs. It turns out that the most significant bits of
the padded bignum, and hence its size, depends on these inputs.
Which results in a data-dependent branch in the normalization code
of at the end of gmp's mpz_import.
ChangeLog
testsuite/pss-test.c