]> git.tuebingen.mpg.de Git - paraslash.git/commit
gcrypt: Let read_bignum() return bits, not bytes.
authorAndre Noll <maan@tuebingen.mpg.de>
Tue, 28 Aug 2018 18:18:02 +0000 (20:18 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Tue, 25 Dec 2018 16:45:24 +0000 (17:45 +0100)
commit71386e2530fa351d22f942ce3cf9d18eee99ce78
tree2020136c87662a1f16db9146a02e23a771893cc0
parent686310d4b954efec5d5dcc8b4a143c294bb02739
gcrypt: Let read_bignum() return bits, not bytes.

Callers need this to check if the size of the public key is acceptable.
Since sizes of cryptographic keys are generally measured in bits,
its natural to return bits here.
gcrypt.c