diff options
author | tb <> | 2025-02-04 12:47:58 +0000 |
---|---|---|
committer | tb <> | 2025-02-04 12:47:58 +0000 |
commit | b732166c5143f7ab1b657c8c0581ad8e8449ce84 (patch) | |
tree | d33ee17c950899cea94f810f605dd3ce55ee8f7b /src/lib/libcrypto/dsa/dsa_gen.c | |
parent | 09bef15f6dde7dfa51b7c2b40bd8dc186f44edf8 (diff) | |
download | openbsd-b732166c5143f7ab1b657c8c0581ad8e8449ce84.tar.gz openbsd-b732166c5143f7ab1b657c8c0581ad8e8449ce84.tar.bz2 openbsd-b732166c5143f7ab1b657c8c0581ad8e8449ce84.zip |
Inline BN_reciprocal() in its only caller
This is simpler, doesn't need an auxiliary function of dubious value,
avouds an auxiliary variable and gets rid of a bunch of comments that
are hard to make sense of.
This doesn't bother to invalidate recp->shift since on error you should
not be reusing the RECP_CTX without reinitializing it.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_gen.c')
0 files changed, 0 insertions, 0 deletions