move mbedtls_sha3_family_functions out of public interface
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
diff --git a/include/mbedtls/sha3.h b/include/mbedtls/sha3.h
index 1fbcc7a..8eb0268 100644
--- a/include/mbedtls/sha3.h
+++ b/include/mbedtls/sha3.h
@@ -55,13 +55,6 @@
} mbedtls_sha3_id;
struct mbedtls_sha3_context;
-typedef struct mbedtls_sha3_family_functions {
- mbedtls_sha3_id id;
-
- uint16_t r;
- uint16_t olen;
-}
-mbedtls_sha3_family_functions;
/**
* \brief The SHA-3 context structure.
diff --git a/library/sha3.c b/library/sha3.c
index b8abf9d..c5ce1c6 100644
--- a/library/sha3.c
+++ b/library/sha3.c
@@ -38,6 +38,14 @@
#define XOR_BYTE 0x6
+typedef struct mbedtls_sha3_family_functions {
+ mbedtls_sha3_id id;
+
+ uint16_t r;
+ uint16_t olen;
+}
+mbedtls_sha3_family_functions;
+
/*
* List of supported SHA-3 families
*/