From db4f89ec3e4b2cb7e1530200aa79a15a53e7faef Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Sat, 1 Jun 2024 18:35:55 +0300 Subject: [PATCH] Separate keccak for flex --- src/crypto/flex/flex_keccak.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/crypto/flex/flex_keccak.h b/src/crypto/flex/flex_keccak.h index 95235382..d6fa4083 100644 --- a/src/crypto/flex/flex_keccak.h +++ b/src/crypto/flex/flex_keccak.h @@ -87,27 +87,27 @@ typedef struct { sph_u32 narrow[50]; } u; #endif -} flex_keccak_context; +} sph_keccak_context; /** * Type for a Keccak-224 context (identical to the common context). */ -typedef flex_keccak_context flex_keccak224_context; +typedef flex_keccak_context sph_keccak224_context; /** * Type for a Keccak-256 context (identical to the common context). */ -typedef flex_keccak_context flex_keccak256_context; +typedef flex_keccak_context sph_keccak256_context; /** * Type for a Keccak-384 context (identical to the common context). */ -typedef flex_keccak_context flex_keccak384_context; +typedef flex_keccak_context sph_keccak384_context; /** * Type for a Keccak-512 context (identical to the common context). */ -typedef flex_keccak_context flex_keccak512_context; +typedef flex_keccak_context sph_keccak512_context; /** * Initialize a Keccak-224 context. This process performs no memory allocation.