Adjust to ObjFW changes

FossilOrigin-Name: aec6746a96f92e9bed68663cf775bf229bcdb3930f4a689b3b8b68c27fe29868
This commit is contained in:
Jonathan Schleifer 2021-04-28 21:51:03 +00:00
parent 6df046ff50
commit 3bb17150aa
3 changed files with 19 additions and 22 deletions

View file

@ -56,7 +56,7 @@
- (void)derivePassword
{
OFSHA256Hash *siteHash = [OFSHA256Hash
cryptoHashWithAllowsSwappableMemory: true];
hashWithAllowsSwappableMemory: true];
size_t passphraseLength, combinedPassphraseLength;
OFSecureData *combinedPassphrase;
char *combinedPassphraseItems;
@ -89,7 +89,7 @@
_keyFile.items, _keyFile.count);
outputItems = _output.mutableItems;
of_scrypt((of_scrypt_parameters_t){
OFScrypt((OFScryptParameters){
.blockSize = 8,
.costFactor = 524288,
.parallelization = 2,