summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authortb <>2025-01-21 15:44:22 +0000
committertb <>2025-01-21 15:44:22 +0000
commit797cf6b23360385bf34a89fce562aa5cb0a0e978 (patch)
tree0553e257e45ee4491e27d615f802c6508976e5c4 /src/lib/libc
parentd2ee6a6329cb6b037f3949082396fa72b53b5ee8 (diff)
downloadopenbsd-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')
0 files changed, 0 insertions, 0 deletions