亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? pgp.h

?? cryptlib是功能強(qiáng)大的安全工具集。允許開發(fā)人員快速在自己的軟件中集成加密和認(rèn)證服務(wù)。
?? H
字號(hào):
/****************************************************************************
*																			*
*							PGP Definitions Header File						*
*						Copyright Peter Gutmann 1996-2004					*
*																			*
****************************************************************************/

#ifndef _PGP_DEFINED

#define _PGP_DEFINED

#ifndef _STREAM_DEFINED
  #if defined( INC_ALL )
	#include "stream.h"
  #elif defined INC_CHILD
	#include "../io/stream.h"
  #else
	#include "io/stream.h"
  #endif /* Compiler-specific includes */
#endif /* _STREAM_DEFINED */

/* PGP packet types, encoded into the CTB */

#define PGP_PACKET_PKE			1	/* PKC-encrypted session key */
#define PGP_PACKET_SIGNATURE	2	/* Signature */
#define PGP_PACKET_SKE			3	/* Secret-key-encrypted session key */
#define PGP_PACKET_SIGNATURE_ONEPASS 4	/* One-pass signature */
#define PGP_PACKET_SECKEY	5		/* Secret key */
#define PGP_PACKET_PUBKEY	6		/* Public key */
#define PGP_PACKET_SECKEY_SUB 7		/* Secret key subkey */
#define PGP_PACKET_COPR		8		/* Compressed data */
#define PGP_PACKET_ENCR		9		/* Encrypted data */
#define PGP_PACKET_MARKER	10		/* Obsolete marker packet */
#define PGP_PACKET_DATA		11		/* Raw data */
#define PGP_PACKET_TRUST	12		/* Trust information */
#define PGP_PACKET_USERID	13		/* Userid */
#define PGP_PACKET_PUBKEY_SUB 14	/* Public key subkey */
#define PGP_PACKET_USERATTR	17		/* User attributes */
#define PGP_PACKET_ENCR_MDC	18		/* Encrypted data with MDC */
#define PGP_PACKET_MDC		19		/* MDC */

/* PGP signature subpacket types */

#define PGP_SUBPACKET_TIME	2		/* Signing time */
#define PGP_SUBPACKET_KEYID	16		/* Key ID */
#define PGP_SUBPACKET_TYPEANDVALUE 20	/* Type-and-value pairs */
#define PGP_SUBPACKET_LAST	29		/* Last valid subpacket type */

/* A special-case packet type that denotes a signature that follows on from 
   a one-pass signature packet.  When generating a signature of this type PGP
   splits the information in the normal signature packet across the one-pass
   signature packet and the signature packet itself, so we have to read the 
   data on two parts, with half the information in the one-pass packet and 
   the other half in the signature packet */

#define PGP_PACKET_SIGNATURE_SPECIAL	1002

/* PGP CTB information.  All CTBs have the MSB set, and OpenPGP CTBs have the
   next-to-MSB set.  We also have a special-case CTB which is used for
   indefinite-length compressed data */

#define PGP_CTB				0x80	/* PGP 2.x CTB template */
#define PGP_CTB_OPENPGP		0xC0	/* OpenPGP CTB template */
#define PGP_CTB_COMPRESSED	0xA3	/* Compressed indef-length data */

/* A macro to extract the packet type from the full CTB */

#define getCTB( ctb )		( ( ( ctb & PGP_CTB_OPENPGP ) == PGP_CTB_OPENPGP ) ? \
							  ( ctb & 0x3F ) : ( ( ctb >> 2 ) & 0x0F ) )

/* A macro to check whether a packet is a private packet type */

#define isPrivatePacket( type ) \
							( ( type ) >= 60 && ( type ) <= 63 )

/* Version information */

#define PGP_VERSION_2		2		/* Version number byte for PGP 2.0 */
#define PGP_VERSION_3		3		/* Version number byte for legal-kludged PGP 2.0 */
#define PGP_VERSION_OPENPGP	4		/* Version number for OpenPGP */

/* Public-key algorithms */

#define PGP_ALGO_RSA		1		/* RSA algorithm */
#define PGP_ALGO_RSA_ENCRYPT 2		/* RSA encrypt-only */
#define PGP_ALGO_RSA_SIGN	3		/* RSA sign-only */
#define PGP_ALGO_ELGAMAL	16		/* ElGamal algorithm */
#define PGP_ALGO_DSA		17		/* DSA signature algorithm */

