pgpsha.h
来自「vc环境下的pgp源码」· C头文件 代码 · 共 45 行
H
45 行
/*
* pgpSHA.h -- NIST Secure Hhash Algorithm
*
* This is a PRIVATE header file, for use only within the PGP Library.
* You should not be using these functions in an application.
*
* $Id: pgpSHA.h,v 1.1 1998/12/15 18:40:29 wjb Exp $
*/
#ifndef Included_pgpSHA_h
#define Included_pgpSHA_h
#include "pgpHashPriv.h"
#include "pgpDebug.h"
#define SHA_BLOCKBYTES 64
#define SHA_BLOCKWORDS 16
#define SHA_HASHBYTES 20
#define SHA_HASHWORDS 5
typedef struct SHAContext {
PGPUInt32 key[SHA_BLOCKWORDS];
PGPUInt32 iv[SHA_HASHWORDS];
#if HAVE64
word64 bytes;
#else
PGPUInt32 bytesHi, bytesLo;
#endif
DEBUG_STRUCT_CONSTRUCTOR( SHAContext )
} SHAContext;
PGP_BEGIN_C_DECLARATIONS
extern PGPHashVTBL const HashSHA;
extern PGPByte const SHADERprefix[15];
void pgpSHATransform(PGPUInt32 *block, PGPUInt32 *key);
PGP_END_C_DECLARATIONS
#endif /* !Included_pgpSHA_h */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?