Differences From Artifact [3c0f69dc95]:
- File
LegacyPasswordGenerator.m
— part of check-in
[007bd9985e]
at
2021-03-21 11:03:01
on branch trunk
— Allow swappable memory
Most OSes and/or ulimits do not allow allocating such large amounts of
unswappable memory. (user: js, size: 3721) [annotate] [blame] [check-ins using]
To Artifact [2242defb21]:
- File LegacyPasswordGenerator.m — part of check-in [aec6746a96] at 2021-04-28 21:51:03 on branch trunk — Adjust to ObjFW changes (user: js, size: 3710) [annotate] [blame] [check-ins using]
︙ | |||
52 53 54 55 56 57 58 | 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | - + | { return _length; } - (void)derivePassword { OFSHA256Hash *siteHash = [OFSHA256Hash |
︙ | |||
85 86 87 88 89 90 91 | 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | - + | memcpy(combinedPassphraseItems, _passphrase.items, passphraseLength); if (_keyFile != nil) memcpy(combinedPassphraseItems + passphraseLength, _keyFile.items, _keyFile.count); outputItems = _output.mutableItems; |
︙ |