]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
Fix signedness handling for EC signatures
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 9 Oct 2018 07:44:20 +0000 (08:44 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 11 Oct 2018 00:59:46 +0000 (17:59 -0700)
commit12aefa197bc4dc6afc07f1643306ffa35064e4e6
treed8b849e8aafc27e996859ddf32d264425ededec9
parente2ff15a0b313b2410ef894eff31d1cf1236133a5
Fix signedness handling for EC signatures

If R or S have the top bit set, we need to prepend a zero byte to prevent
them from being interpreted as negative.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
gnutls.h
gnutls_tpm2.c
gnutls_tpm2_esys.c