#define CRC32_CKSUMTYPE 1
-#define CRC32_CKSUM_LENGTH (4*sizeof(octet))
+#define CRC32_CKSUM_LENGTH (4*sizeof(krb5_octet))
#endif /* __KRB5_CRC32__ */
typedef struct _krb5_keyblock {
krb5_keytype keytype;
int length;
- octet contents[1]; /* actually can be more, depending
+ krb5_octet contents[1]; /* actually can be more, depending
on length */
} krb5_keyblock;
typedef struct _krb5_checksum {
krb5_cksumtype checksum_type; /* checksum type */
int length;
- octet contents[1]; /* actually can be more, depending
+ krb5_octet contents[1]; /* actually can be more, depending
on length */
} krb5_checksum;
#ifndef __KRB5_MIT_DES__
#define __KRB5_MIT_DES__
-typedef octet des_cblock[8]; /* crypto-block size */
+typedef krb5_krb5_octet des_cblock[8]; /* crypto-block size */
/* Key schedule--used internally by DES routines to gain some speed */
typedef struct des_ks_struct { des_cblock _; } des_key_schedule[16];
#define DES_DECRYPT 0
/* the first byte of the key is already in the keyblock */
-#define DES_KEYBLOCK_SZ (sizeof(krb5_keyblock)+sizeof(des_cblock)-sizeof(octet))
+#define DES_KEYBLOCK_SZ (sizeof(krb5_keyblock)+sizeof(des_cblock)-sizeof(krb5_octet))
-#define DES_BLOCK_LENGTH (8*sizeof(octet))
+#define DES_BLOCK_LENGTH (8*sizeof(krb5_octet))
#define DES_CBC_CRC_PAD_MINIMUM CRC32_CKSUM_LENGTH
-#define DES_KEYSIZE (8*sizeof(octet))
+#define DES_KEYSIZE (8*sizeof(krb5_octet))
-#define DES_CBC_CKSUM_LENGTH (4*sizeof(octet)) /* XXX ? */
+#define DES_CBC_CKSUM_LENGTH (4*sizeof(krb5_octet)) /* XXX ? */
/* cryptosystem entry descriptor for MIT's DES encryption library */
extern krb5_cryptosystem_entry mit_des_cryptosystem_entry;