28 #ifndef __CASYMCIPHER__
29 #define __CASYMCIPHER__
47 #ifdef INTEL_IPP_CRYPTO
49 ippsRijndael128GetSize(&size);
65 #ifndef ONLY_LOCAL_PROXY
68 #ifdef INTEL_IPP_CRYPTO
105 memcpy(
m_iv1,p_iv,16);
120 #ifdef INTEL_IPP_CRYPTO
#define INCLUDE_MIDDLE_MIX
From this class other classes could be derived, which need some kind from "locking" in memory.
SINT32 waitForDestroy()
If called checks if the reference counter equals zero.
This class could be used for encryption/decryption of data (streams) with AES using 128bit CBC mode.
SINT32 encryptCBCwithPKCS7(const UINT8 *in, UINT32 inlen, UINT8 *out, UINT32 *len)
En-/Decryptes in to out using IV1 and key1.
SINT32 setIV(const UINT8 *p_iv)
Sets iv to p_iv.
SINT32 setKey(const UINT8 *key)
Sets the key for encryption.
SINT32 decryptCBCwithPKCS7(const UINT8 *in, UINT8 *out, UINT32 *len)
En-/Decryptes in to out using iv1 and key1.