Update rres
This commit is contained in:
parent
3c5dec7f24
commit
f492eb5f2b
3 changed files with 32 additions and 21 deletions
|
@ -566,8 +566,8 @@ int UnpackResourceChunk(rresResourceChunk *chunk)
|
|||
.nb_lanes = 1 // Single-threaded
|
||||
};
|
||||
crypto_argon2_inputs inputs = {
|
||||
.pass = (const uint8_t *)rresGetCipherPassword(), // User password
|
||||
.pass_size = 16, // Password length
|
||||
.pass = (const uint8_t *)rresGetCipherPassword(), // User password
|
||||
.pass_size = strlen(rresGetCipherPassword()), // Password length
|
||||
.salt = salt, // Salt for the password
|
||||
.salt_size = 16
|
||||
};
|
||||
|
@ -641,8 +641,8 @@ int UnpackResourceChunk(rresResourceChunk *chunk)
|
|||
.nb_lanes = 1 // Single-threaded
|
||||
};
|
||||
crypto_argon2_inputs inputs = {
|
||||
.pass = (const uint8_t *)rresGetCipherPassword(), // User password
|
||||
.pass_size = 16, // Password length
|
||||
.pass = (const uint8_t *)rresGetCipherPassword(), // User password
|
||||
.pass_size = strlen(rresGetCipherPassword()), // Password length
|
||||
.salt = salt, // Salt for the password
|
||||
.salt_size = 16
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue