diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/k5-int.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h index 4b2fdd25db..efffa3b5ee 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -2676,6 +2676,30 @@ krb5_error_code krb5int_aes_decrypt(krb5_key key, const krb5_data *ivec, krb5_crypto_iov *data, size_t num_data); +krb5_error_code +krb5int_camellia_cbc_mac(krb5_key key, const krb5_crypto_iov *data, + size_t num_data, const krb5_data *iv, + krb5_data *output); + +#if 0 +/* + * There are no IANA assignments for these enctypes or cksumtypes yet. They + * must be defined to local-use negative numbers at build time for Camellia-CCM + * support to function at the moment. If one is defined, they should all be + * defined. When IANA assignments exist, these definitions should move to the + * appropriate places in krb5.hin and all CAMELLIA_CCM conditional code should + * be made unconditional. + */ +#define ENCTYPE_CAMELLIA128_CCM_128 -XXX /* Camellia CCM mode, 128-bit key */ +#define ENCTYPE_CAMELLIA256_CCM_128 -YYY /* Camellia CCM mode, 256-bit key */ +#define CKSUMTYPE_CMAC_128_CAMELLIA128 -XXX /* CMAC, 128-bit Camellia key */ +#define CKSUMTYPE_CMAC_128_CAMELLIA256 -YYY /* CMAC, 256-bit Camellia key */ +#endif + +#ifdef ENCTYPE_CAMELLIA128_CCM_128 +#define CAMELLIA_CCM +#endif + struct _krb5_kt { /* should move into k5-int.h */ krb5_magic magic; const struct _krb5_kt_ops *ops; |
