SUNRPC: Add Kunit tests for RFC 3962-defined encryption/decryption
authorChuck Lever <chuck.lever@oracle.com>
Sun, 15 Jan 2023 17:23:53 +0000 (12:23 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 20 Feb 2023 14:20:50 +0000 (09:20 -0500)
commite1a9a3849dff9cd980fdccaa8f09cf9226f46a3a
tree775c8a5e1ed8fc2cf46404171511af1bec29480c
parent6eb6b8a446a174586427d1a0ab0f7635b05b44f7
SUNRPC: Add Kunit tests for RFC 3962-defined encryption/decryption

Add Kunit tests for ENCTYPE_AES128_CTS_HMAC_SHA1_96. The test
vectors come from RFC 3962 Appendix B.

Tested-by: Scott Mayhew <smayhew@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/.kunitconfig
net/sunrpc/auth_gss/gss_krb5_crypto.c
net/sunrpc/auth_gss/gss_krb5_internal.h
net/sunrpc/auth_gss/gss_krb5_test.c