Overview
Comment: | Implement PBKDF2 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
49d1987eaf45a854c670e6fa4326b4e5 |
User & Date: | js on 2016-07-25 22:30:49 |
Other Links: | manifest | tags |
Context
2016-07-25
| ||
22:51 | Add missing files to Xcode project check-in: a5c7babba2 user: js tags: trunk | |
22:30 | Implement PBKDF2 check-in: 49d1987eaf user: js tags: trunk | |
2016-07-24
| ||
20:51 | OFHMAC: Allow resetting while keeping the key check-in: c55c5dff51 user: js tags: trunk | |
Changes
Modified src/Makefile from [40b697516a] to [6cddaa157f].
︙ | |||
83 84 85 86 87 88 89 90 91 92 93 94 95 96 | 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | + | OFXMLProcessingInstructions.m \ OFZIPArchive.m \ OFZIPArchiveEntry.m \ base64.m \ crc32.m \ of_asprintf.m \ of_strptime.m \ pbkdf2.m \ unicode.m \ ${USE_SRCS_FILES} \ ${USE_SRCS_PLUGINS} \ ${USE_SRCS_SOCKETS} \ ${USE_SRCS_THREADS} SRCS_FILES = OFFile.m \ OFFileManager.m \ |
︙ |
Modified src/OFHMAC.h from [fe33092934] to [72d5a8c0be].
︙ | |||
101 102 103 104 105 106 107 108 109 110 | 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | + + + + + + + + | * @ref setKey:length:. * * @warning This invalidates any pointer previously returned by @ref digest. If * you are still interested in the previous digest, you need to memcpy * it yourself before calling @ref reset! */ - (void)reset; /*! * @brief This is like @ref reset, but also zeroes the hashed key and all state. * * @warning After calling this, you *must* set a new key before reusing the * HMAC! */ - (void)zero; @end OF_ASSUME_NONNULL_END |
Modified src/OFHMAC.m from [8de8a11875] to [25132018d7].
︙ | |||
139 140 141 142 143 144 145 146 147 148 | 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | + + + + + + + + + + + | [_outerHash release]; [_innerHash release]; _outerHash = _innerHash = nil; _outerHash = [_outerHashCopy copy]; _innerHash = [_innerHashCopy copy]; _calculated = false; } - (void)zero { [_outerHash release]; [_innerHash release]; [_outerHashCopy release]; [_innerHashCopy release]; _outerHash = _innerHash = _outerHashCopy = _innerHashCopy = nil; _calculated = false; } @end |
Modified src/ObjFW.h from [99eb763c6d] to [9a3074fd4c].
︙ | |||
200 201 202 203 204 205 206 | 200 201 202 203 204 205 206 207 | + | #import "crc32.h" #import "instance.h" #import "of_asprintf.h" #import "of_strptime.h" #ifdef OF_HAVE_SOCKETS # import "resolver.h" #endif #import "pbkdf2.h" |
Added src/pbkdf2.h version [8cf4fe8ea4].
|
Added src/pbkdf2.m version [e70bcecc17].