Print this page
4896 Performance improvements for KCF AES modes

@@ -20,16 +20,17 @@
  */
 /*
  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
+/*
+ * Copyright 2015 by Saso Kiselkov. All rights reserved.
+ */
 
 #ifndef _BLOWFISH_IMPL_H
 #define _BLOWFISH_IMPL_H
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 /*
  * Common definitions used by Blowfish.
  */
 
 #ifdef  __cplusplus

@@ -72,12 +73,12 @@
     crypto_data_t *);
 extern int blowfish_encrypt_block(const void *, const uint8_t *, uint8_t *);
 extern int blowfish_decrypt_block(const void *, const uint8_t *, uint8_t *);
 extern void blowfish_init_keysched(uint8_t *, uint_t, void *);
 extern void *blowfish_alloc_keysched(size_t *, int);
-extern void blowfish_copy_block(uint8_t *, uint8_t *);
-extern void blowfish_xor_block(uint8_t *, uint8_t *);
+extern void blowfish_copy_block(const uint8_t *, uint8_t *);
+extern void blowfish_xor_block(const uint8_t *, uint8_t *);
 #ifdef  __cplusplus
 }
 #endif
 
 #endif  /* _BLOWFISH_IMPL_H */