| Mixes for Privacy and Anonymity in the Internet
    | 
This class implemtns the symmetric channel cipher interface - but does not do eny encryption!. More...
 
  
| Public Member Functions | |
| CASymCipherNull () | |
| ~CASymCipherNull () | |
| bool | isKeyValid () | 
| SINT32 | setKey (const UINT8 *key) | 
| Sets the keys for crypt1() and crypt2() to the same key.  More... | |
| SINT32 | setKeys (const UINT8 *key, UINT32 keysize) | 
| Sets the keys for crypt1() and crypt2() either to the same key (if keysize==KEY_SIZE) or to different values, if keysize==2* KEY_SIZE.  More... | |
| SINT32 | setIVs (const UINT8 *p_iv) | 
| Sets iv1 and iv2 to p_iv.  More... | |
| SINT32 | setIV2 (const UINT8 *p_iv) | 
| Sets iv2 to p_iv.  More... | |
| SINT32 | crypt1 (const UINT8 *in, UINT8 *out, UINT32 len) | 
| SINT32 | crypt2 (const UINT8 *in, UINT8 *out, UINT32 len) | 
|  Public Member Functions inherited from CALockAble | |
| CALockAble () | |
| virtual | ~CALockAble () | 
| SINT32 | lock () | 
| Locks the lockable object by threadsafe incrementing a reference counter.  More... | |
| SINT32 | unlock () | 
| Unlocks the lockable object by threadsafe decrementing a reference counter.  More... | |
| Additional Inherited Members | |
|  Static Public Member Functions inherited from CASymChannelCipher | |
| static const UINT8 *const | getAlgorithmName (SYMCHANNELCIPHER_ALGORITHM alg) | 
|  Protected Member Functions inherited from CALockAble | |
| SINT32 | waitForDestroy () | 
| If called checks if the reference counter equals zero.  More... | |
This class implemtns the symmetric channel cipher interface - but does not do eny encryption!.
| CASymCipherNull::CASymCipherNull | ( | ) | 
| CASymCipherNull::~CASymCipherNull | ( | ) | 
References CALockAble::waitForDestroy().
Implements CASymChannelCipher.
Implements CASymChannelCipher.
| 
 | virtual | 
Implements CASymChannelCipher.
Sets iv2 to p_iv.
| p_iv | 16 random bytes used for new iv2. | 
| E_SUCCESS | 
Implements CASymChannelCipher.
References E_SUCCESS.
Sets iv1 and iv2 to p_iv.
| p_iv | 16 random bytes used for new iv1 and iv2. | 
| E_SUCCESS | 
Implements CASymChannelCipher.
References E_SUCCESS.
Sets the keys for crypt1() and crypt2() to the same key.
Implements CASymChannelCipher.
References E_SUCCESS.