add krb5_checksum
authorJohn Kohl <jtkohl@mit.edu>
Fri, 1 Dec 1989 17:13:54 +0000 (17:13 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Fri, 1 Dec 1989 17:13:54 +0000 (17:13 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@41 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/encryption.h

index 5ec9c59d0d439c7ad2b606af0e036f65d532e764..5845f7ff5e7b23817f039362bf6d0efda423e2f0 100644 (file)
@@ -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,