Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f18ae839 authored by Vidyullatha Kanchanapally's avatar Vidyullatha Kanchanapally Committed by Connor O'Brien
Browse files

ANDROID: GKI: cfg80211: Include length of kek in rekey data



With support for new AKM suites (example FILS-SHA256), the KEK length
can now be more than NL80211_KEK_LEN and the KCK length can be zero.
Add changes in cfg80211 to specify the length of KEK, and make KCK
optional. Make NL80211_REKEY_DATA_KEK as NLA_BINARY to enforce a maximum
length check.
Also add macro CFG80211_REKEY_DATA_KEK_LEN to indicate support for
including KEK length in rekey data.

CRs-Fixed: 2087759
Change-Id: Ica8dbb8614e0a9c3905e125b4a5254e43821984e
Signed-off-by: default avatarVidyullatha Kanchanapally <vidyullatha@codeaurora.org>
Signed-off-by: default avatarAnkita Bajaj <bankita@codeaurora.org>
Signed-off-by: default avatarHardik Kantilal Patel <hkpatel@codeaurora.org>
(cherry picked from commit 1daf1a378a61ab77a9497e81b1c0de2bbeca70c1)
Bug: 154523213
Signed-off-by: default avatarConnor O'Brien <connoro@google.com>
parent b93e441e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment