diff options
author | Erwin Nindl <nine@wirdorange.org> | 2007-06-22 15:27:40 +0000 |
---|---|---|
committer | Erwin Nindl <nine@wirdorange.org> | 2007-06-22 15:27:40 +0000 |
commit | 8ed8d6c21dffcb4202fdd592138f15cbc80355ea (patch) | |
tree | 0092058aba6de10350f5c33835084c964e5832f4 /cypher.cpp | |
parent | added libsrtp to svn (diff) |
added srtp/crypto/*.o to makefile
Diffstat (limited to 'cypher.cpp')
-rw-r--r-- | cypher.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -34,6 +34,10 @@ #include "cypher.h" +extern "C" { +#include "srtp/crypto/include/cipher.h" +} + void Cypher::cypher(Buffer& buf) { Buffer stream = getBitStream(buf.getLength()); @@ -57,4 +61,11 @@ Buffer NullCypher::getBitStream(u_int32_t length) buf[i] = 0; return buf; } - + +Buffer AesIcmCypher::getBitStream(u_int32_t length) +{ + Buffer buf(length); + return buf; +} + + |