summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn/arch
diff options
context:
space:
mode:
authorjsing <>2023-01-31 05:09:34 +0000
committerjsing <>2023-01-31 05:09:34 +0000
commit813266ead2a42465155e4af3e2daa71bcc88d54d (patch)
tree8ecb6cfbdbd69458abc61691542384fd28d00321 /src/lib/libcrypto/bn/arch
parentb4af1cd6cdfa19b7d9906bf466262865305059c6 (diff)
downloadopenbsd-813266ead2a42465155e4af3e2daa71bcc88d54d.tar.gz
openbsd-813266ead2a42465155e4af3e2daa71bcc88d54d.tar.bz2
openbsd-813266ead2a42465155e4af3e2daa71bcc88d54d.zip
Remove sparc related files from libcrypto.
The sparc platform got retired a while back, however some parts remained hiding in libcrypto. Mop these up (along with the bn_arch.h that I introduced). Spotted by and ok tb@
Diffstat (limited to 'src/lib/libcrypto/bn/arch')
-rw-r--r--src/lib/libcrypto/bn/arch/sparc/bn_arch.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/lib/libcrypto/bn/arch/sparc/bn_arch.h b/src/lib/libcrypto/bn/arch/sparc/bn_arch.h
deleted file mode 100644
index 46e932a2d5..0000000000
--- a/src/lib/libcrypto/bn/arch/sparc/bn_arch.h
+++ /dev/null
@@ -1,39 +0,0 @@
1/* $OpenBSD: bn_arch.h,v 1.6 2023/01/23 12:17:58 jsing Exp $ */
2/*
3 * Copyright (c) 2023 Joel Sing <jsing@openbsd.org>
4 *
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 */
17
18#ifndef HEADER_BN_ARCH_H
19#define HEADER_BN_ARCH_H
20
21#ifndef OPENSSL_NO_ASM
22
23#define HAVE_BN_ADD_WORDS
24
25#define HAVE_BN_DIV_WORDS
26
27#define HAVE_BN_MUL_ADD_WORDS
28#define HAVE_BN_MUL_COMBA4
29#define HAVE_BN_MUL_COMBA8
30#define HAVE_BN_MUL_WORDS
31
32#define HAVE_BN_SQR_COMBA4
33#define HAVE_BN_SQR_COMBA8
34#define HAVE_BN_SQR_WORDS
35
36#define HAVE_BN_SUB_WORDS
37
38#endif
39#endif