Gather up another utility.
[u/mdw/catacomb] / fipstest.h
index fa150e2..5bdd8dc 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: fipstest.h,v 1.2 2000/08/11 21:34:34 mdw Exp $
+ * $Id: fipstest.h,v 1.4 2004/04/08 01:36:15 mdw Exp $
  *
  * FIPS140 randomness tests
  *
  * MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: fipstest.h,v $
- * Revision 1.2  2000/08/11 21:34:34  mdw
- * Change to use the new thresholds given in the draft FIPS140-2.
- *
- * Revision 1.1  2000/06/17 10:55:38  mdw
- * FIPS 140-1 random generator test.
- *
- */
-
 #ifndef CATACOMB_FIPSTEST_H
 #define CATACOMB_FIPSTEST_H
 
 
 #define FIPSTEST_BUFSZ 2500
 
-enum {
-  FIPSTEST_OK = 0,
-  FIPSTEST_MONOBIT = 1,
-  FIPSTEST_POKER = 2,
-  FIPSTEST_RUNS = 4,
-  FIPSTEST_LONGRUNS = 8
-};
+#define FIPSTEST_OK 0u
+#define FIPSTEST_MONOBIT 1u
+#define FIPSTEST_POKER 2u
+#define FIPSTEST_RUNS 4u
+#define FIPSTEST_LONGRUNS 8u
 
 /*----- Functions provided ------------------------------------------------*/