pgpdsakey.h

来自「PGP—Pretty Good Privacy」· C头文件 代码 · 共 34 行

H
34
字号
/*
 * $Id: pgpDSAKey.h,v 1.13 1998/12/01 02:33:07 hal Exp $
 */

#ifndef Included_pgpDSAKey_h
#define Included_pgpDSAKey_h

#include "pgpPubTypes.h"	/* For PGPByte */
#include "pgpOpaqueStructs.h"
#include <stddef.h>	/* For size_t */

PGP_BEGIN_C_DECLARATIONS

/* Bits for uniqueness of p, q */
#define DSADUMMYBITS	64


PGPPubKey *dsaPubFromBuf( PGPContextRef	context,
				PGPByte const *buf, size_t len, PGPError *error);
				
PGPSecKey *dsaSecFromBuf( PGPContextRef	context,
				PGPByte const *buf, size_t len, PGPError *error);
				
int			dsaPubKeyPrefixSize(PGPByte const *buf, size_t size);

PGPSecKey *	dsaSecGenerate(PGPContextRef context,
				unsigned bits, PGPBoolean fastgen,
				PGPRandomContext const *rc,
				int progress(void *arg, int c), void *arg, PGPError *error);

PGP_END_C_DECLARATIONS

#endif /* Included_pgpDSAKey_h */

⌨️ 快捷键说明

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