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

📄 pbe12.h

📁 PGP8.0源码 请认真阅读您的文件包然后写出其具体功能
💻 H
字号:
/* Copyright (C) 2002 PGP Corporation
   Author: Michael_Elkins@nai.com
   Last Edit: April 9, 1999 */

/* internal header file for pkcs-12 library */

#include "libpkcs12.h"

#include "pkcs12_asn.h"
#include "pkcs12_oid.h"

#include "x509CMS.h"

#include "pgpErrors.h"
#include "pgpMemoryMgr.h"
#include "pgpErrors.h"
#include "pgpPFLErrors.h"
#include "pgpHash.h"
#include "pgpHMAC.h"
#include "pgpCBC.h"

#define kPGPPBEIDEncryptKey	0x01
#define kPGPPBEIDIV		0x02
#define kPGPPBEIDMACKey		0x03

PGPError
pbe12GenerateRandomBits (
    PGPContextRef	context,
    PGPHashAlgorithm	alg,
    unsigned char	id,
    size_t		iterationCount,
    const unsigned char	*salt,
    size_t		saltSize,
    const unsigned char	*password,
    size_t		passwordSize,
    size_t		n,		/* [IN] n, num of random bytes */
    unsigned char	**A);		/* [OUT] random bit string */

PGPError
pbe12ASCIIToBMPString (
    PKICONTEXT		*context,
    const unsigned char	*ascii,
    size_t		asciilen,
    unsigned char	**bmp,
    size_t		*bmplen);

⌨️ 快捷键说明

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