summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/bn/bn_mod_sqrt.c
diff options
context:
space:
mode:
authortb <>2023-04-03 21:43:43 +0000
committertb <>2023-04-03 21:43:43 +0000
commit4a09fb09af6652f38afe21ea7ba4d260f701b5de (patch)
treed6478a22652fd20d6b5e8107bfdd36e294f762f5 /src/regress/lib/libcrypto/bn/bn_mod_sqrt.c
parent5a989991770c9827a2928cd8122331b39988e54b (diff)
downloadopenbsd-4a09fb09af6652f38afe21ea7ba4d260f701b5de.tar.gz
openbsd-4a09fb09af6652f38afe21ea7ba4d260f701b5de.tar.bz2
openbsd-4a09fb09af6652f38afe21ea7ba4d260f701b5de.zip
Compress euclid() a little
This function is spread out over way too many lines and has too much repetition. Once this is made a little more compact, it becomes clearer that this is a somewhat obfuscated version of binary gcd (it is not constant time therefore cryptographically unsound. It is not used internally). This will likely go away later. ok jsing
Diffstat (limited to 'src/regress/lib/libcrypto/bn/bn_mod_sqrt.c')
0 files changed, 0 insertions, 0 deletions