From cd3e69de5ceec9f8a55ab13cb165f8f4c8ddb66e Mon Sep 17 00:00:00 2001 From: John Kohl Date: Fri, 1 Dec 1989 17:13:54 +0000 Subject: [PATCH] add krb5_checksum git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@41 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/encryption.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/include/krb5/encryption.h b/src/include/krb5/encryption.h index 5ec9c59d0..5845f7ff5 100644 --- a/src/include/krb5/encryption.h +++ b/src/include/krb5/encryption.h @@ -23,6 +23,12 @@ typedef struct _krb5_keyblock { on length */ } krb5_keyblock; +typedef struct _krb5_checksum { + krb5_cksumtype checksum_type; /* checksum type */ + octet contents[1]; /* actually can be more, depending + on length */ +} krb5_checksum; + /* could be used in a table to find an etype and initialize a block */ typedef struct _krb5_cryptosystem_entry { int (*encrypt_func)(/* void *in, void *out, size_t length, -- 2.26.2