move mbedtls_sha3_family_functions out of public interface
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
e627bef2f8
commit
9d7fa93e6c
2 changed files with 8 additions and 7 deletions
|
@ -55,13 +55,6 @@ typedef enum {
|
||||||
} mbedtls_sha3_id;
|
} mbedtls_sha3_id;
|
||||||
|
|
||||||
struct mbedtls_sha3_context;
|
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.
|
* \brief The SHA-3 context structure.
|
||||||
|
|
|
@ -38,6 +38,14 @@
|
||||||
|
|
||||||
#define XOR_BYTE 0x6
|
#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
|
* List of supported SHA-3 families
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue