#include <CommonCrypto/CommonKeyDerivation.h> also included by
<CommonCrypto/CommonCrypto.h>CommonCrypto/CommonKeyDerivation.h
enum(anonymous)
| kCCPBKDF2 | 2 |
typedefCCPBKDFAlgorithm
typedef uint32_t CCPBKDFAlgorithm
enum(anonymous)
| kCCPRFHmacAlgSHA1 | 1 | |
| kCCPRFHmacAlgSHA224 | 2 | |
| kCCPRFHmacAlgSHA256 | 3 | |
| kCCPRFHmacAlgSHA384 | 4 | |
| kCCPRFHmacAlgSHA512 | 5 |
typedefCCPseudoRandomAlgorithm
typedef uint32_t CCPseudoRandomAlgorithm
functionCCKeyDerivationPBKDF
API_AVAILABLE(macos(10.7), ios(5.0)) int CCKeyDerivationPBKDF( CCPBKDFAlgorithm algorithm, const char *password, size_t passwordLen, const uint8_t *salt, size_t saltLen, CCPseudoRandomAlgorithm prf, unsigned rounds, uint8_t *derivedKey, size_t derivedKeyLen )
functionCCCalibratePBKDF
API_AVAILABLE(macos(10.7), ios(5.0)) unsigned CCCalibratePBKDF( CCPBKDFAlgorithm algorithm, size_t passwordLen, size_t saltLen, CCPseudoRandomAlgorithm prf, size_t derivedKeyLen, uint32_t msec )