From 8ed8d6c21dffcb4202fdd592138f15cbc80355ea Mon Sep 17 00:00:00 2001 From: Erwin Nindl Date: Fri, 22 Jun 2007 15:27:40 +0000 Subject: added srtp/crypto/*.o to makefile --- cypher.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'cypher.cpp') diff --git a/cypher.cpp b/cypher.cpp index 58b433f..909b229 100644 --- a/cypher.cpp +++ b/cypher.cpp @@ -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; +} + + -- cgit v1.2.3