summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_gss/gss_krb5_crypto.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2023-01-15 12:24:06 -0500
committerChuck Lever <chuck.lever@oracle.com>2023-02-20 09:20:50 -0500
commit02142b2ca8fc10d7771b650780ae082369632dc0 (patch)
treefa45aa88edce9df879625b28e850912d54662816 /net/sunrpc/auth_gss/gss_krb5_crypto.c
parent35f6e42e813e51fb3a40f74f23a99aa330254ce8 (diff)
downloadlinux-02142b2ca8fc10d7771b650780ae082369632dc0.tar.gz
linux-02142b2ca8fc10d7771b650780ae082369632dc0.tar.bz2
linux-02142b2ca8fc10d7771b650780ae082369632dc0.zip
SUNRPC: Add checksum KUnit tests for the RFC 6803 encryption types
Test the new-to-RPCSEC CMAC digest algorithm. Tested-by: Scott Mayhew <smayhew@redhat.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/auth_gss/gss_krb5_crypto.c')
-rw-r--r--net/sunrpc/auth_gss/gss_krb5_crypto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/auth_gss/gss_krb5_crypto.c b/net/sunrpc/auth_gss/gss_krb5_crypto.c
index 5d8dff65d014..c4e76a51203b 100644
--- a/net/sunrpc/auth_gss/gss_krb5_crypto.c
+++ b/net/sunrpc/auth_gss/gss_krb5_crypto.c
@@ -361,6 +361,7 @@ out_free_cksum:
kfree_sensitive(checksumdata);
return err ? GSS_S_FAILURE : GSS_S_COMPLETE;
}
+EXPORT_SYMBOL_IF_KUNIT(gss_krb5_checksum);
struct encryptor_desc {
u8 iv[GSS_KRB5_MAX_BLOCKSIZE];