argon2_pick_best_implementation() can be static
This commit is contained in:
parent
95cf2e5da1
commit
53e20300e9
@ -518,7 +518,7 @@ argon2_initialize(argon2_instance_t *instance, argon2_context *context)
|
|||||||
return ARGON2_OK;
|
return ARGON2_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
static int
|
||||||
argon2_pick_best_implementation(void)
|
argon2_pick_best_implementation(void)
|
||||||
{
|
{
|
||||||
/* LCOV_EXCL_START */
|
/* LCOV_EXCL_START */
|
||||||
|
@ -251,7 +251,6 @@ void argon2_finalize(const argon2_context *context,
|
|||||||
*/
|
*/
|
||||||
typedef void (*fill_segment_fn)(const argon2_instance_t *instance,
|
typedef void (*fill_segment_fn)(const argon2_instance_t *instance,
|
||||||
argon2_position_t position);
|
argon2_position_t position);
|
||||||
int argon2_pick_best_implementation(void);
|
|
||||||
void argon2_fill_segment_avx512f(const argon2_instance_t *instance,
|
void argon2_fill_segment_avx512f(const argon2_instance_t *instance,
|
||||||
argon2_position_t position);
|
argon2_position_t position);
|
||||||
void argon2_fill_segment_avx2(const argon2_instance_t *instance,
|
void argon2_fill_segment_avx2(const argon2_instance_t *instance,
|
||||||
|
Loading…
Reference in New Issue
Block a user