ObjFW  Check-in [84dbf46bda]

Overview
Comment:pbkdf2.h: Add missing __unsafe_unretained
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 84dbf46bda979dafaa083627dbe698331bd318cde795f441ea09328eb05ad683
User & Date: js on 2020-10-26 00:04:39
Other Links: manifest | tags
Context
2020-10-31
18:27
OFKernelEventObserver: Allow mutation in observe check-in: 0b478d8138 user: js tags: trunk
2020-10-26
00:04
pbkdf2.h: Add missing __unsafe_unretained check-in: 84dbf46bda user: js tags: trunk
2020-10-25
23:55
OFSecureData: Fix memory leak on error check-in: 8be102635a user: js tags: trunk
Changes

Modified src/pbkdf2.h from [b190fa060c] to [906ee7a0eb].

31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
@class OFHMAC;

/**
 * @brief The parameters for @ref of_pbkdf2.
 */
typedef struct of_pbkdf2_parameters_t {
	/** @brief The HMAC to use to derive a key. */
	OFHMAC *HMAC;
	/** @brief The number of iterations to perform. */
	size_t iterations;
	/** @brief The salt to derive a key with. */
	const unsigned char *salt;
	/** @brief The length of the salt. */
	size_t saltLength;
	/** @brief The password to derive a key from. */







|







31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
@class OFHMAC;

/**
 * @brief The parameters for @ref of_pbkdf2.
 */
typedef struct of_pbkdf2_parameters_t {
	/** @brief The HMAC to use to derive a key. */
	__unsafe_unretained OFHMAC *HMAC;
	/** @brief The number of iterations to perform. */
	size_t iterations;
	/** @brief The salt to derive a key with. */
	const unsigned char *salt;
	/** @brief The length of the salt. */
	size_t saltLength;
	/** @brief The password to derive a key from. */