audio: removed session and dialog data form sipe_media_call_private
[siplcs.git] / src / api / sipe-crypt.h
blobd84de64429f17fbcc522af276791303309a4f880
1 /**
2 * @file sipe-crypt.h
4 * pidgin-sipe
6 * Copyright (C) 2010 SIPE Project <http://sipe.sourceforge.net/>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 void sipe_crypt_des(const guchar *key,
24 const guchar *plaintext, gsize plaintext_length,
25 guchar *encrypted_text);
27 void sipe_crypt_rc4(const guchar *key, gsize key_length,
28 const guchar *plaintext, gsize plaintext_length,
29 guchar *encrypted_text);
31 /* Stream RC4 cipher for file transfer */
32 gpointer sipe_crypt_ft_start(const guchar *key);
33 void sipe_crypt_ft_stream(gpointer context,
34 const guchar *in, gsize length,
35 guchar *out);
36 void sipe_crypt_ft_destroy(gpointer context);