SUNRPC: Refactor set-up for aux_cipher
authorChuck Lever <chuck.lever@oracle.com>
Sun, 15 Jan 2023 17:20:54 +0000 (12:20 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 20 Feb 2023 14:20:34 +0000 (09:20 -0500)
commit7989a4f4ab5437ec82b0b59984594f848f12b36a
tree9ab495c7dc52dedac622c47f803e83330293f071
parent01c4e326327a635e1fac75b1aedd2c2c1e8123b5
SUNRPC: Refactor set-up for aux_cipher

Hoist the name of the aux_cipher into struct gss_krb5_enctype to
prepare for obscuring the encryption keys just after they are
derived.

Tested-by: Scott Mayhew <smayhew@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/gss_krb5.h
net/sunrpc/auth_gss/gss_krb5_mech.c