summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/getenv.c
diff options
context:
space:
mode:
authorjsing <>2023-02-17 05:13:34 +0000
committerjsing <>2023-02-17 05:13:34 +0000
commite251eb23d4d05166e78527447e36f14b8598ca5f (patch)
treeb83e94b45b8911aac35bd66431cc5c5c9cd89015 /src/lib/libc/stdlib/getenv.c
parent02f91f3325f965a313f0cffe5053a084d05a84ea (diff)
downloadopenbsd-e251eb23d4d05166e78527447e36f14b8598ca5f.tar.gz
openbsd-e251eb23d4d05166e78527447e36f14b8598ca5f.tar.bz2
openbsd-e251eb23d4d05166e78527447e36f14b8598ca5f.zip
Reimplement bn_sqr_comba{4,8}().
Use bignum primitives rather than the current mess of macros.The sqr_add_c macro gets replaced with bn_mulw_addtw(), while the sqr_add_c2 macro gets replaced with bn_mul2_mulw_addtw(). The variables in the comba functions have also been reordered, so that the patterns are easier to understand - the compiler can take care of optimising the inputs and outputs to avoid register moves. ok tb@
Diffstat (limited to 'src/lib/libc/stdlib/getenv.c')
0 files changed, 0 insertions, 0 deletions