diff options
author | jsing <> | 2024-08-11 13:02:39 +0000 |
---|---|---|
committer | jsing <> | 2024-08-11 13:02:39 +0000 |
commit | b0dd926baf4bcb43c9b178d7c252489f4434c5a8 (patch) | |
tree | 8b15d049ee9ab57d9d0970062ec6f18bd01c002c /src/lib/libcrypto/arch/sh | |
parent | 04ef9499c2bc221c90eb7bd81841524c46ffde33 (diff) | |
download | openbsd-b0dd926baf4bcb43c9b178d7c252489f4434c5a8.tar.gz openbsd-b0dd926baf4bcb43c9b178d7c252489f4434c5a8.tar.bz2 openbsd-b0dd926baf4bcb43c9b178d7c252489f4434c5a8.zip |
Provide and use crypto_arch.h.
Provide a per architecture crypto_arch.h - this will be used in a similar
manner to bn_arch.h and will allow for architecture specific #defines and
static inline functions. Move the HAVE_AES_* and HAVE_RC4_* defines here.
ok tb@
Diffstat (limited to 'src/lib/libcrypto/arch/sh')
-rw-r--r-- | src/lib/libcrypto/arch/sh/crypto_arch.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/lib/libcrypto/arch/sh/crypto_arch.h b/src/lib/libcrypto/arch/sh/crypto_arch.h new file mode 100644 index 0000000000..a3dd98d0ce --- /dev/null +++ b/src/lib/libcrypto/arch/sh/crypto_arch.h | |||
@@ -0,0 +1,21 @@ | |||
1 | /* $OpenBSD: crypto_arch.h,v 1.1 2024/08/11 13:02:39 jsing Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2024 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_CRYPTO_ARCH_H | ||
19 | #define HEADER_CRYPTO_ARCH_H | ||
20 | |||
21 | #endif | ||