Dynamic tmp_t length for scrypt
This commit is contained in:
+3
-8
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user