/* Conventional encryption algorithms */

#define PGP_ALGO_NONE		0		/* No CKE algorithm */
#define PGP_ALGO_IDEA		1		/* IDEA cipher */
#define PGP_ALGO_3DES		2		/* Triple DES */
#define PGP_ALGO_CAST5		3		/* CAST-128 */
#define PGP_ALGO_BLOWFISH	4		/* Blowfish */
#define PGP_ALGO_SAFERSK	5		/* Safer-SK */
#define PGP_ALGO_RESERVED1	6		/* Reserved/never used */
#define PGP_ALGO_AES_128	7		/* AES with 128-bit key */
#define PGP_ALGO_AES_192	8		/* AES with 192-bit key */
#define PGP_ALGO_AES_256	9		/* AES with 256-bit key */
#define PGP_ALGO_TWOFISH	10		/* Twofish */

/* Hash algorithms */

#define PGP_ALGO_MD5		1		/* MD5 */
#define PGP_ALGO_SHA		2		/* SHA-1 */
#define PGP_ALGO_RIPEMD160	3		/* RIPEMD-160 */
#define PGP_ALGO_RESERVED2	4		/* Reserved/never used */
#define PGP_ALGO_MD2		5		/* MD2 */
#define PGP_ALGO_RESERVED3	6		/* Reserved/never used (Tiger/192) */
#define PGP_ALGO_RESERVED4	7		/* Reserved/never used (Haval) */
#define PGP_ALGO_SHA2_256	8		/* SHA-2 256bit */
#define PGP_ALGO_SHA2_384	9		/* SHA-2 384bit */
#define PGP_ALGO_SHA2_512	10		/* SHA-2 512bit */

/* Compression algorithms */

#define PGP_ALGO_ZIP		1		/* ZIP compression */
#define PGP_ALGO_ZLIB		2		/* zlib compression */

/* S2K specifier */

#define PGP_S2K				0xFF	/* Standard S2K */
#define PGP_S2K_HASHED		0xFE	/* S2K with hashed key */

/* Signed data types */

#define PGP_SIG_DATA		0x00	/* Binary data */
#define PGP_SIG_TEXT		0x01	/* Canonicalised text data */
#define	PGP_SIG_CERT0		0x10	/* Key certificate, unknown assurance */
#define	PGP_SIG_CERT1		0x11	/* Key certificate, no assurance */
#define	PGP_SIG_CERT2		0x12	/* Key certificate, casual assurance */
#define	PGP_SIG_CERT3		0x13	/* Key certificate, strong assurance */
#define PGP_SIG_KRL			0x20	/* Key revocation */
#define PGP_SIG_CRL			0x30	/* Certificate revocation */
#define	PGP_SIG_TS			0x40	/* Timestamp signature */

/* The maximum size of an MPI (4096 bits) */

#define PGP_MAX_MPISIZE		512

/* The maximum size of a PGP user ID.  Note that this is larger than the
   cryptlib-wide maximum user ID size */

#define PGP_MAX_USERIDSIZE	256

/* The size of the IV used for PGP's weird CFB mode */

#define PGP_IVSIZE			8

/* The size of the salt used for password hashing and the number of 
   setup "iterations".  This isn't a true iteration count but the number of 
   salt+password bytes hashed, and in fact it isn't even that but the
   actual count scaled by dividing it by 64, which is how PGP encodes the
   count in the data packet */

#define PGP_SALTSIZE		8
#define PGP_ITERATIONS		1024

/* Various PGP packet header sizes, used to estimate how much data we still 
   need to process */

#define PGP_MIN_HEADER_SIZE	2		/* CTB + length */
#define PGP_MAX_HEADER_SIZE	6		/* CTB + 0xFF + 4-byte length */
#define PGP_DATA_HEADER		"b\x00\x00\x00\x00\x00"
#define PGP_DATA_HEADER_SIZE ( 1 + 1 + 4 )
#define PGP_MDC_PACKET_SIZE	( 1 + 1 + 20 )	/* Size of MDC packet */

/* Since PGP only provides a subset of cryptlib's algorithm types and uses
   different identifiers, we have to both check that there's a mapping
   possible and map from one to the other.  When going from PGP -> cryptlib
   we specify both the algorithm ID and the algorithm class we expect to 
   find it in to allow type checking */

