pgpciphrmod.h

来自「pgp soucecode pgp soucecode」· C头文件 代码 · 共 47 行

H
47
字号
/*
 * pgpCiphrMod.h -- secret-key cipher module
 *
 * Written by:	Derek Atkins <warlord@MIT.EDU>
 *
 * $Id: pgpCiphrMod.h,v 1.16 1999/04/14 05:47:32 hal Exp $
 */

#ifndef Included_pgpCiphrMod_h
#define Included_pgpCiphrMod_h

#include "pgpUsuals.h"
#include "pgpEnv.h"

PGP_BEGIN_C_DECLARATIONS


/*
 * Create a Cfb Decryption Module using the passed-in PGPCFBContext.
 * This module assumes control of the PGPCFBContext and
 * will clear/free it upon teardown.
 */
PGPPipeline  **
pgpCipherModDecryptCreate ( PGPContextRef	cdkContext,
		PGPPipeline **head,
	 	PGPCFBContext *cfb, PGPEnv const *env,
		PGPHashAlgorithm hashAlg,
		PGPSize hashSize);

/*
 * Create a Cfb Encryption Module using the passed-in PGPCFBContext.
 * The user must pass in an 8-byte iv, which will be encrypted into the
 * stream.  The Cipher Module assumes control of the PGPCFBContext 
 * and will clear/free it upon teardown.
 */
PGPPipeline  **
pgpCipherModEncryptCreate ( PGPContextRef	cdkContext,
				PGPPipeline **head, PgpVersion version,
			   PGPFifoDesc const *fd,
			   PGPCFBContext *cfb,
			   PGPByte const iv[MAXIVLEN],
			   PGPEnv const *env);

PGP_END_C_DECLARATIONS

#endif /* Included_pgpCiphrMod_h */

⌨️ 快捷键说明

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