New module 'unicase/u8-casecmp'.
[pspp] / lib / arcfour.h
index 28ef679d05531b51219cfa0eb6061ef7cc2db3a1..0a9d75c0f745fd9c18a84abd3cf4654f326c1084 100644 (file)
 # define ARCFOUR_H
 
 # include <stddef.h>
+# include <stdint.h>
 
 #define ARCFOUR_SBOX_SIZE 256
 
 typedef struct
 {
-  size_t idx_i, idx_j;
   char sbox[ARCFOUR_SBOX_SIZE];
+  uint8_t idx_i, idx_j;
 } arcfour_context;
 
 /* Apply ARCFOUR stream to INBUF placing the result in OUTBUF, both of