diff options
author | Björn Esser <besser82@fedoraproject.org> | 2018-09-10 11:44:22 +0200 |
---|---|---|
committer | Björn Esser <besser82@fedoraproject.org> | 2018-10-28 14:58:40 +0100 |
commit | ed83a5a61ed0cb224133cea5da4c231929771b9d (patch) | |
tree | 24849807f4b4180f5de723e7cfb532c2029c43f0 /test-crypt-badargs.c | |
parent | d458e2acb4bf460f44b3d05e1bc985e4c3e76462 (diff) | |
download | libxcrypt-ed83a5a61ed0cb224133cea5da4c231929771b9d.tar.gz libxcrypt-ed83a5a61ed0cb224133cea5da4c231929771b9d.tar.bz2 libxcrypt-ed83a5a61ed0cb224133cea5da4c231929771b9d.zip |
Add gost-yescrypt backend and tests.
gost-yescrypt uses the output from the yescrypt hashing method in
place of a hmac message. Thus, the yescrypt crypto properties
are superseeded by the GOST R 34.11-2012 (Streebog) hash function
with a 256 bit digest.
This hashing method is useful in applications that need modern
password hashing methods, but require to rely on the cryptographic
properties of GOST algorithms.
The GOST R 34.11-2012 (Streebog) hash function was developed by
the Center for Information Protection and Special Communications
of the Federal Security Service of the Russian Federation with
participation of the Open joint-stock company "Information
Technologies and Communication Systems" (InfoTeCS JSC) and has
been published by the IETF as RFC 6986.
See: https://tools.ietf.org/html/rfc6986
Diffstat (limited to 'test-crypt-badargs.c')
-rw-r--r-- | test-crypt-badargs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test-crypt-badargs.c b/test-crypt-badargs.c index ebcf80a..c9cd813 100644 --- a/test-crypt-badargs.c +++ b/test-crypt-badargs.c @@ -68,6 +68,9 @@ static const char *settings[] = #if INCLUDE_scrypt "$7$CU..../....MJHnaAkegEVYHsFKkmfzJ1", #endif +#if INCLUDE_gost_yescrypt + "$gy$j9T$MJHnaAkegEVYHsFKkmfzJ1", +#endif }; /* In some of the tests below, a segmentation fault is the expected result. */ |