3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00

crypto: Update l_pkcs5_pbkdf2 call after rename

This commit is contained in:
Andrew Zaborowski 2020-12-24 00:22:15 +01:00 committed by Denis Kenzior
parent d5c364a4e4
commit 9ef3d51f87

View File

@ -552,8 +552,9 @@ int crypto_psk_from_passphrase(const char *passphrase,
if (ssid_len == 0 || ssid_len > 32)
return -ERANGE;
result = l_pkcs5_pbkdf2(L_CHECKSUM_SHA1, passphrase, ssid, ssid_len,
4096, psk, sizeof(psk));
result = l_cert_pkcs5_pbkdf2(L_CHECKSUM_SHA1, passphrase,
ssid, ssid_len, 4096,
psk, sizeof(psk));
if (!result)
return -ENOKEY;