diff options
author | Eric Biggers <ebiggers@google.com> | 2024-04-20 21:20:16 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-04-26 12:26:10 +0300 |
commit | ed265f7fd9a635d77c8022fc6d9a1b735dd4dfd7 (patch) | |
tree | 1c2d8696369cb719c3de36472639ebb4260ba14e /drivers/crypto | |
parent | a0bbb1c187e77a14b939036ce00ba5420d46ebe5 (diff) | |
download | linux-ed265f7fd9a635d77c8022fc6d9a1b735dd4dfd7.tar.xz |
crypto: x86/aes-gcm - simplify GCM hash subkey derivation
Remove a redundant expansion of the AES key, and use rodata for zeroes.
Also rename rfc4106_set_hash_subkey() to aes_gcm_derive_hash_subkey()
because it's used for both versions of AES-GCM, not just RFC4106.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions