Improve diagnostics for invalid arguments in asn1parse -strparse
[openssl.git] / crypto / seed / seed_locl.h
index 96ec43022dc33a3c9d13d0b58d4a9978ed7fe90f..d4a03fc4aa85f5c23b12f7ce70823bf03de6dd54 100644 (file)
@@ -1,3 +1,12 @@
+/*
+ * Copyright 2007-2016 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the OpenSSL license (the "License").  You may not use
+ * this file except in compliance with the License.  You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
 /*
  * Copyright (c) 2007 KISA(Korea Information Security Agency). All rights reserved.
  *
@@ -40,10 +49,6 @@ typedef unsigned int seed_word;
 extern "C" {
 #endif
 
-# define G_FUNC(v)       \
-        SS[0][(unsigned char)      (v) & 0xff] ^ SS[1][(unsigned char) ((v)>>8) & 0xff] ^ \
-        SS[2][(unsigned char)((v)>>16) & 0xff] ^ SS[3][(unsigned char)((v)>>24) & 0xff]
-
 # define char2word(c, i)  \
         (i) = ((((seed_word)(c)[0]) << 24) | (((seed_word)(c)[1]) << 16) | (((seed_word)(c)[2]) << 8) | ((seed_word)(c)[3]))