diff options
author | jsing <> | 2023-01-23 12:02:48 +0000 |
---|---|---|
committer | jsing <> | 2023-01-23 12:02:48 +0000 |
commit | 6dbbeae919d7043dba81294c451f76a1681ab6cc (patch) | |
tree | 5c250f63295ba2e0c2373c504078d52d1cc13168 /src/lib/libcrypto/bn/arch/mips64 | |
parent | 631518c7132431ce11fa00d910a76a3914686d30 (diff) | |
download | openbsd-6dbbeae919d7043dba81294c451f76a1681ab6cc.tar.gz openbsd-6dbbeae919d7043dba81294c451f76a1681ab6cc.tar.bz2 openbsd-6dbbeae919d7043dba81294c451f76a1681ab6cc.zip |
Move bn_div_words from bn_asm.c to bn_div.c.
This is wrapped with #ifndef HAVE_BN_DIV_WORDS, which are defined for
architectures that provide their own assembly versions.
Diffstat (limited to 'src/lib/libcrypto/bn/arch/mips64')
-rw-r--r-- | src/lib/libcrypto/bn/arch/mips64/bn_arch.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bn/arch/mips64/bn_arch.h b/src/lib/libcrypto/bn/arch/mips64/bn_arch.h index e22d882970..f53c75472c 100644 --- a/src/lib/libcrypto/bn/arch/mips64/bn_arch.h +++ b/src/lib/libcrypto/bn/arch/mips64/bn_arch.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bn_arch.h,v 1.4 2023/01/23 10:31:03 jsing Exp $ */ | 1 | /* $OpenBSD: bn_arch.h,v 1.5 2023/01/23 12:02:48 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2023 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2023 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -22,6 +22,7 @@ | |||
22 | 22 | ||
23 | #define HAVE_BN_ADD_WORDS | 23 | #define HAVE_BN_ADD_WORDS |
24 | 24 | ||
25 | #define HAVE_BN_DIV_WORDS | ||
25 | #define HAVE_BN_DIV_3_WORDS | 26 | #define HAVE_BN_DIV_3_WORDS |
26 | 27 | ||
27 | #define HAVE_BN_MUL_COMBA4 | 28 | #define HAVE_BN_MUL_COMBA4 |