pgprndseed.h

来自「可以实现对邮件的加密解密以及签名」· C头文件 代码 · 共 37 行

H
37
字号
/*____________________________________________________________________________
	Copyright (C) 2002 PGP Corporation
	All rights reserved.
	
	$Id: pgpRndSeed.h,v 1.10 2002/08/06 20:11:05 dallen Exp $
____________________________________________________________________________*/

#ifndef Included_pgpRndSeed_h
#define Included_pgpRndSeed_h

#include <stdio.h>

PGP_BEGIN_C_DECLARATIONS

#include "pgpOpaqueStructs.h"

/* We want to see at least this many bytes in randseed */
#define PGP_SEED_MIN_BYTES		24



PGPError	pgpSaveGlobalRandomPool( void );
PGPBoolean	pgpGlobalRandomPoolIsSeeded( void );
void		pgpSetIsSeeded( void);
void		pgpGlobalRandomPoolSetEntropy( PGPUInt32 randBits );
PGPError	pgpSetRandSeedFile_internal( PFLFileSpecRef );
PGPError	pgpDefaultRandSeedFile( void );
void		pgpCleanupRandSeedFile( void );

#if PGP_OSX
PGPError	GetDefaultRandSeedFileRef(PGPMemoryMgrRef mgr, PFLFileSpecRef* outRef);
#endif

PGP_END_C_DECLARATIONS

#endif /* Included_pgpRndSeed_h */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?