summaryrefslogtreecommitdiff
path: root/cypher.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2007-06-17 22:25:20 +0000
committerChristian Pointner <equinox@anytun.org>2007-06-17 22:25:20 +0000
commit261c9067380c5311c98e3576540eee6015be3297 (patch)
treef384eb8edbcc4d35793071090839453bcb4418a4 /cypher.h
parentadded cypher and authalgo (diff)
added [] - operator to Buffer
const Buffers are now possible
Diffstat (limited to 'cypher.h')
-rw-r--r--cypher.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cypher.h b/cypher.h
index f1ef8bf..a0ab6e4 100644
--- a/cypher.h
+++ b/cypher.h
@@ -42,7 +42,7 @@ public:
void cypher(Buffer& buf);
protected:
- void calc(u_int8_t* buf, u_int8_t* bit_stream, u_int32_t length);
+ void exor(Buffer& buf, const Buffer& bit_stream);
virtual Buffer getBitStream(u_int32_t length) = 0;
};