]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto/krb5: Implement the Camellia enctypes from rfc6803
authorDavid Howells <dhowells@redhat.com>
Fri, 25 Sep 2020 11:24:50 +0000 (12:24 +0100)
committerDavid Howells <dhowells@redhat.com>
Sun, 2 Mar 2025 21:55:23 +0000 (21:55 +0000)
commit742e38d4d4033e7ff53178acf7edd2b1fe0142ef
treefc00529b98f66230989d513a7dfb07071ce63806
parent6c3c0e86c2acf53bf67c095c67335a0bec2a16af
crypto/krb5: Implement the Camellia enctypes from rfc6803

Implement the camellia128-cts-cmac and camellia256-cts-cmac enctypes from
rfc6803.

Note that the test vectors in rfc6803 for encryption 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
crypto/krb5/Kconfig
crypto/krb5/Makefile
crypto/krb5/internal.h
crypto/krb5/krb5_api.c
crypto/krb5/rfc6803_camellia.c [new file with mode: 0644]
include/crypto/krb5.h