typedef enum {
	PGP_ALGOCLASS_NONE,		/* No algorithm class */
	PGP_ALGOCLASS_CRYPT,	/* Conventional encryption algorithms */
	PGP_ALGOCLASS_PWCRYPT,	/* Password-based encryption algorithms */
	PGP_ALGOCLASS_PKCCRYPT,	/* PKC algorithms */
	PGP_ALGOCLASS_SIGN,		/* Signature algorithms */
	PGP_ALGOCLASS_HASH,		/* Hash algorithms */
	PGP_ALGOCLASS_LAST		/* Last possible algorithm class */
	} PGP_ALGOCLASS_TYPE;

CRYPT_ALGO_TYPE pgpToCryptlibAlgo( const int pgpAlgo, 
								   const PGP_ALGOCLASS_TYPE pgpAlgoClass );
int cryptlibToPgpAlgo( const CRYPT_ALGO_TYPE cryptlibAlgo );

/* Prototypes for functions in pgp_misc.c */

int pgpPasswordToKey( CRYPT_CONTEXT cryptContext, const int optKeyLength,
					  const char *password, const int passwordLength, 
					  const CRYPT_ALGO_TYPE hashAlgo, const BYTE *salt, 
					  const int iterations );
int pgpProcessIV( const CRYPT_CONTEXT iCryptContext, BYTE *ivInfo,
				  const int ivSize, const BOOLEAN isEncrypt, 
				  const BOOLEAN resyncIV );
int pgpReadMPI( STREAM *stream, BYTE *data );
int pgpWriteMPI( STREAM *stream, const BYTE *data, const int length );
#define sizeofMPI( length )		( ( length ) + 2 )

