blob: 2886ca3388fe241024ccfb29aa08b27a829d0ab3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* -*- Mode: C; c-file-style: "bsd" -*- */
#ifndef YSTATE_H
#define YSTATE_H
#ifdef YARROW_SAVE_STATE
#include "ycipher.h"
#include "ytypes.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct Yarrow_STATE {
byte seed[CIPHER_KEY_SIZE * 2]; /* 2k bits saved to seed file */
} Yarrow_STATE;
int STATE_Save( const char *filename, const struct Yarrow_STATE* state );
int STATE_Load( const char *filename, struct Yarrow_STATE* state );
#ifdef __cplusplus
}
#endif
#endif /* YARROW_SAVE_STATE */
#endif /* YSTATE_H */
|