diff options
author | tb <> | 2018-06-15 19:24:13 +0000 |
---|---|---|
committer | tb <> | 2018-06-15 19:24:13 +0000 |
commit | a3ae248d6e35515f29a8a97a956d678a5cf9bb30 (patch) | |
tree | 9ca0ee6a1212018a6da9597acbb46e91aee4e22c /src/lib/libc | |
parent | 2c25c4b4c61884af3b090e7db459cc826945c359 (diff) | |
download | openbsd-a3ae248d6e35515f29a8a97a956d678a5cf9bb30.tar.gz openbsd-a3ae248d6e35515f29a8a97a956d678a5cf9bb30.tar.bz2 openbsd-a3ae248d6e35515f29a8a97a956d678a5cf9bb30.zip |
Basic cleanup. Handle the possibly NULL ctx_in in ecdsa_sign_setup() with
the usual idiom. All the allocations are now handled inside conditionals as
is usually done in this part of the tree. Turn a few comments into actual
sentences and remove a few self-evident ones. Change outdated or cryptic
comments into more helpful annotations. In ecdsa_do_verify(), start
calculating only after properly truncating the message digest. More
consistent variable names: prefer 'order_bits' and 'point' over 'i' and
'tmp_point'.
ok jsing
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions