ystate.h
上传用户:sy_wanhua
上传日期:2013-07-25
资源大小:3048k
文件大小:0k
- /* -*- 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 {
- byte seed[CIPHER_KEY_SIZE * 2]; /* 2k bits saved to seed file */
- } Yarrow_STATE;
- int STATE_Save( const char *filename, const Yarrow_STATE* state );
- int STATE_Load( const char *filename, Yarrow_STATE* state );
- #ifdef __cplusplus
- }
- #endif
- #endif /* YARROW_SAVE_STATE */
- #endif /* YSTATE_H */