linux/crypto/krb5
David Howells fc0cf10c04 crypto/krb5: Implement crypto self-testing
Implement self-testing infrastructure to test the pseudo-random function,
key derivation, encryption and checksumming.

Add the testing data from rfc8009 to test AES + HMAC-SHA2.

Add the testing data from rfc6803 to test Camellia.  Note some encryption
test vectors here are incomplete, lacking the key usage number needed to
derive Ke and Ki, and there are errata for this:

	https://www.rfc-editor.org/errata_search.php?rfc=6803

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Herbert Xu <herbert@gondor.apana.org.au>
cc: "David S. Miller" <davem@davemloft.net>
cc: Chuck Lever <chuck.lever@oracle.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: Eric Dumazet <edumazet@google.com>
cc: Jakub Kicinski <kuba@kernel.org>
cc: Paolo Abeni <pabeni@redhat.com>
cc: Simon Horman <horms@kernel.org>
cc: linux-afs@lists.infradead.org
cc: linux-nfs@vger.kernel.org
cc: linux-crypto@vger.kernel.org
cc: netdev@vger.kernel.org
2025-03-02 21:56:47 +00:00
..
internal.h crypto/krb5: Implement crypto self-testing 2025-03-02 21:56:47 +00:00
Kconfig crypto/krb5: Implement crypto self-testing 2025-03-02 21:56:47 +00:00
krb5_api.c crypto/krb5: Implement crypto self-testing 2025-03-02 21:56:47 +00:00
krb5_kdf.c crypto/krb5: Provide infrastructure and key derivation 2025-03-02 21:47:07 +00:00
Makefile crypto/krb5: Implement crypto self-testing 2025-03-02 21:56:47 +00:00
rfc3961_simplified.c crypto/krb5: Implement the Kerberos5 rfc3961 get_mic and verify_mic 2025-03-02 21:51:47 +00:00
rfc3962_aes.c crypto/krb5: Implement the AES enctypes from rfc3962 2025-03-02 21:52:48 +00:00
rfc6803_camellia.c crypto/krb5: Implement the Camellia enctypes from rfc6803 2025-03-02 21:55:23 +00:00
rfc8009_aes2.c crypto/krb5: Implement the AES enctypes from rfc8009 2025-03-02 21:53:55 +00:00
selftest_data.c crypto/krb5: Implement crypto self-testing 2025-03-02 21:56:47 +00:00
selftest.c crypto/krb5: Implement crypto self-testing 2025-03-02 21:56:47 +00:00