diff options
author | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-11-26 14:19:43 +0000 |
---|---|---|
committer | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-11-26 14:19:43 +0000 |
commit | 7aff1e4cb053394db57c2814d5fe1e6493e0cc75 (patch) | |
tree | c8585e44049b37e4da152495c954242204c2c38d /cryptopp/PGPw/sdk8/include/pgpCBC.h | |
parent | 6f3d69266933ef120d229e0daf2da164b77214d0 (diff) |
Project folders rename part 2
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@214 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'cryptopp/PGPw/sdk8/include/pgpCBC.h')
-rw-r--r-- | cryptopp/PGPw/sdk8/include/pgpCBC.h | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/cryptopp/PGPw/sdk8/include/pgpCBC.h b/cryptopp/PGPw/sdk8/include/pgpCBC.h deleted file mode 100644 index 26ae61d..0000000 --- a/cryptopp/PGPw/sdk8/include/pgpCBC.h +++ /dev/null @@ -1,82 +0,0 @@ -/*____________________________________________________________________________ - Copyright (C) 2002 PGP Corporation - All rights reserved. - - $Id: pgpCBC.h,v 1.6 2002/08/06 20:11:16 dallen Exp $ -____________________________________________________________________________*/ - -#ifndef Included_pgpCBC_h /* [ */ -#define Included_pgpCBC_h - -#include "pgpSymmetricCipher.h" - - -PGP_BEGIN_C_DECLARATIONS - -/*____________________________________________________________________________ - A CBC context requires use of a symmetric cipher which has been created - and whose key has been set. An error will be returned if this is not - the case. - - After the call, the CBCContextRef "owns" the - symmetric ref and will dispose of it properly (even if an error - occurs). The caller should no longer reference it. -____________________________________________________________________________*/ - -PGPError PGPNewCBCContext( PGPSymmetricCipherContextRef ref, - PGPCBCContextRef *outRef ); - -/*____________________________________________________________________________ - Disposal clears all data in memory before releasing it. -____________________________________________________________________________*/ - -PGPError PGPFreeCBCContext( PGPCBCContextRef ref ); - -/*____________________________________________________________________________ - Make an exact copy, including current state. Original is not changed. -____________________________________________________________________________*/ - -PGPError PGPCopyCBCContext( PGPCBCContextRef ref, PGPCBCContextRef *outRef ); - -/*____________________________________________________________________________ - IV size is implicit (same size as the symmetric cipher block size). - IV is *copied*. - Caller may want to destroy the original after passing it in. -____________________________________________________________________________*/ - -PGPError PGPInitCBC( PGPCBCContextRef ref, const void *key, - const void *initializationVector ); - -/*____________________________________________________________________________ - Call repeatedly to process arbitrary amounts of data. Each call must - have bytesIn be a multiple of the cipher block size. -____________________________________________________________________________*/ - -PGPError PGPCBCEncrypt( PGPCBCContextRef ref, const void *in, - PGPSize bytesIn, void *out ); - -PGPError PGPCBCDecrypt( PGPCBCContextRef ref, const void *in, - PGPSize bytesIn, void *out ); - -/*____________________________________________________________________________ - Get the symmetric cipher being used for this CBC context. - You can use this to determine useful things about the underlying cipher - such as its block size. -____________________________________________________________________________*/ - -PGPError PGPCBCGetSymmetricCipher( PGPCBCContextRef ref, - PGPSymmetricCipherContextRef *outRef ); - -PGP_END_C_DECLARATIONS - -#endif /* ] Included_pgpCBC_h */ - - -/*__Editor_settings____ - - Local Variables: - tab-width: 4 - End: - vi: ts=4 sw=4 - vim: si -_____________________*/ |