Searched refs:out_buf (Results 1 - 19 of 19) sorted by relevance

/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
H A Deap_tls_common.c62 os_free(data->out_buf);
117 if (data->out_buf == NULL) {
118 wpa_printf(MSG_ERROR, "SSL: out_buf NULL in %s", __func__);
123 send_len = wpabuf_len(data->out_buf) - data->out_used;
144 wpabuf_put_be32(req, wpabuf_len(data->out_buf));
146 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used,
150 if (data->out_used == wpabuf_len(data->out_buf)) {
154 wpabuf_free(data->out_buf);
155 data->out_buf = NULL;
161 (unsigned long) wpabuf_len(data->out_buf)
[all...]
H A Deap_tnc.c29 struct wpabuf *out_buf; member in struct:eap_tnc_data
68 wpabuf_free(data->out_buf);
196 send_len = wpabuf_len(data->out_buf) - data->out_used;
216 wpabuf_put_be32(req, wpabuf_len(data->out_buf));
218 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used,
222 if (data->out_used == wpabuf_len(data->out_buf)) {
226 wpabuf_free(data->out_buf);
227 data->out_buf = NULL;
232 (unsigned long) wpabuf_len(data->out_buf) -
250 if (data->out_buf
[all...]
H A Deap_ikev2.c27 struct wpabuf *out_buf; member in struct:eap_ikev2_data
130 wpabuf_free(data->out_buf);
145 send_len = wpabuf_len(data->out_buf) - data->out_used;
180 wpabuf_put_be32(req, wpabuf_len(data->out_buf));
182 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used,
195 if (data->out_used == wpabuf_len(data->out_buf)) {
199 wpabuf_free(data->out_buf);
200 data->out_buf = NULL;
205 (unsigned long) wpabuf_len(data->out_buf) -
220 if (data->out_buf
[all...]
H A Deap_wsc.c28 struct wpabuf *out_buf; member in struct:eap_wsc_data
145 wpabuf_free(data->out_buf);
179 send_len = wpabuf_len(data->out_buf) - data->out_used;
202 wpabuf_put_be16(req, wpabuf_len(data->out_buf));
204 wpabuf_put_data(req, wpabuf_head_u8(data->out_buf) + data->out_used,
208 if (data->out_used == wpabuf_len(data->out_buf)) {
212 wpabuf_free(data->out_buf);
213 data->out_buf = NULL;
219 (unsigned long) wpabuf_len(data->out_buf) -
236 if (data->out_buf
[all...]
H A Deap_tls_common.h29 struct wpabuf *out_buf; member in struct:eap_ssl_data
H A Deap_peap.c516 wpabuf_free(data->ssl.out_buf);
518 data->ssl.out_buf = eap_peap_build_phase2_req(sm, data, id);
522 wpabuf_free(data->ssl.out_buf);
524 data->ssl.out_buf = eap_peap_build_phase2_soh(sm, data, id);
528 wpabuf_free(data->ssl.out_buf);
530 data->ssl.out_buf = eap_peap_build_phase2_tlv(sm, data, id);
533 wpabuf_free(data->ssl.out_buf);
535 data->ssl.out_buf = eap_peap_build_phase2_term(sm, data, id,
539 wpabuf_free(data->ssl.out_buf);
541 data->ssl.out_buf
[all...]
H A Deap_fast.c823 if (data->ssl.out_buf && piggyback) {
828 (int) wpabuf_len(data->ssl.out_buf),
830 if (wpabuf_resize(&data->ssl.out_buf, wpabuf_len(encr)) < 0) {
836 wpabuf_put_buf(data->ssl.out_buf, encr);
839 wpabuf_free(data->ssl.out_buf);
841 data->ssl.out_buf = encr;
1478 wpabuf_len(data->ssl.out_buf) > 0)
H A Deap_ttls.c574 wpabuf_free(data->ssl.out_buf);
576 data->ssl.out_buf = eap_ttls_build_phase2_eap_req(sm, data,
580 wpabuf_free(data->ssl.out_buf);
582 data->ssl.out_buf = eap_ttls_build_phase2_mschapv2(sm, data);
585 wpabuf_free(data->ssl.out_buf);
587 data->ssl.out_buf = eap_ttls_build_phase_finished(sm, data, 1);
/external/openssl/apps/
H A Dpasswd.c312 static char out_buf[6 + 9 + 24 + 2]; /* "$apr1$..salt..$.......md5hash..........\0" */ local
321 out_buf[0] = '$';
322 out_buf[1] = 0;
324 strncat(out_buf, magic, 4);
325 strncat(out_buf, "$", 1);
326 strncat(out_buf, salt, 8);
327 assert(strlen(out_buf) <= 6 + 8); /* "$apr1$..salt.." */
328 salt_out = out_buf + 2 + strlen(magic);
391 assert(output == out_buf + strlen(out_buf));
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
H A Deap_ikev2.c27 struct wpabuf *out_buf; member in struct:eap_ikev2_data
115 wpabuf_free(data->out_buf);
149 send_len = wpabuf_len(data->out_buf) - data->out_used;
190 wpabuf_put_be32(resp, wpabuf_len(data->out_buf));
192 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used,
208 if (data->out_used == wpabuf_len(data->out_buf)) {
212 wpabuf_free(data->out_buf);
213 data->out_buf = NULL;
244 (unsigned long) wpabuf_len(data->out_buf) -
426 if (data->out_buf
[all...]
H A Deap_wsc.c29 struct wpabuf *out_buf; member in struct:eap_wsc_data
158 wpabuf_free(data->out_buf);
178 send_len = wpabuf_len(data->out_buf) - data->out_used;
198 wpabuf_put_be16(resp, wpabuf_len(data->out_buf));
200 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used,
207 if (data->out_used == wpabuf_len(data->out_buf)) {
211 wpabuf_free(data->out_buf);
212 data->out_buf = NULL;
224 (unsigned long) wpabuf_len(data->out_buf) -
419 if (data->out_buf
[all...]
H A Deap_tnc.c27 struct wpabuf *out_buf; member in struct:eap_tnc_data
66 wpabuf_free(data->out_buf);
101 send_len = wpabuf_len(data->out_buf) - data->out_used;
121 wpabuf_put_be32(resp, wpabuf_len(data->out_buf));
123 wpabuf_put_data(resp, wpabuf_head_u8(data->out_buf) + data->out_used,
130 if (data->out_used == wpabuf_len(data->out_buf)) {
134 wpabuf_free(data->out_buf);
135 data->out_buf = NULL;
140 (unsigned long) wpabuf_len(data->out_buf) -
353 if (data->out_buf) {
[all...]
/external/qemu/block/
H A Dqcow.c219 algorithm for < 4 GB images. NOTE: out_buf == in_buf is
222 uint8_t *out_buf, const uint8_t *in_buf,
235 AES_cbc_encrypt(in_buf, out_buf, 512, key,
239 out_buf += 512;
398 static int decompress_buffer(uint8_t *out_buf, int out_buf_size, argument
408 strm->next_out = out_buf;
415 out_len = strm->next_out - out_buf;
845 uint8_t *out_buf; local
851 out_buf = qemu_malloc(s->cluster_size + (s->cluster_size / 1000) + 128);
852 if (!out_buf)
221 encrypt_sectors(BDRVQcowState *s, int64_t sector_num, uint8_t *out_buf, const uint8_t *in_buf, int nb_sectors, int enc, const AES_KEY *key) argument
[all...]
H A Dqcow2-cluster.c284 algorithm for < 4 GB images. NOTE: out_buf == in_buf is
287 uint8_t *out_buf, const uint8_t *in_buf,
300 AES_cbc_encrypt(in_buf, out_buf, 512, key,
304 out_buf += 512;
752 static int decompress_buffer(uint8_t *out_buf, int out_buf_size, argument
762 strm->next_out = out_buf;
769 out_len = strm->next_out - out_buf;
286 qcow2_encrypt_sectors(BDRVQcowState *s, int64_t sector_num, uint8_t *out_buf, const uint8_t *in_buf, int nb_sectors, int enc, const AES_KEY *key) argument
H A Dqcow2.c837 uint8_t *out_buf; local
852 out_buf = qemu_malloc(s->cluster_size + (s->cluster_size / 1000) + 128);
860 qemu_free(out_buf);
867 strm.next_out = out_buf;
871 qemu_free(out_buf);
875 out_len = strm.next_out - out_buf;
888 if (bdrv_pwrite(s->hd, cluster_offset, out_buf, out_len) != out_len) {
889 qemu_free(out_buf);
894 qemu_free(out_buf);
H A Dqcow2.h177 uint8_t *out_buf, const uint8_t *in_buf,
/external/wpa_supplicant/
H A Dtls_schannel.c330 u8 *out_buf = NULL; local
396 out_buf = os_malloc(*out_len);
397 if (out_buf)
398 os_memcpy(out_buf, outbufs[0].pvBuffer,
402 if (out_buf == NULL)
422 if (out_buf == NULL)
423 out_buf = os_malloc(1);
455 "(out_buf=%p)", out_buf);
458 return out_buf;
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
H A Dtls_schannel.c330 u8 *out_buf = NULL; local
396 out_buf = os_malloc(*out_len);
397 if (out_buf)
398 os_memcpy(out_buf, outbufs[0].pvBuffer,
402 if (out_buf == NULL)
422 if (out_buf == NULL)
423 out_buf = os_malloc(1);
455 "(out_buf=%p)", out_buf);
458 return out_buf;
[all...]
/external/stlport/src/c_locale_win32/
H A Dc_locale_win32.c1036 char buf[2], out_buf[2]; local
1039 LCMapStringA(ltype->lc.id, LCMAP_LINGUISTIC_CASING | LCMAP_UPPERCASE, buf, 2, out_buf, 2);
1040 return out_buf[0];
1047 LCMapStringA(ltype->lc.id, LCMAP_LINGUISTIC_CASING | LCMAP_UPPERCASE, buf, 2, out_buf, 2);
1049 MultiByteToWideChar(__GetDefaultCP(ltype->lc.id), MB_PRECOMPOSED, out_buf, 2, wbuf, 2);
1050 WideCharToMultiByte(ltype->cp, WC_COMPOSITECHECK | WC_SEPCHARS, wbuf, 2, out_buf, 2, NULL, FALSE);
1051 return out_buf[0];
1056 char buf[2], out_buf[2]; local
1059 LCMapStringA(ltype->lc.id, LCMAP_LINGUISTIC_CASING | LCMAP_LOWERCASE, buf, 2, out_buf, 2);
1060 return out_buf[
[all...]

Completed in 136 milliseconds