summaryrefslogtreecommitdiffstats
path: root/src/include/krb5
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1989-12-01 17:13:54 +0000
committerJohn Kohl <jtkohl@mit.edu>1989-12-01 17:13:54 +0000
commitcd3e69de5ceec9f8a55ab13cb165f8f4c8ddb66e (patch)
treed6c7c83f14164a56612e6114c18199b488cda319 /src/include/krb5
parent1cdb9f0a00960848aff02568c9809372d1d9a847 (diff)
downloadkrb5-cd3e69de5ceec9f8a55ab13cb165f8f4c8ddb66e.tar.gz
krb5-cd3e69de5ceec9f8a55ab13cb165f8f4c8ddb66e.tar.xz
krb5-cd3e69de5ceec9f8a55ab13cb165f8f4c8ddb66e.zip
add krb5_checksum
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@41 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/krb5')
-rw-r--r--src/include/krb5/encryption.h6
1 files changed, 6 insertions, 0 deletions
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,