pgprandompoolpriv.h

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

H
45
字号
/*____________________________________________________________________________
	pgpRandomPoolPriv.h
	
	Copyright (C) 2002 PGP Corporation
	All rights reserved.
	
	Random pool and dummy random pool, used globally.

	$Id: pgpRandomPoolPriv.h,v 1.7 2002/08/06 20:11:05 dallen Exp $
____________________________________________________________________________*/
#ifndef Included_pgpRandomPoolPriv_h
#define Included_pgpRandomPoolPriv_h

#include "pgpRandomPool.h"
#include "pgpRandomContext.h"


PGP_BEGIN_C_DECLARATIONS


PGPError		pgpInitGlobalRandomPool( void );
PGPError		pgpCleanupGlobalRandomPool( void );
void			pgpInitGlobalRandomPoolContext( PGPRandomContext *rc );

/* one could create multiple instances of the global random pool */
PGPRandomVTBL const *	pgpGetGlobalRandomPoolVTBL( void );
PGPRandomVTBL const *	pgpGetGlobalDummyRandomPoolVTBL( void );


/* Entry points from back-end RPC */
PGPError		 	pgpGlobalRandomPoolAddState_internal(
						PGPBoolean addKeyState, PGPInt32 keyEvent,
						PGPBoolean addMouseState, PGPBoolean addSystemState );

PGPError			pgpGlobalRandomPoolGetInfo_internal(
						PGPUInt32 *entropy, PGPUInt32 *size,
						PGPUInt32 *minEntropy, PGPBoolean *hasMinEntropy,
						PGPBoolean *hasIntelRNG );



PGP_END_C_DECLARATIONS

#endif /* Included_pgpRandomPoolPriv_h */

⌨️ 快捷键说明

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