From bd23c862538abf858d6e85f1288a75dd149ad008 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sat, 15 Apr 2023 18:29:26 +0000 Subject: Move some defines out of the sha3_internal.h header. --- src/lib/libcrypto/sha/sha3_internal.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/lib/libcrypto/sha/sha3_internal.h') diff --git a/src/lib/libcrypto/sha/sha3_internal.h b/src/lib/libcrypto/sha/sha3_internal.h index 1ed4b02f7c..20144effd1 100644 --- a/src/lib/libcrypto/sha/sha3_internal.h +++ b/src/lib/libcrypto/sha/sha3_internal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sha3_internal.h,v 1.5 2023/04/15 18:22:53 jsing Exp $ */ +/* $OpenBSD: sha3_internal.h,v 1.6 2023/04/15 18:29:26 jsing Exp $ */ /* * The MIT License (MIT) * @@ -29,14 +29,6 @@ #ifndef HEADER_SHA3_INTERNAL_H #define HEADER_SHA3_INTERNAL_H -#ifndef KECCAKF_ROUNDS -#define KECCAKF_ROUNDS 24 -#endif - -#ifndef ROTL64 -#define ROTL64(x, y) (((x) << (y)) | ((x) >> (64 - (y)))) -#endif - typedef struct { union { uint8_t b[200]; /* State as 8 bit bytes. */ -- cgit v1.2.3-55-g6feb