summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/crypto_internal.h
diff options
context:
space:
mode:
authorjsing <>2024-08-11 13:02:39 +0000
committerjsing <>2024-08-11 13:02:39 +0000
commit5dcef2b3ea9eb7ace8ed74c27534785fc0b87130 (patch)
tree8b15d049ee9ab57d9d0970062ec6f18bd01c002c /src/lib/libcrypto/crypto_internal.h
parent00708c9d312880823361e1bd53af1d7aa9f14fda (diff)
downloadopenbsd-5dcef2b3ea9eb7ace8ed74c27534785fc0b87130.tar.gz
openbsd-5dcef2b3ea9eb7ace8ed74c27534785fc0b87130.tar.bz2
openbsd-5dcef2b3ea9eb7ace8ed74c27534785fc0b87130.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/crypto_internal.h')
-rw-r--r--src/lib/libcrypto/crypto_internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/crypto_internal.h b/src/lib/libcrypto/crypto_internal.h
index 8229db2d68..7676076f67 100644
--- a/src/lib/libcrypto/crypto_internal.h
+++ b/src/lib/libcrypto/crypto_internal.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: crypto_internal.h,v 1.10 2024/04/17 14:43:37 jsing Exp $ */ 1/* $OpenBSD: crypto_internal.h,v 1.11 2024/08/11 13:02:39 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2023 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2023 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -20,6 +20,8 @@
20#include <stdint.h> 20#include <stdint.h>
21#include <string.h> 21#include <string.h>
22 22
23#include "crypto_arch.h"
24
23#ifndef HEADER_CRYPTO_INTERNAL_H 25#ifndef HEADER_CRYPTO_INTERNAL_H
24#define HEADER_CRYPTO_INTERNAL_H 26#define HEADER_CRYPTO_INTERNAL_H
25 27