Adjust to ObjFW changes
FossilOrigin-Name: aec6746a96f92e9bed68663cf775bf229bcdb3930f4a689b3b8b68c27fe29868
This commit is contained in:
parent
6df046ff50
commit
3bb17150aa
3 changed files with 19 additions and 22 deletions
|
@ -43,7 +43,7 @@
|
|||
- (void)derivePassword
|
||||
{
|
||||
OFSHA384Hash *siteHash = [OFSHA384Hash
|
||||
cryptoHashWithAllowsSwappableMemory: true];
|
||||
hashWithAllowsSwappableMemory: true];
|
||||
size_t passphraseLength, combinedPassphraseLength;
|
||||
OFSecureData *combinedPassphrase;
|
||||
char *combinedPassphraseItems;
|
||||
|
@ -76,7 +76,7 @@
|
|||
_keyFile.items, _keyFile.count);
|
||||
|
||||
outputItems = _output.mutableItems;
|
||||
of_scrypt((of_scrypt_parameters_t){
|
||||
OFScrypt((OFScryptParameters){
|
||||
.blockSize = 8,
|
||||
.costFactor = 524288,
|
||||
.parallelization = 2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue