Mercurial > pidgin.yaz
comparison plugins/perl/common/Cipher.xs @ 11183:8dca96cbcd64
[gaim-migrate @ 13295]
I changed the cipher API to use guchar instead of guint8
This seems to be what gtk/glib uses for random bits of data
I don't know what got into me
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 03 Aug 2005 02:57:00 +0000 |
parents | 3f3bc7f1b6bf |
children | ff4884029708 |
comparison
equal
deleted
inserted
replaced
11182:5389d7d497ce | 11183:8dca96cbcd64 |
---|---|
19 Gaim::Cipher cipher | 19 Gaim::Cipher cipher |
20 | 20 |
21 gboolean | 21 gboolean |
22 gaim_cipher_digest_region(name, data, data_len, in_len, digest, out_len) | 22 gaim_cipher_digest_region(name, data, data_len, in_len, digest, out_len) |
23 const gchar * name | 23 const gchar * name |
24 const guint8 * data | 24 const guchar * data |
25 size_t data_len | 25 size_t data_len |
26 size_t in_len | 26 size_t in_len |
27 guint8 &digest | 27 guchar &digest |
28 size_t * out_len | 28 size_t * out_len |
29 | 29 |
30 Gaim::Cipher | 30 Gaim::Cipher |
31 gaim_ciphers_find_cipher(name) | 31 gaim_ciphers_find_cipher(name) |
32 gchar * name | 32 gchar * name |
89 Gaim::Cipher::Context context | 89 Gaim::Cipher::Context context |
90 | 90 |
91 void | 91 void |
92 gaim_cipher_context_set_iv(context, iv, len) | 92 gaim_cipher_context_set_iv(context, iv, len) |
93 Gaim::Cipher::Context context | 93 Gaim::Cipher::Context context |
94 guint8 * iv | 94 guchar * iv |
95 size_t len | 95 size_t len |
96 | 96 |
97 void | 97 void |
98 gaim_cipher_context_append(context, data, len) | 98 gaim_cipher_context_append(context, data, len) |
99 Gaim::Cipher::Context context | 99 Gaim::Cipher::Context context |
100 guint8 * data | 100 guchar * data |
101 size_t len | 101 size_t len |
102 | 102 |
103 gboolean | 103 gboolean |
104 gaim_cipher_context_digest(context, in_len, digest, out_len) | 104 gaim_cipher_context_digest(context, in_len, digest, out_len) |
105 Gaim::Cipher::Context context | 105 Gaim::Cipher::Context context |
106 size_t in_len | 106 size_t in_len |
107 guint8 &digest | 107 guchar &digest |
108 size_t &out_len | 108 size_t &out_len |
109 | 109 |
110 gboolean | 110 gboolean |
111 gaim_cipher_context_digest_to_str(context, in_len, digest_s, out_len) | 111 gaim_cipher_context_digest_to_str(context, in_len, digest_s, out_len) |
112 Gaim::Cipher::Context context | 112 Gaim::Cipher::Context context |
113 size_t in_len | 113 size_t in_len |
114 guint8 &digest_s | 114 guchar &digest_s |
115 size_t &out_len | 115 size_t &out_len |
116 | 116 |
117 gint | 117 gint |
118 gaim_cipher_context_encrypt(context, data, len, output, outlen) | 118 gaim_cipher_context_encrypt(context, data, len, output, outlen) |
119 Gaim::Cipher::Context context | 119 Gaim::Cipher::Context context |
120 guint8 &data | 120 guchar &data |
121 size_t len | 121 size_t len |
122 guint8 &output | 122 guchar &output |
123 size_t &outlen | 123 size_t &outlen |
124 | 124 |
125 gint | 125 gint |
126 gaim_cipher_context_decrypt(context, data, len, output, outlen) | 126 gaim_cipher_context_decrypt(context, data, len, output, outlen) |
127 Gaim::Cipher::Context context | 127 Gaim::Cipher::Context context |
128 guint8 &data | 128 guchar &data |
129 size_t len | 129 size_t len |
130 guint8 &output | 130 guchar &output |
131 size_t &outlen | 131 size_t &outlen |
132 | 132 |
133 void | 133 void |
134 gaim_cipher_context_set_salt(context, salt) | 134 gaim_cipher_context_set_salt(context, salt) |
135 Gaim::Cipher::Context context | 135 Gaim::Cipher::Context context |
136 guint8 *salt | 136 guchar *salt |
137 | 137 |
138 size_t | 138 size_t |
139 gaim_cipher_context_get_salt_size(context) | 139 gaim_cipher_context_get_salt_size(context) |
140 Gaim::Cipher::Context context | 140 Gaim::Cipher::Context context |
141 | 141 |
142 void | 142 void |
143 gaim_cipher_context_set_key(context, key) | 143 gaim_cipher_context_set_key(context, key) |
144 Gaim::Cipher::Context context | 144 Gaim::Cipher::Context context |
145 guint8 *key | 145 guchar *key |
146 | 146 |
147 size_t | 147 size_t |
148 gaim_cipher_context_get_key_size(context) | 148 gaim_cipher_context_get_key_size(context) |
149 Gaim::Cipher::Context context | 149 Gaim::Cipher::Context context |
150 | 150 |