diff --git a/Modules/_blake2/impl/blake2.h b/Modules/_blake2/impl/blake2.h index 5ca17f61074..a08d82efefe 100644 --- a/Modules/_blake2/impl/blake2.h +++ b/Modules/_blake2/impl/blake2.h @@ -169,11 +169,6 @@ extern "C" { BLAKE2_API int blake2sp( uint8_t *out, const void *in, const void *key, size_t outlen, size_t inlen, size_t keylen ); BLAKE2_API int blake2bp( uint8_t *out, const void *in, const void *key, size_t outlen, size_t inlen, size_t keylen ); - static inline int blake2( uint8_t *out, const void *in, const void *key, size_t outlen, size_t inlen, size_t keylen ) - { - return blake2b( out, in, key, outlen, inlen, keylen ); - } - #if defined(__cplusplus) } #endif diff --git a/Modules/_blake2/impl/blake2b.c b/Modules/_blake2/impl/blake2b.c index ca150462235..3d3e46506f2 100644 --- a/Modules/_blake2/impl/blake2b.c +++ b/Modules/_blake2/impl/blake2b.c @@ -189,13 +189,6 @@ static inline int blake2b_init0( blake2b_state *S ) -#define blake2b_init BLAKE2_IMPL_NAME(blake2b_init) -#define blake2b_init_param BLAKE2_IMPL_NAME(blake2b_init_param) -#define blake2b_init_key BLAKE2_IMPL_NAME(blake2b_init_key) -#define blake2b_update BLAKE2_IMPL_NAME(blake2b_update) -#define blake2b_final BLAKE2_IMPL_NAME(blake2b_final) -#define blake2b BLAKE2_IMPL_NAME(blake2b) - #if defined(__cplusplus) extern "C" { #endif diff --git a/Modules/_blake2/impl/blake2s.c b/Modules/_blake2/impl/blake2s.c index 0c3636ef6fc..3a04328ab8a 100644 --- a/Modules/_blake2/impl/blake2s.c +++ b/Modules/_blake2/impl/blake2s.c @@ -175,13 +175,6 @@ static inline int blake2s_init0( blake2s_state *S ) return 0; } -#define blake2s_init BLAKE2_IMPL_NAME(blake2s_init) -#define blake2s_init_param BLAKE2_IMPL_NAME(blake2s_init_param) -#define blake2s_init_key BLAKE2_IMPL_NAME(blake2s_init_key) -#define blake2s_update BLAKE2_IMPL_NAME(blake2s_update) -#define blake2s_final BLAKE2_IMPL_NAME(blake2s_final) -#define blake2s BLAKE2_IMPL_NAME(blake2s) - #if defined(__cplusplus) extern "C" { #endif