28 #ifndef __CASYMCIPHERNULL__
29 #define __CASYMCIPHERNULL__
47 #ifndef ONLY_LOCAL_PROXY
90 memmove(out, in,
len);
96 memmove(out, in,
len);
SINT32 waitForDestroy()
If called checks if the reference counter equals zero.
This class implemtns the symmetric channel cipher interface - but does not do eny encryption!...
SINT32 crypt2(const UINT8 *in, UINT8 *out, UINT32 len)
SINT32 setIV2(const UINT8 *p_iv)
Sets iv2 to p_iv.
SINT32 setIVs(const UINT8 *p_iv)
Sets iv1 and iv2 to p_iv.
SINT32 crypt1(const UINT8 *in, UINT8 *out, UINT32 len)
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...
SINT32 setKey(const UINT8 *key)
Sets the keys for crypt1() and crypt2() to the same key.