SUNRPC: Add KUnit tests RFC 3961 Key Derivation
authorChuck Lever <chuck.lever@oracle.com>
Sun, 15 Jan 2023 17:23:47 +0000 (12:23 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 20 Feb 2023 14:20:50 +0000 (09:20 -0500)
commit6eb6b8a446a174586427d1a0ab0f7635b05b44f7
treec1d63200225b2fd4d6db5fe4e3752c9ae3a4090f
parentddd8c1f975ee7c2fc60ea836540b5b10f97ac919
SUNRPC: Add KUnit tests RFC 3961 Key Derivation

RFC 3961 Appendix A provides tests for the KDF specified in that
document as well as other parts of Kerberos. The other three usage
scenarios in Section 10 are not implemented by the Linux kernel's
RPCSEC GSS Kerberos 5 mechanism, so tests are not added for those.

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/auth_gss/gss_krb5_test.c