summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rc4/rc4.c
diff options
context:
space:
mode:
authorjsing <>2024-08-11 13:02:39 +0000
committerjsing <>2024-08-11 13:02:39 +0000
commitb0dd926baf4bcb43c9b178d7c252489f4434c5a8 (patch)
tree8b15d049ee9ab57d9d0970062ec6f18bd01c002c /src/lib/libcrypto/rc4/rc4.c
parent04ef9499c2bc221c90eb7bd81841524c46ffde33 (diff)
downloadopenbsd-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/rc4/rc4.c')
-rw-r--r--src/lib/libcrypto/rc4/rc4.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rc4/rc4.c b/src/lib/libcrypto/rc4/rc4.c
index 203fee4996..930d0d9bb3 100644
--- a/src/lib/libcrypto/rc4/rc4.c
+++ b/src/lib/libcrypto/rc4/rc4.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: rc4.c,v 1.11 2024/03/28 12:11:26 jsing Exp $ */ 1/* $OpenBSD: rc4.c,v 1.12 2024/08/11 13:02:39 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -60,6 +60,8 @@
60 60
61#include <openssl/rc4.h> 61#include <openssl/rc4.h>
62 62
63#include "crypto_arch.h"
64
63/* RC4 as implemented from a posting from 65/* RC4 as implemented from a posting from
64 * Newsgroups: sci.crypt 66 * Newsgroups: sci.crypt
65 * From: sterndark@netcom.com (David Sterndark) 67 * From: sterndark@netcom.com (David Sterndark)