Dynamic tmp_t length for scrypt

This commit is contained in:
jsteube
2016-06-27 21:28:48 +02:00
parent 37bf9d65b0
commit 4ed8977e48
4 changed files with 44 additions and 38 deletions
+3 -8
View File
@@ -32,8 +32,6 @@ typedef struct
uint scrypt_N;
uint scrypt_r;
uint scrypt_p;
uint scrypt_tmto;
uint scrypt_phy;
} salt_t;
@@ -295,12 +293,6 @@ typedef struct
} win8phone_t;
typedef struct
{
uint P[256];
} scrypt_tmp_t;
typedef struct
{
uint digest[4];
@@ -1210,6 +1202,9 @@ typedef struct
void *esalts_buf;
uint scrypt_tmp_size;
uint scrypt_tmto_final;
/**
* logging
*/