Home
last modified time | relevance | path

Searched hist:a11e2f85481c2f08b55c06467445602a2330ee5b (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/wireless/
H A Dlib80211_crypt_ccmp.cdiff a11e2f85481c2f08b55c06467445602a2330ee5b Mon Jun 17 04:19:01 CDT 2019 Ard Biesheuvel <ard.biesheuvel@linaro.org> lib80211: use crypto API ccm(aes) transform for CCMP processing

Instead of open coding the CCM aead mode in the driver, and invoking
the AES block cipher block by block, use a ccm(aes) aead transform
which already encapsulates this functionality. This is a cleaner use
of the crypto API, and permits optimized implementations to be used,
which are typically much faster and deal more efficiently with the
SIMD register file, which usually needs to be preserved/restored in
order to use special AES instructions.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Link: https://lore.kernel.org/r/20190617091901.7063-1-ard.biesheuvel@linaro.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
H A DKconfigdiff a11e2f85481c2f08b55c06467445602a2330ee5b Mon Jun 17 04:19:01 CDT 2019 Ard Biesheuvel <ard.biesheuvel@linaro.org> lib80211: use crypto API ccm(aes) transform for CCMP processing

Instead of open coding the CCM aead mode in the driver, and invoking
the AES block cipher block by block, use a ccm(aes) aead transform
which already encapsulates this functionality. This is a cleaner use
of the crypto API, and permits optimized implementations to be used,
which are typically much faster and deal more efficiently with the
SIMD register file, which usually needs to be preserved/restored in
order to use special AES instructions.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Link: https://lore.kernel.org/r/20190617091901.7063-1-ard.biesheuvel@linaro.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>