summaryrefslogtreecommitdiff
path: root/sys/ntfs/ntfs_ihash.h
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2023-02-17 05:13:35 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2023-02-17 05:13:35 +0000
commit1b9c77be95f844b8201a1851eeb3f9f3209c1c55 (patch)
tree47c3b26c009469a5407aa051462554f810f6d0aa /sys/ntfs/ntfs_ihash.h
parent99b2438fd3a62108daa02ad1a489aed8e973447e (diff)
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 'sys/ntfs/ntfs_ihash.h')
0 files changed, 0 insertions, 0 deletions