diff options
| author | David Howells <dhowells@redhat.com> | 2020-09-25 12:24:50 +0100 |
|---|---|---|
| committer | David Howells <dhowells@redhat.com> | 2025-03-02 21:55:23 +0000 |
| commit | 742e38d4d4033e7ff53178acf7edd2b1fe0142ef (patch) | |
| tree | fc00529b98f66230989d513a7dfb07071ce63806 /crypto/krb5/internal.h | |
| parent | crypto/krb5: Implement the AES enctypes from rfc8009 (diff) | |
| download | linux-742e38d4d4033e7ff53178acf7edd2b1fe0142ef.tar.gz linux-742e38d4d4033e7ff53178acf7edd2b1fe0142ef.zip | |
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
Diffstat (limited to 'crypto/krb5/internal.h')
| -rw-r--r-- | crypto/krb5/internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/krb5/internal.h b/crypto/krb5/internal.h index f537f6eb86eb..8679140ef90d 100644 --- a/crypto/krb5/internal.h +++ b/crypto/krb5/internal.h @@ -187,6 +187,12 @@ extern const struct krb5_enctype krb5_aes128_cts_hmac_sha1_96; extern const struct krb5_enctype krb5_aes256_cts_hmac_sha1_96; /* + * rfc6803_camellia.c + */ +extern const struct krb5_enctype krb5_camellia128_cts_cmac; +extern const struct krb5_enctype krb5_camellia256_cts_cmac; + +/* * rfc8009_aes2.c */ extern const struct krb5_enctype krb5_aes128_cts_hmac_sha256_128; |
