projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add module sockets.
[gnulib.git]
/
lib
/
arcfour.h
diff --git
a/lib/arcfour.h
b/lib/arcfour.h
index
28ef679
..
0a9d75c
100644
(file)
--- a/
lib/arcfour.h
+++ b/
lib/arcfour.h
@@
-25,13
+25,14
@@
# define ARCFOUR_H
# include <stddef.h>
# define ARCFOUR_H
# include <stddef.h>
+# include <stdint.h>
#define ARCFOUR_SBOX_SIZE 256
typedef struct
{
#define ARCFOUR_SBOX_SIZE 256
typedef struct
{
- size_t idx_i, idx_j;
char sbox[ARCFOUR_SBOX_SIZE];
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
} arcfour_context;
/* Apply ARCFOUR stream to INBUF placing the result in OUTBUF, both of