Added long passwords support for sha256crypt $, SHA256 (Unix)

This commit is contained in:
jsteube
2017-07-05 13:43:14 +02:00
parent 7fec4f27d8
commit 819b53eb1d
4 changed files with 374 additions and 7 deletions

View File

@@ -520,10 +520,11 @@ typedef struct md5crypt_tmp
typedef struct sha256crypt_tmp
{
u32 alt_result[8];
// pure version
u32 p_bytes[4];
u32 s_bytes[4];
u32 alt_result[8];
u32 p_bytes[64];
u32 s_bytes[64];
} sha256crypt_tmp_t;