mirror of
https://github.com/python/cpython.git
synced 2026-01-03 22:12:27 +00:00
bpo-37055: fix warnings in _blake2 module (GH-14646)
https://bugs.python.org/issue37055
Automerge-Triggered-By: @tiran
(cherry picked from commit b27cbec801)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
This commit is contained in:
parent
54449dacc4
commit
2bb4fc379b
3 changed files with 0 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue