blob: 8783a4affdae5ef17dcfafba3aff1270a20afa2a (
plain) (
tree)
|
|
/* See LICENSE file for copyright and license details. */
#include "common.h"
const char *
libar2_version_to_string(enum libar2_argon2_version version)
{
if (version == LIBAR2_ARGON2_VERSION_10) {
return "10";
} else if (version == LIBAR2_ARGON2_VERSION_13) {
return "13";
} else {
errno = EINVAL;
return NULL;
}
}
|