Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wim Lewis
nettle
Commits
2178bae2
Commit
2178bae2
authored
Oct 09, 2001
by
Niels Möller
Browse files
(YARROW_KEY_EVENT_BUFFER): New constant.
Rev: src/nettle/yarrow.h:1.6
parent
bdcc117b
Changes
1
Hide whitespace changes
Inline
Side-by-side
yarrow.h
View file @
2178bae2
...
...
@@ -57,7 +57,7 @@ struct yarrow160_ctx
void
yarrow160_init
(
struct
yarrow160_ctx
*
ctx
,
int
nsources
,
unsigned
nsources
,
struct
yarrow_source
*
sources
);
void
...
...
@@ -89,7 +89,7 @@ struct yarrow256_ctx
void
yarrow256_init
(
struct
yarrow256_ctx
*
ctx
,
int
nsources
,
unsigned
nsources
,
struct
yarrow_source
*
sources
);
void
...
...
@@ -104,11 +104,13 @@ int
yarrow256_seeded
(
struct
yarrow256_ctx
*
ctx
);
/* Key event estimator */
#define YARROW_KEY_EVENT_BUFFER 16
struct
yarrow_key_event_ctx
{
/* Counter for initial priming of the state */
unsigned
index
;
unsigned
chars
[
16
];
unsigned
chars
[
YARROW_KEY_EVENT_BUFFER
];
unsigned
previous
;
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment