Print this page
4896 Performance improvements for KCF AES modes

@@ -20,10 +20,13 @@
  */
 /*
  * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
+/*
+ * Copyright 2015 by Saso Kiselkov. All rights reserved.
+ */
 
 /*
  * Blowfish provider for the Kernel Cryptographic Framework (KCF)
  */
 

@@ -317,11 +320,11 @@
 
         return (CRYPTO_SUCCESS);
 }
 
 static void
-blowfish_copy_block64(uint8_t *in, uint64_t *out)
+blowfish_copy_block64(const uint8_t *in, uint64_t *out)
 {
         if (IS_P2ALIGNED(in, sizeof (uint64_t))) {
                 /* LINTED: pointer alignment */
                 out[0] = *(uint64_t *)&in[0];
         } else {