summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ppccap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ppccap.c')
-rw-r--r--src/lib/libcrypto/ppccap.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/lib/libcrypto/ppccap.c b/src/lib/libcrypto/ppccap.c
deleted file mode 100644
index 8c4565f57c..0000000000
--- a/src/lib/libcrypto/ppccap.c
+++ /dev/null
@@ -1,20 +0,0 @@
1/* $OpenBSD: ppccap.c,v 1.7 2023/01/17 15:04:27 miod Exp $ */
2
3#include <sys/types.h>
4#include <sys/sysctl.h>
5#include <machine/cpu.h>
6#include <unistd.h>
7
8#include <crypto.h>
9#include <openssl/bn.h>
10
11#ifdef OPENSSL_BN_ASM_MONT
12extern int bn_mul_mont_int(BN_ULONG *, const BN_ULONG *, const BN_ULONG *,
13 const BN_ULONG *, const BN_ULONG *, int);
14int
15bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
16 const BN_ULONG *np, const BN_ULONG *n0, int num)
17{
18 return bn_mul_mont_int(rp, ap, bp, np, n0, num);
19}
20#endif