ObjFW  Check-in [e629dc83a9]

Overview
Comment:OFSecureData: Add allowsSwappableMemory property

With this property, it's possible to specify whether the memory should
be protected from swapping or not. This makes it easier for e.g. the
crypto hash classes: They can now just always use OFSecureData without
wasting unswappable memory if it's not needed.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e629dc83a9aea147800ee650307233aaef6d50c5b6ccfd9b59dab8504f6ae075
User & Date: js on 2019-12-27 00:41:54
Other Links: manifest | tags
Context
2019-12-27
21:43
OFSecureData: Fix #ifdefs check-in: d5c4dedada user: js tags: trunk
00:41
OFSecureData: Add allowsSwappableMemory property check-in: e629dc83a9 user: js tags: trunk
2019-12-15
14:42
Make +[OFSecureData isSecure] per instance check-in: 60caadeb5d user: js tags: trunk
Changes

Modified src/OFCryptoHash.h from [b402221532] to [ef88b31b2d].    [diff]

Modified src/OFData+CryptoHashing.m from [0fcbff4bbf] to [8d65c7cb3f].    [diff]

Modified src/OFGZIPStream.m from [f365c42bc2] to [d38773fa18].    [diff]

Modified src/OFHMAC.h from [c85420d05a] to [5ff44e63ad].    [diff]

Modified src/OFHMAC.m from [c9ae48fd28] to [8b2647f9b8].    [diff]

Modified src/OFMD5Hash.h from [7bc2b1da3f] to [dd0468f75a].    [diff]

Modified src/OFMD5Hash.m from [fabee7cd05] to [cf3dfa1284].    [diff]

Modified src/OFRIPEMD160Hash.h from [8064412ceb] to [a2ac38baf0].    [diff]

Modified src/OFRIPEMD160Hash.m from [03939c1eca] to [0b670f115d].    [diff]

Modified src/OFSHA1Hash.h from [f45a134709] to [a51d9c4a1d].    [diff]

Modified src/OFSHA1Hash.m from [0aa83b56cc] to [3d6aedc638].    [diff]

Modified src/OFSHA224Or256Hash.h from [e39de03a34] to [b17aa63913].    [diff]

Modified src/OFSHA224Or256Hash.m from [01743762af] to [dbb6d31956].    [diff]

Modified src/OFSHA384Or512Hash.h from [10ea7023d1] to [e24eeb0338].    [diff]

Modified src/OFSHA384Or512Hash.m from [b218fc3078] to [aa0c17c5cb].    [diff]

Modified src/OFSecureData.h from [95d6612ecd] to [7ba2cee122].    [diff]

Modified src/OFSecureData.m from [0b2ff22574] to [800160da50].    [diff]

Modified src/OFString+CryptoHashing.m from [d7c7a2d4d1] to [2bc09b0ad0].    [diff]

Modified src/OFZIPArchive.m from [88d0400634] to [f3370d3321].    [diff]

Modified src/exceptions/OFNotImplementedException.h from [260f8e8c55] to [4e93960456].    [diff]

Modified src/exceptions/OFNotImplementedException.m from [cea8613a88] to [6f2dd90cb4].    [diff]

Modified src/pbkdf2.h from [81ac4cfe1f] to [5413ab5910].    [diff]

Modified src/pbkdf2.m from [8a2fd39e02] to [7efc688caa].    [diff]

Modified src/scrypt.h from [79a5b0015a] to [bc4d227940].    [diff]

Modified src/scrypt.m from [ec228bf0de] to [1e18b4aacd].    [diff]

Modified tests/OFHMACTests.m from [f9913e8e72] to [6c35317f46].    [diff]

Modified tests/OFMD5HashTests.m from [f4ae6e53d2] to [84a8c85775].    [diff]

Modified tests/OFRIPEMD160HashTests.m from [0fcea6bf49] to [b494544df7].    [diff]

Modified tests/OFSHA1HashTests.m from [24505cc96a] to [314899ff02].    [diff]

Modified tests/OFSHA224HashTests.m from [892f9e3b00] to [1766086b41].    [diff]

Modified tests/OFSHA256HashTests.m from [56e7b8b3e2] to [98498cfef0].    [diff]

Modified tests/OFSHA384HashTests.m from [2c7782d9c6] to [c095da4e9b].    [diff]

Modified tests/OFSHA512HashTests.m from [24ed9c7de8] to [cf1a33c46d].    [diff]

Modified tests/PBKDF2Tests.m from [390e84b82b] to [9121c312db].    [diff]

Modified tests/ScryptTests.m from [f9dfdefc9d] to [970ef4d90d].    [diff]

Modified utils/ofhash/OFHash.m from [95a4c46a8f] to [cb5b9de46c].    [diff]