#endif /* _PGP_DEFINED */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一级二级三级在线免费观看| 91一区二区在线| 亚洲福中文字幕伊人影院| 欧美激情中文字幕一区二区| 日韩女优毛片在线| 欧美成人女星排名| 久久久无码精品亚洲日韩按摩| 精品国产制服丝袜高跟| 久久久久久亚洲综合影院红桃| 久久婷婷一区二区三区| 国产精品少妇自拍| 亚洲激情在线激情| 视频一区中文字幕| 极品美女销魂一区二区三区| 狠狠色丁香婷婷综合久久片| 床上的激情91.| 99re这里都是精品| 欧美高清性hdvideosex| 久久视频一区二区| 亚洲男人的天堂一区二区 | 久久国产精品99久久久久久老狼| 久久激情五月激情| 国产一区在线观看视频| 99久久99久久久精品齐齐| 欧美午夜一区二区三区免费大片| 日韩欧美国产综合| 国产精品欧美久久久久无广告| 亚洲国产综合在线| 国产91对白在线观看九色| 日本韩国视频一区二区| 精品国产123| 一区二区免费看| 国产一区欧美二区| 欧美视频精品在线| 中文字幕精品一区| 麻豆精品视频在线观看| 不卡av在线免费观看| 日韩亚洲欧美在线观看| 成人欧美一区二区三区黑人麻豆 | 国产91富婆露脸刺激对白| 欧美三级韩国三级日本一级| 久久―日本道色综合久久| 亚洲小说欧美激情另类| 国产成人无遮挡在线视频| 欧美一区二区三区视频免费播放| 国产精品久久久久三级| 久久成人久久鬼色| 欧美日韩国产首页在线观看| 中文字幕色av一区二区三区| 精品一区二区三区香蕉蜜桃| 欧美日韩国产三级| 亚洲免费在线电影| 成人黄色在线视频| 久久久久久久综合狠狠综合| 日本成人在线电影网| 91久久精品网| 成人欧美一区二区三区| 国产成人啪免费观看软件| 欧美成人性福生活免费看| 亚洲a一区二区| 91精品1区2区| 樱花草国产18久久久久| 色综合久久久久综合99| 国产精品麻豆久久久| 国产精品一二三四| 久久久亚洲国产美女国产盗摄| 精品一区二区三区视频在线观看| 91精品国产综合久久蜜臀| 午夜精品久久久久久久久久 | 日本视频一区二区| 91麻豆精品国产91久久久更新时间 | 国产婷婷一区二区| 国产一区二区三区久久悠悠色av| 日韩精品一区二区三区老鸭窝| 香蕉久久一区二区不卡无毒影院| 欧美视频一二三区| 日韩影视精彩在线| 欧美大尺度电影在线| 国内精品免费**视频| 国产欧美一区视频| 99久久精品一区| 亚洲在线视频一区| 555www色欧美视频| 日本中文字幕一区二区视频| 日韩精品专区在线影院重磅| 国内不卡的二区三区中文字幕| 久久久久久麻豆| 91年精品国产| 午夜精品福利一区二区三区蜜桃| 91 com成人网| 国产成人日日夜夜| 一区二区三区高清在线| 91精品国产高清一区二区三区蜜臀| 免费观看日韩av| 国产午夜精品久久久久久免费视| 97久久精品人人做人人爽| 亚洲第一福利视频在线| 欧美sm极限捆绑bd| 99久久久精品免费观看国产蜜| 亚洲国产中文字幕在线视频综合| 欧美一级精品在线| 不卡一区二区在线| 日日夜夜免费精品| 中文字幕精品一区| 91精品国产91久久久久久一区二区| 久久精品国产一区二区三区免费看| 国产丝袜美腿一区二区三区| 欧美性videosxxxxx| 经典三级在线一区| 中文字幕一区二区三| 5月丁香婷婷综合| av色综合久久天堂av综合| 日韩av在线免费观看不卡| 国产欧美综合在线观看第十页| 精品日韩欧美一区二区| bt7086福利一区国产| 日本在线不卡一区| 亚洲精品中文在线| 久久久蜜桃精品| 91精品啪在线观看国产60岁| 99久久久国产精品免费蜜臀| 黑人精品欧美一区二区蜜桃| 亚洲大片在线观看| 国产精品视频线看| 精品处破学生在线二十三| 欧美喷潮久久久xxxxx| 成人福利视频网站| 国产精品白丝jk黑袜喷水| 污片在线观看一区二区| 亚洲精品自拍动漫在线| 国产精品丝袜黑色高跟| 精品国产一区二区三区久久影院| 欧美日韩精品一区视频| 色综合久久久久| 99久久国产免费看| www.欧美色图| 成人禁用看黄a在线| 国产精品一区二区三区99| 久久精品99国产精品日本| 亚洲va欧美va国产va天堂影院| 国产精品成人一区二区艾草 | 日本二三区不卡| 99久久免费国产| 99国产精品99久久久久久| 成人免费视频一区| 成人美女视频在线观看18| 国产精品资源在线观看| 韩国精品主播一区二区在线观看| 日韩av网站在线观看| 免费观看一级特黄欧美大片| 免费观看30秒视频久久| 奇米在线7777在线精品 | 国产精品免费久久| 欧美精彩视频一区二区三区| 欧美国产精品v| 国产精品二三区| 亚洲私人黄色宅男| 樱花草国产18久久久久| 亚洲大尺度视频在线观看| 午夜精品一区二区三区免费视频 | 亚洲免费伊人电影| 亚洲午夜久久久久久久久久久| 亚洲一区二区三区四区中文字幕| 一区二区三区蜜桃网| 丝袜a∨在线一区二区三区不卡| 日本午夜一区二区| 国产一区二区调教| aaa亚洲精品一二三区| 色婷婷久久久亚洲一区二区三区| 欧美中文字幕一区二区三区亚洲| 欧美日韩国产123区| 日韩欧美一级二级三级| 亚洲国产精品成人综合| 一区二区三区在线高清| 日韩国产在线观看| 本田岬高潮一区二区三区| 欧美色手机在线观看| 欧美va亚洲va| 亚洲精品国久久99热| 久久精品国产澳门| jizz一区二区| 日韩一区二区三区视频| 国产精品初高中害羞小美女文| 天天影视网天天综合色在线播放| 国产精品影音先锋| 欧美日韩在线精品一区二区三区激情| 日韩视频在线观看一区二区| 亚洲欧洲av另类| 久久精品国产一区二区三| 色欧美片视频在线观看在线视频| 日韩精品一区二区三区中文精品| 国产精品久线在线观看| 免费观看一级欧美片| 色成年激情久久综合| 久久影院电视剧免费观看| 亚洲图片一区二区| 99re这里只有精品首页| 久久麻豆一区二区| 日韩av在线发布| 精品视频1区2区3区|