diff options
author | tb <> | 2025-01-21 15:44:22 +0000 |
---|---|---|
committer | tb <> | 2025-01-21 15:44:22 +0000 |
commit | 797cf6b23360385bf34a89fce562aa5cb0a0e978 (patch) | |
tree | 0553e257e45ee4491e27d615f802c6508976e5c4 /src/lib/libc/net | |
parent | d2ee6a6329cb6b037f3949082396fa72b53b5ee8 (diff) | |
download | openbsd-797cf6b23360385bf34a89fce562aa5cb0a0e978.tar.gz openbsd-797cf6b23360385bf34a89fce562aa5cb0a0e978.tar.bz2 openbsd-797cf6b23360385bf34a89fce562aa5cb0a0e978.zip |
Move BN_RECP_CTX to the heap
This introduces a BN_RECP_CTX_create() function that allocates and
populates the BN_RECP_CTX in a single call, without taking an unused
BN_CTX argument.
At the same time, make the N and Nr members BIGNUMs on the heap which
are allocated by BN_RECP_CTX_create() and freed by BN_RECP_CTX_free()
and remove the unnecessary flags argument.
Garbage collect the now unused BN_RECP_CTX_{new,init,set}().
ok jsing
Diffstat (limited to 'src/lib/libc/net')
0 files changed, 0 insertions, 0 deletions