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:
parent
d5c364a4e4
commit
9ef3d51f87
@ -552,8 +552,9 @@ int crypto_psk_from_passphrase(const char *passphrase,
|
|||||||
if (ssid_len == 0 || ssid_len > 32)
|
if (ssid_len == 0 || ssid_len > 32)
|
||||||
return -ERANGE;
|
return -ERANGE;
|
||||||
|
|
||||||
result = l_pkcs5_pbkdf2(L_CHECKSUM_SHA1, passphrase, ssid, ssid_len,
|
result = l_cert_pkcs5_pbkdf2(L_CHECKSUM_SHA1, passphrase,
|
||||||
4096, psk, sizeof(psk));
|
ssid, ssid_len, 4096,
|
||||||
|
psk, sizeof(psk));
|
||||||
if (!result)
|
if (!result)
|
||||||
return -ENOKEY;
|
return -ENOKEY;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user