📄 shs.h
字号:
/* SHS.H - header file for Secure Hash Standard Code Copyright (c) J.S.A.Kapp 1994 - 1995. RSAEURO - RSA Library compatible with RSAREF(tm) 2.0. All functions prototypes are the Same as for RSAREF(tm). To aid compatiblity the source and the files follow the same naming comventions that RSAREF(tm) uses. This should aid direct importing to your applications. This library is legal everywhere outside the US. And should NOT be imported to the US and used there. All Trademarks Acknowledged. Secure Hash Standard Code header file. Revision 1.00. - JSAK 23/6/95, Final Release Version*/#ifndef _SHS_H_#define _SHS_H_#include "global.h"#ifdef __cplusplusextern "C" {#endif/* The SHS block size and message digest sizes, in bytes */#define SHS_BLOCKSIZE 64#define SHS_DIGESTSIZE 20/* The structure for storing SHS info */typedef struct { UINT4 digest [5]; /* Message digest */ UINT4 countLo, countHi; /* 64-bit bit count */ UINT4 data [16]; /* SHS data buffer */} SHS_CTX;void SHSInit PROTO_LIST ((SHS_CTX *));void SHSUpdate PROTO_LIST ((SHS_CTX *, BYTE *, int ));void SHSFinal PROTO_LIST ((SHS_CTX *));#ifdef __cplusplus}#endif#endif /* _SHS_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -