diff options
author | Johannes Berg <johannes.berg@intel.com> | 2024-10-21 15:14:14 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-10-23 16:46:58 +0200 |
commit | b457d8713872a9aad89c8a57dd8fe471c7db158d (patch) | |
tree | 88b9de67b6aa9b3e1474858bac1786f556c71f65 /security | |
parent | 6ee0270943b5af02fd6703d5b580d7ca96ff1176 (diff) | |
download | lwn-b457d8713872a9aad89c8a57dd8fe471c7db158d.tar.gz lwn-b457d8713872a9aad89c8a57dd8fe471c7db158d.zip |
wifi: mac80211: remove misleading j_0 construction parts
The GCM algorithm implementation in the kernel assumes that
a 12-byte IV is passed, not the actual J_0 from the GCM spec.
Don't rename, that'd be messy, but also don't fill the bytes
beyond the IV that aren't used, since otherwise it looks as
though j_0[12] is used uninitialized.
Link: https://patch.msgid.link/20241021151414.798ceb7a5896.Ic57751edad228d56865ecf7433fef469e5e0a4aa@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions