diff options
| author | Chuck Lever <chuck.lever@oracle.com> | 2026-04-27 16:50:51 +0300 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-06-09 23:32:59 +0300 |
| commit | 598de25deaffb80758ad8bdce5b4bacbbea59582 (patch) | |
| tree | 1e600efe8ca1cb52890a334d988d4c5844382fa8 /scripts/patch-kernel | |
| parent | f1965a3bcb1dc9b3491f750abc0f30a595c3de9f (diff) | |
| download | linux-598de25deaffb80758ad8bdce5b4bacbbea59582.tar.xz | |
SUNRPC: Switch wrap token decryption to crypto/krb5
Replace the per-enctype .decrypt callbacks (gss_krb5_aes_decrypt
and krb5_etm_decrypt) with a single gss_krb5_aead_decrypt()
wrapper that delegates to crypto_krb5_decrypt().
The new wrapper builds a scatterlist covering the secured
region (confounder through checksum), passes it to the AEAD
decrypt operation, and derives the confounder and checksum
lengths from the data offset and length that
crypto_krb5_decrypt() reports. The caller's token header
verification and buffer adjustment logic is unchanged.
Assisted-by: Claude:claude-opus-4-6
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Acked-by: Anna Schumaker <anna.schumaker@hammerspace.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
