update signatures for encrypt_func, decrypt_func, sum_func
authorJohn Kohl <jtkohl@mit.edu>
Wed, 9 May 1990 14:39:26 +0000 (14:39 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 9 May 1990 14:39:26 +0000 (14:39 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@799 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/encryption.h

index aee9c2181a14e7dc08664d84cc3f870048b46417..1c1c866067f0a91e88c7023d58823d475a043709 100644 (file)
@@ -6,7 +6,7 @@
  * Copyright 1989,1990 by the Massachusetts Institute of Technology.
  *
  * For copying and distribution information, please see the file
- * <krb5/mit-copyright.h>.
+ * <krb5/copyright.h>.
  *
  * Encryption interface-related declarations
  */
@@ -40,11 +40,13 @@ typedef struct _krb5_cryptosystem_entry {
     krb5_error_code (*encrypt_func) PROTOTYPE((const krb5_pointer /* in */,
                                               krb5_pointer /* out */,
                                               const size_t,
-                                              krb5_encrypt_block *));
+                                              krb5_encrypt_block *,
+                                              krb5_pointer));
     krb5_error_code (*decrypt_func) PROTOTYPE((const krb5_pointer /* in */,
                                               krb5_pointer /* out */,
                                               const size_t,
-                                              krb5_encrypt_block *));
+                                              krb5_encrypt_block *,
+                                              krb5_pointer));
     krb5_error_code (*process_key) PROTOTYPE((krb5_encrypt_block *,
                                              const krb5_keyblock *));
     krb5_error_code (*finish_key) PROTOTYPE((krb5_encrypt_block *));
@@ -76,10 +78,9 @@ typedef struct _krb5_cs_table_entry {
 /* could be used in a table to find a sumtype */
 typedef struct _krb5_checksum_entry {
     krb5_error_code  (*sum_func) PROTOTYPE ((krb5_pointer /* in */,
-                                            krb5_pointer /* out */,
-                                            krb5_pointer /* seed */,
                                             size_t /* in_length */,
-                                            size_t /* seed_length */,
+                                            krb5_pointer /* key/seed */,
+                                            size_t /* key/seed size */,
                                             krb5_checksum * /* out_cksum */));
     int checksum_length;               /* length of stuff returned by
                                           sum_func */