summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2012-06-04 09:14:30 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2012-06-04 09:14:30 +0000
commit21b840ac961a36637ce261f3eb5bdd979ae968dd (patch)
treea8aaffb7a78745a432e4e37399dcb7755cc987c6 /lib
parent6ab5b2599936838084073e9a3cf986447b12f995 (diff)
Rounding up a number of bytes in a bignum returned by the BN_num_bytes()
has implications when dealing with leading zeroes. Prevent an incorrect conversion of the EC point to the binary representation by inferring the X and Y components' lengths from the EC group length and zeroing out the appropriate chunks of the target buffer. From hshoexer@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions