| 5 |
5 |
| 6 const gchar * |
6 const gchar * |
| 7 gaim_cipher_get_name(cipher) |
7 gaim_cipher_get_name(cipher) |
| 8 Gaim::Cipher cipher |
8 Gaim::Cipher cipher |
| 9 |
9 |
| 10 guint |
10 guint |
| 11 gaim_cipher_get_capabilities(cipher) |
11 gaim_cipher_get_capabilities(cipher) |
| 12 Gaim::Cipher cipher |
12 Gaim::Cipher cipher |
| 13 |
13 |
| 14 gboolean |
14 gboolean |
| 15 gaim_cipher_digest_region(name, data, data_len, in_len, digest, out_len) |
15 gaim_cipher_digest_region(name, data, data_len, in_len, digest, out_len) |
| 16 const gchar * name |
16 const gchar * name |
| 17 const guchar * data |
17 const guchar * data |
| 18 size_t data_len |
18 size_t data_len |
| 19 size_t in_len |
19 size_t in_len |
| 20 guchar &digest |
20 guchar &digest |
| 21 size_t * out_len |
21 size_t * out_len |
| |
22 |
| |
23 MODULE = Gaim::Cipher PACKAGE = Gaim::Ciphers PREFIX = gaim_ciphers_ |
| |
24 PROTOTYPES: ENABLE |
| 22 |
25 |
| 23 Gaim::Cipher |
26 Gaim::Cipher |
| 24 gaim_ciphers_find_cipher(name) |
27 gaim_ciphers_find_cipher(name) |
| 25 gchar * name |
28 gchar * name |
| 26 |
29 |
| 27 Gaim::Cipher |
30 Gaim::Cipher |
| 28 gaim_ciphers_register_cipher(name, ops) |
31 gaim_ciphers_register_cipher(name, ops) |
| 29 gchar * name |
32 gchar * name |
| 30 Gaim::Cipher::Ops ops |
33 Gaim::Cipher::Ops ops |
| 31 |
34 |
| 32 gboolean |
35 gboolean |
| 33 gaim_ciphers_unregister_cipher(cipher) |
36 gaim_ciphers_unregister_cipher(cipher) |
| 34 Gaim::Cipher cipher |
37 Gaim::Cipher cipher |
| 35 |
38 |
| 36 void |
39 void |
| 37 gaim_ciphers_get_ciphers() |
40 gaim_ciphers_get_ciphers() |
| 40 PPCODE: |
43 PPCODE: |
| 41 for (l = gaim_ciphers_get_ciphers(); l != NULL; l = l->next) { |
44 for (l = gaim_ciphers_get_ciphers(); l != NULL; l = l->next) { |
| 42 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Cipher"))); |
45 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Cipher"))); |
| 43 } |
46 } |
| 44 |
47 |
| 45 gpointer |
48 gpointer |
| 46 gaim_ciphers_get_handle() |
49 gaim_ciphers_get_handle() |
| 47 |
50 |
| 48 void |
51 void |
| 49 gaim_ciphers_init() |
52 gaim_ciphers_init() |
| 50 |
53 |
| 51 void |
54 void |
| 52 gaim_ciphers_uninit() |
55 gaim_ciphers_uninit() |
| 53 |
56 |
| 54 void |
57 MODULE = Gaim::Cipher PACKAGE = Gaim::Cipher::Context PREFIX = gaim_cipher_context_ |
| |
58 PROTOTYPES: ENABLE |
| |
59 |
| |
60 void |
| 55 gaim_cipher_context_set_option(context, name, value) |
61 gaim_cipher_context_set_option(context, name, value) |
| 56 Gaim::Cipher::Context context |
62 Gaim::Cipher::Context context |
| 57 gchar *name |
63 gchar *name |
| 58 gpointer value |
64 gpointer value |
| 59 |
65 |
| 60 gpointer |
66 gpointer |
| 61 gaim_cipher_context_get_option(context, name) |
67 gaim_cipher_context_get_option(context, name) |
| 62 Gaim::Cipher::Context context |
68 Gaim::Cipher::Context context |
| 63 gchar *name |
69 gchar *name |
| 64 |
70 |
| 65 Gaim::Cipher::Context |
71 Gaim::Cipher::Context |
| 66 gaim_cipher_context_new(cipher, extra) |
72 gaim_cipher_context_new(cipher, extra) |
| 67 Gaim::Cipher cipher |
73 Gaim::Cipher cipher |
| 68 void *extra |
74 void *extra |
| 69 |
75 |
| 70 Gaim::Cipher::Context |
76 Gaim::Cipher::Context |
| 71 gaim_cipher_context_new_by_name(name, extra) |
77 gaim_cipher_context_new_by_name(name, extra) |
| 72 gchar *name |
78 gchar *name |
| 73 void *extra |
79 void *extra |
| 74 |
80 |
| 75 void |
81 void |
| 76 gaim_cipher_context_reset(context, extra) |
82 gaim_cipher_context_reset(context, extra) |
| 77 Gaim::Cipher::Context context |
83 Gaim::Cipher::Context context |
| 78 gpointer extra |
84 gpointer extra |
| 79 |
85 |
| 80 void |
86 void |
| 81 gaim_cipher_context_destroy(context) |
87 gaim_cipher_context_destroy(context) |
| 82 Gaim::Cipher::Context context |
88 Gaim::Cipher::Context context |
| 83 |
89 |
| 84 void |
90 void |
| 85 gaim_cipher_context_set_iv(context, iv, len) |
91 gaim_cipher_context_set_iv(context, iv, len) |
| 86 Gaim::Cipher::Context context |
92 Gaim::Cipher::Context context |
| 87 guchar * iv |
93 guchar * iv |
| 88 size_t len |
94 size_t len |
| 89 |
95 |
| 90 void |
96 void |
| 91 gaim_cipher_context_append(context, data, len) |
97 gaim_cipher_context_append(context, data, len) |
| 92 Gaim::Cipher::Context context |
98 Gaim::Cipher::Context context |
| 93 guchar * data |
99 guchar * data |
| 94 size_t len |
100 size_t len |
| 95 |
101 |
| 96 gboolean |
102 gboolean |
| 97 gaim_cipher_context_digest(context, in_len, digest, out_len) |
103 gaim_cipher_context_digest(context, in_len, digest, out_len) |
| 98 Gaim::Cipher::Context context |
104 Gaim::Cipher::Context context |
| 99 size_t in_len |
105 size_t in_len |
| 100 guchar &digest |
106 guchar &digest |
| 101 size_t &out_len |
107 size_t &out_len |
| 102 |
108 |
| 103 gboolean |
109 gboolean |
| 104 gaim_cipher_context_digest_to_str(context, in_len, digest_s, out_len) |
110 gaim_cipher_context_digest_to_str(context, in_len, digest_s, out_len) |
| 105 Gaim::Cipher::Context context |
111 Gaim::Cipher::Context context |
| 106 size_t in_len |
112 size_t in_len |
| 107 gchar &digest_s |
113 gchar &digest_s |
| 108 size_t &out_len |
114 size_t &out_len |
| 109 |
115 |
| 110 gint |
116 gint |
| 111 gaim_cipher_context_encrypt(context, data, len, output, outlen) |
117 gaim_cipher_context_encrypt(context, data, len, output, outlen) |
| 112 Gaim::Cipher::Context context |
118 Gaim::Cipher::Context context |
| 113 guchar &data |
119 guchar &data |
| 114 size_t len |
120 size_t len |
| 115 guchar &output |
121 guchar &output |
| 116 size_t &outlen |
122 size_t &outlen |
| 117 |
123 |
| 118 gint |
124 gint |
| 119 gaim_cipher_context_decrypt(context, data, len, output, outlen) |
125 gaim_cipher_context_decrypt(context, data, len, output, outlen) |
| 120 Gaim::Cipher::Context context |
126 Gaim::Cipher::Context context |
| 121 guchar &data |
127 guchar &data |
| 122 size_t len |
128 size_t len |
| 123 guchar &output |
129 guchar &output |
| 124 size_t &outlen |
130 size_t &outlen |
| 125 |
131 |
| 126 void |
132 void |
| 127 gaim_cipher_context_set_salt(context, salt) |
133 gaim_cipher_context_set_salt(context, salt) |
| 128 Gaim::Cipher::Context context |
134 Gaim::Cipher::Context context |
| 129 guchar *salt |
135 guchar *salt |
| 130 |
136 |
| 131 size_t |
137 size_t |
| 132 gaim_cipher_context_get_salt_size(context) |
138 gaim_cipher_context_get_salt_size(context) |
| 133 Gaim::Cipher::Context context |
139 Gaim::Cipher::Context context |
| 134 |
140 |
| 135 void |
141 void |
| 136 gaim_cipher_context_set_key(context, key) |
142 gaim_cipher_context_set_key(context, key) |
| 137 Gaim::Cipher::Context context |
143 Gaim::Cipher::Context context |
| 138 guchar *key |
144 guchar *key |
| 139 |
145 |
| 140 size_t |
146 size_t |
| 141 gaim_cipher_context_get_key_size(context) |
147 gaim_cipher_context_get_key_size(context) |
| 142 Gaim::Cipher::Context context |
148 Gaim::Cipher::Context context |
| 143 |
149 |
| 144 void |
150 void |
| 145 gaim_cipher_context_set_data(context, data) |
151 gaim_cipher_context_set_data(context, data) |
| 146 Gaim::Cipher::Context context |
152 Gaim::Cipher::Context context |
| 147 gpointer data |
153 gpointer data |
| 148 |
154 |
| 149 gpointer |
155 gpointer |
| 150 gaim_cipher_context_get_data(context) |
156 gaim_cipher_context_get_data(context) |
| 151 Gaim::Cipher::Context context |
157 Gaim::Cipher::Context context |
| 152 |
|