pgpeckey.h

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

H
42
字号
/*
 * $Id: pgpECKey.h,v 1.6 2001/11/16 00:18:40 hal Exp $
 */

#ifndef Included_pgpECKey_h
#define Included_pgpECKey_h


#include "pgpSDKBuildFlags.h"

#if PGP_EC

#include "pgpPubTypes.h"	/* For PGPBoolean and PGPByte */
#include "pgpOpaqueStructs.h"
#include "ec.h"


PGP_BEGIN_C_DECLARATIONS


PGPInt32 pgpECurveBitsFromName( const char * name, PGPSize namelen );

PGPPubKey *ecPubFromBuf(PGPContextRef	context,
				PGPByte const *buf, PGPSize len, PGPError *error);
				
PGPSecKey *ecSecFromBuf( PGPContextRef	context,
				PGPByte const *buf, PGPSize len, PGPError *error);
				
int ecPubKeyPrefixSize(PGPByte const *buf, PGPSize size);

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


PGP_END_C_DECLARATIONS

#endif /* PGP_EC */

#endif /* Included_pgpECKey_h */

⌨️ 快捷键说明

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