android_kernel_xiaomi_sm8350/net/sunrpc/auth_gss
Kevin Coffman 5af46547ec gss_krb5: Use confounder length in wrap code
All encryption types use a confounder at the beginning of the
wrap token.  In all encryption types except arcfour-hmac, the
confounder is the same as the blocksize.  arcfour-hmac has a
blocksize of one, but uses an eight byte confounder.

Add an entry to the crypto framework definitions for the
confounder length and change the wrap/unwrap code to use
the confounder length rather than assuming it is always
the blocksize.

Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
Signed-off-by: Steve Dickson <steved@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2010-05-14 15:09:20 -04:00
..
auth_gss.c gss_krb5: Add upcall info indicating supported kerberos enctypes 2010-05-14 15:09:17 -04:00
gss_generic_token.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
gss_krb5_crypto.c gss_krb5: Use confounder length in wrap code 2010-05-14 15:09:20 -04:00
gss_krb5_keys.c gss_krb5: add remaining pieces to enable AES encryption support 2010-05-14 15:09:19 -04:00
gss_krb5_mech.c gss_krb5: Use confounder length in wrap code 2010-05-14 15:09:20 -04:00
gss_krb5_seal.c gssd_krb5: More arcfour-hmac support 2010-05-14 15:09:20 -04:00
gss_krb5_seqnum.c gssd_krb5: More arcfour-hmac support 2010-05-14 15:09:20 -04:00
gss_krb5_unseal.c gssd_krb5: More arcfour-hmac support 2010-05-14 15:09:20 -04:00
gss_krb5_wrap.c gss_krb5: Use confounder length in wrap code 2010-05-14 15:09:20 -04:00
gss_mech_switch.c gss_krb5: Added and improved code comments 2010-05-14 15:09:15 -04:00
gss_spkm3_mech.c SUNRPC: Use GFP_NOFS when allocating credentials 2008-07-09 12:08:48 -04:00
gss_spkm3_seal.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
gss_spkm3_token.c SUNRPC: Use GFP_NOFS when allocating credentials 2008-07-09 12:08:48 -04:00
gss_spkm3_unseal.c
Makefile gss_krb5: import functionality to derive keys into the kernel 2010-05-14 15:09:16 -04:00
svcauth_gss.c gss_krb5: Added and improved code comments 2010-05-14 15:09:15 -04:00