summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_gen.c
diff options
context:
space:
mode:
authorjsing <>2023-01-14 15:12:27 +0000
committerjsing <>2023-01-14 15:12:27 +0000
commitc7e19cbb75fe692cd817ae687a82be6f371af4a1 (patch)
treee211a5c0fe5d83d78611b596a5d897cf787f1646 /src/lib/libcrypto/dsa/dsa_gen.c
parent40c0a96eeacc963ea7c4a0e268250e2121c5e7dc (diff)
downloadopenbsd-c7e19cbb75fe692cd817ae687a82be6f371af4a1.tar.gz
openbsd-c7e19cbb75fe692cd817ae687a82be6f371af4a1.tar.bz2
openbsd-c7e19cbb75fe692cd817ae687a82be6f371af4a1.zip
Greatly simplify bn_expand_internal().
We have a function called recallocarray() - make use of it rather than handrolling a version of it. Also have bn_expand() call bn_wexpand(), which avoids some duplication. ok tb@
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_gen.c')
0 files changed, 0 insertions, 0 deletions