mbedtls_pkcs5_pbkdf2_hmac_ext() function
PKCS#5 PBKDF2 using HMAC without using the HMAC context
Arguments
md_type
Hash algorithm used
password
Password to use when generating key
salt
Salt to use when generating key
iteration_count
Iteration count
key_length
Length of generated key in bytes
output
Generated key. Must be at least as big as key_length
Return value
0 on success, or a MBEDTLS_ERR_XXX code if verification fails.
![]()
if ((ret = mbedtls_pkcs5_pbkdf2_hmac_ext(md_type, pwd, pwdlen, salt.p,
mbedtls_pkcs5_pbkdf2_hmac_ext() is called by 2 functions and calls 5 functions:
![]()
mbedtls_pkcs5_pbkdf2_hmac_ext()
mbedtls_pkcs5_pbkdf2_hmac_ext():
![]()
mbedtls_pkcs5_pbkdf2_hmac_ext()