]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto/krb5: Implement the Kerberos5 rfc3961 encrypt and decrypt functions
authorDavid Howells <dhowells@redhat.com>
Thu, 24 Sep 2020 07:31:06 +0000 (08:31 +0100)
committerDavid Howells <dhowells@redhat.com>
Sun, 2 Mar 2025 21:50:43 +0000 (21:50 +0000)
commit00244da40f7821b242c4612428d4192230dba27f
tree1c08235e0c7c938f9b81337cee072d6b02d528c2
parent8bcdbfa89f4fc1ab7b06e784cb9c3346a943955e
crypto/krb5: Implement the Kerberos5 rfc3961 encrypt and decrypt functions

Add functions that encrypt and decrypt a message according to rfc3961 sec
5.3, using Ki to checksum the data to be secured and Ke to encrypt it
during the encryption phase, then decrypting with Ke and verifying the
checksum with Ki in the decryption phase.

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/internal.h
crypto/krb5/rfc3961_simplified.c