Print this page
4896 Performance improvements for KCF AES modes

@@ -21,10 +21,13 @@
  */
 /*
  * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
+/*
+ * Copyright 2015 by Saso Kiselkov. All rights reserved.
+ */
 
 /*      Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T     */
 /*        All Rights Reserved   */
 
 /*

@@ -490,11 +493,11 @@
 
         return (CRYPTO_SUCCESS);
 }
 
 static void
-des_copy_block64(uint8_t *in, uint64_t *out)
+des_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 {