⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pgprnd.h

📁 PGP8.0源码 请认真阅读您的文件包然后写出其具体功能
💻 H
字号:
/*
 * pgpRnd.h - system-specific gathering of high-resolution timers for RNG.
 *
 * This is a PRIVATE header file, for use only within the PGP Library.
 * You should not be using these functions in an application.
 *
 * The interface is system-independent, but the implementation should be
 * highly system-dependent, to get at as much state as possible.
 *
 * $Id: pgpRnd.h,v 1.5 2002/11/11 04:49:06 dallen Exp $
 */

#include "pgpUsuals.h"
#include "pgpOpaqueStructs.h"

PGP_BEGIN_C_DECLARATIONS

/* formerly rndGetEntropy */

PGPUInt32 pgpRandomCollectEntropy(PGPRandomContext const *rc);
PGPBoolean pgpRandomCollectOsData(PGPRandomContext const *rc, PGPBoolean slow);
void pgpGlobalRandomPoolAddEntropyBits(PGPInt32);
void pgpGlobalRandomPoolAddEntropy(void *priv, PGPByte const *p, unsigned len);

/*
 * INTEL_RNG_ENTROPY_BITS is a conservative estimate of the
 * number of entropy bits in each Intel-RNG 4-byte long.
 */
#define INTEL_RNG_ENTROPY_BITS 16

#if PGP_WIN32
PGPInt32 pgpIntelRngEnabled();
#endif

PGP_END_C_DECLARATIONS

⌨️ 快捷键说明

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