crypto/krb5: Implement the AES enctypes from rfc8009
authorDavid Howells <dhowells@redhat.com>
Mon, 3 Feb 2025 13:42:41 +0000 (13:42 +0000)
committerDavid Howells <dhowells@redhat.com>
Sun, 2 Mar 2025 21:53:55 +0000 (21:53 +0000)
commit6c3c0e86c2acf53bf67c095c67335a0bec2a16af
treedc61c6abe77ea9cb2b033f9eefd424f457ec2c53
parent7c164b66b276c49b3888d3280e1b70a85732a38c
crypto/krb5: Implement the AES enctypes from rfc8009

Implement the aes128-cts-hmac-sha256-128 and aes256-cts-hmac-sha384-192
enctypes from rfc8009, overriding the rfc3961 kerberos 5 simplified crypto
scheme.

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
crypto/krb5/Kconfig
crypto/krb5/Makefile
crypto/krb5/internal.h
crypto/krb5/krb5_api.c
crypto/krb5/rfc8009_aes2.c [new file with mode: 0644]
include/crypto/krb5.h