/external/liblzf/ |
H A D | lzf_d.c | 57 void *out_data, unsigned int out_len) 62 u8 *const out_end = op + out_len; 56 lzf_decompress(const void *const in_data, unsigned int in_len, void *out_data, unsigned int out_len) argument
|
/external/srtp/crypto/hash/ |
H A D | null_auth.c | 56 null_auth_alloc(auth_t **a, int key_len, int out_len) { argument 61 debug_print(mod_auth, " tag length %d", out_len); 72 (*a)->out_len = out_len; 73 (*a)->prefix_len = out_len;
|
H A D | hmac.c | 57 hmac_alloc(auth_t **a, int key_len, int out_len) { argument 62 debug_print(mod_hmac, " tag length %d", out_len); 72 if (out_len > 20) 84 (*a)->out_len = out_len;
|
/external/wpa_supplicant_8/hostapd/src/utils/ |
H A D | base64.c | 21 * @out_len: Pointer to output length variable, or %NULL if not used 22 * Returns: Allocated buffer of out_len bytes of encoded data, 27 * not included in out_len. 30 size_t *out_len) 81 if (out_len) 82 *out_len = pos - out; 91 * @out_len: Pointer to output length variable 92 * Returns: Allocated buffer of out_len bytes of decoded data, 98 size_t *out_len) 153 *out_len 29 base64_encode(const unsigned char *src, size_t len, size_t *out_len) argument 97 base64_decode(const unsigned char *src, size_t len, size_t *out_len) argument [all...] |
/external/wpa_supplicant_8/src/utils/ |
H A D | base64.c | 21 * @out_len: Pointer to output length variable, or %NULL if not used 22 * Returns: Allocated buffer of out_len bytes of encoded data, 27 * not included in out_len. 30 size_t *out_len) 81 if (out_len) 82 *out_len = pos - out; 91 * @out_len: Pointer to output length variable 92 * Returns: Allocated buffer of out_len bytes of decoded data, 98 size_t *out_len) 153 *out_len 29 base64_encode(const unsigned char *src, size_t len, size_t *out_len) argument 97 base64_decode(const unsigned char *src, size_t len, size_t *out_len) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/utils/ |
H A D | base64.c | 21 * @out_len: Pointer to output length variable, or %NULL if not used 22 * Returns: Allocated buffer of out_len bytes of encoded data, 27 * not included in out_len. 30 size_t *out_len) 81 if (out_len) 82 *out_len = pos - out; 91 * @out_len: Pointer to output length variable 92 * Returns: Allocated buffer of out_len bytes of decoded data, 98 size_t *out_len) 153 *out_len 29 base64_encode(const unsigned char *src, size_t len, size_t *out_len) argument 97 base64_decode(const unsigned char *src, size_t len, size_t *out_len) argument [all...] |
/external/liblzf/cs/ |
H A D | CLZF.cs | 153 public int lzf_compress (byte[] in_data, int in_len,byte[] out_data, int out_len) argument 166 //byte *out_end = op + out_len; 195 if (oidx + lit + 1 + 3 >= out_len) 248 if (oidx + 1 + MAX_LIT >= out_len) 261 if (oidx + lit + 1 >= out_len) 277 public int lzf_decompress ( byte[] in_data, int in_len, byte[] out_data, int out_len) argument 290 if (oidx + ctrl > out_len) 311 if (oidx + len + 2 > out_len)
|
/external/liblzf/src/org/liblzf/ |
H A D | CLZF.java | 153 public static int lzf_compress (byte[] in_data, int in_len,byte[] out_data, int out_len) argument 166 //byte *out_end = op + out_len; 195 if (oidx + lit + 1 + 3 >= out_len) 248 if (oidx + 1 + MAX_LIT >= out_len) 261 if (oidx + lit + 1 >= out_len) 277 public static int lzf_decompress ( byte[] in_data, int in_len, byte[] out_data, int out_len) argument 290 if (oidx + ctrl > out_len) 311 if (oidx + len + 2 > out_len)
|
/external/chromium/crypto/ |
H A D | encryptor_openssl.cc | 107 int out_len; local 108 if (!EVP_CipherUpdate(ctx.get(), out_ptr, &out_len, 116 if (!EVP_CipherFinal_ex(ctx.get(), out_ptr + out_len, &tail_len)) 119 out_len += tail_len; 120 DCHECK_LE(out_len, static_cast<int>(output_size)); 121 result.resize(out_len);
|
/external/srtp/crypto/include/ |
H A D | auth.h | 56 (auth_pointer_t *ap, int key_len, int out_len); 81 (((a)->type)->compute((a)->state, (buf), (len), (a)->out_len, (res))) 137 int out_len; /* length of output tag in octets */ member in struct:auth_t
|
/external/wpa_supplicant_8/hostapd/src/tls/ |
H A D | tlsv1_client_read.c | 892 u8 **out_data, size_t *out_len) 914 *out_len = left; 923 u8 **out_data, size_t *out_len) 985 out_len)) 890 tls_process_application_data(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len, u8 **out_data, size_t *out_len) argument 921 tlsv1_client_process_handshake(struct tlsv1_client *conn, u8 ct, const u8 *buf, size_t *len, u8 **out_data, size_t *out_len) argument
|
H A D | tlsv1_record.c | 144 * @out_len: Buffer for returning the used buf length 152 size_t *out_len) 257 *out_len = pos - buf; 269 * @out_len: Set to maximum out_data length by caller; used to return the 280 u8 *out_data, size_t *out_len, u8 *alert) 348 if (*out_len < in_len) { 468 *out_len = plen; 471 *out_len = in_len; 475 if (TLS_RECORD_HEADER_LEN + *out_len > 17408) { 477 (unsigned long) (TLS_RECORD_HEADER_LEN + *out_len)); 150 tlsv1_record_send(struct tlsv1_record_layer *rl, u8 content_type, u8 *buf, size_t buf_size, const u8 *payload, size_t payload_len, size_t *out_len) argument 278 tlsv1_record_receive(struct tlsv1_record_layer *rl, const u8 *in_data, size_t in_len, u8 *out_data, size_t *out_len, u8 *alert) argument [all...] |
H A D | tlsv1_server_write.c | 664 static u8 * tls_send_server_hello(struct tlsv1_server *conn, size_t *out_len) argument 669 *out_len = 0; 693 *out_len = pos - msg; 709 *out_len = pos - msg; 718 size_t *out_len) 722 *out_len = 0; 737 *out_len = pos - msg; 746 u8 * tlsv1_server_handshake_write(struct tlsv1_server *conn, size_t *out_len) argument 750 return tls_send_server_hello(conn, out_len); 752 return tls_send_change_cipher_spec(conn, out_len); 717 tls_send_change_cipher_spec(struct tlsv1_server *conn, size_t *out_len) argument 765 tlsv1_server_send_alert(struct tlsv1_server *conn, u8 level, u8 description, size_t *out_len) argument [all...] |
H A D | tlsv1_client_write.c | 45 u8 * tls_send_client_hello(struct tlsv1_client *conn, size_t *out_len) argument 52 *out_len = 0; 115 out_len) < 0) { 732 size_t *out_len) 737 *out_len = 0; 766 *out_len = pos - msg; 775 size_t *out_len) 779 *out_len = 0; 794 *out_len = pos - msg; 804 u8 * tlsv1_client_handshake_write(struct tlsv1_client *conn, size_t *out_len, argument 731 tls_send_client_key_exchange(struct tlsv1_client *conn, size_t *out_len) argument 774 tls_send_change_cipher_spec(struct tlsv1_client *conn, size_t *out_len) argument 830 tlsv1_client_send_alert(struct tlsv1_client *conn, u8 level, u8 description, size_t *out_len) argument [all...] |
/external/wpa_supplicant_8/src/tls/ |
H A D | tlsv1_client_read.c | 892 u8 **out_data, size_t *out_len) 914 *out_len = left; 923 u8 **out_data, size_t *out_len) 985 out_len)) 890 tls_process_application_data(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len, u8 **out_data, size_t *out_len) argument 921 tlsv1_client_process_handshake(struct tlsv1_client *conn, u8 ct, const u8 *buf, size_t *len, u8 **out_data, size_t *out_len) argument
|
H A D | tlsv1_record.c | 144 * @out_len: Buffer for returning the used buf length 152 size_t *out_len) 257 *out_len = pos - buf; 269 * @out_len: Set to maximum out_data length by caller; used to return the 280 u8 *out_data, size_t *out_len, u8 *alert) 348 if (*out_len < in_len) { 468 *out_len = plen; 471 *out_len = in_len; 475 if (TLS_RECORD_HEADER_LEN + *out_len > 17408) { 477 (unsigned long) (TLS_RECORD_HEADER_LEN + *out_len)); 150 tlsv1_record_send(struct tlsv1_record_layer *rl, u8 content_type, u8 *buf, size_t buf_size, const u8 *payload, size_t payload_len, size_t *out_len) argument 278 tlsv1_record_receive(struct tlsv1_record_layer *rl, const u8 *in_data, size_t in_len, u8 *out_data, size_t *out_len, u8 *alert) argument [all...] |
H A D | tlsv1_server_write.c | 664 static u8 * tls_send_server_hello(struct tlsv1_server *conn, size_t *out_len) argument 669 *out_len = 0; 693 *out_len = pos - msg; 709 *out_len = pos - msg; 718 size_t *out_len) 722 *out_len = 0; 737 *out_len = pos - msg; 746 u8 * tlsv1_server_handshake_write(struct tlsv1_server *conn, size_t *out_len) argument 750 return tls_send_server_hello(conn, out_len); 752 return tls_send_change_cipher_spec(conn, out_len); 717 tls_send_change_cipher_spec(struct tlsv1_server *conn, size_t *out_len) argument 765 tlsv1_server_send_alert(struct tlsv1_server *conn, u8 level, u8 description, size_t *out_len) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/tls/ |
H A D | tlsv1_client_read.c | 892 u8 **out_data, size_t *out_len) 914 *out_len = left; 923 u8 **out_data, size_t *out_len) 985 out_len)) 890 tls_process_application_data(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len, u8 **out_data, size_t *out_len) argument 921 tlsv1_client_process_handshake(struct tlsv1_client *conn, u8 ct, const u8 *buf, size_t *len, u8 **out_data, size_t *out_len) argument
|
H A D | tlsv1_record.c | 144 * @out_len: Buffer for returning the used buf length 152 size_t *out_len) 257 *out_len = pos - buf; 269 * @out_len: Set to maximum out_data length by caller; used to return the 280 u8 *out_data, size_t *out_len, u8 *alert) 348 if (*out_len < in_len) { 468 *out_len = plen; 471 *out_len = in_len; 475 if (TLS_RECORD_HEADER_LEN + *out_len > 17408) { 477 (unsigned long) (TLS_RECORD_HEADER_LEN + *out_len)); 150 tlsv1_record_send(struct tlsv1_record_layer *rl, u8 content_type, u8 *buf, size_t buf_size, const u8 *payload, size_t payload_len, size_t *out_len) argument 278 tlsv1_record_receive(struct tlsv1_record_layer *rl, const u8 *in_data, size_t in_len, u8 *out_data, size_t *out_len, u8 *alert) argument [all...] |
H A D | tlsv1_server_write.c | 664 static u8 * tls_send_server_hello(struct tlsv1_server *conn, size_t *out_len) argument 669 *out_len = 0; 693 *out_len = pos - msg; 709 *out_len = pos - msg; 718 size_t *out_len) 722 *out_len = 0; 737 *out_len = pos - msg; 746 u8 * tlsv1_server_handshake_write(struct tlsv1_server *conn, size_t *out_len) argument 750 return tls_send_server_hello(conn, out_len); 752 return tls_send_change_cipher_spec(conn, out_len); 717 tls_send_change_cipher_spec(struct tlsv1_server *conn, size_t *out_len) argument 765 tlsv1_server_send_alert(struct tlsv1_server *conn, u8 level, u8 description, size_t *out_len) argument [all...] |
/external/chromium/net/base/ |
H A D | filter.cc | 329 int out_len; local 336 out_len = std::min(input_len, stream_data_len_); 337 memcpy(dest_buffer, next_stream_data_, out_len); 338 *dest_len += out_len; 339 stream_data_len_ -= out_len; 344 next_stream_data_ += out_len;
|
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
H A D | srtpfilter.cc | 123 bool SrtpFilter::ProtectRtp(void* p, int in_len, int max_len, int* out_len) { argument 128 return send_session_.ProtectRtp(p, in_len, max_len, out_len); 131 bool SrtpFilter::ProtectRtcp(void* p, int in_len, int max_len, int* out_len) { argument 136 return send_session_.ProtectRtcp(p, in_len, max_len, out_len); 139 bool SrtpFilter::UnprotectRtp(void* p, int in_len, int* out_len) { argument 144 return recv_session_.UnprotectRtp(p, in_len, out_len); 147 bool SrtpFilter::UnprotectRtcp(void* p, int in_len, int* out_len) { argument 152 return recv_session_.UnprotectRtcp(p, in_len, out_len); 271 bool SrtpSession::ProtectRtp(void* p, int in_len, int max_len, int* out_len) { argument 284 *out_len 293 ProtectRtcp(void* p, int in_len, int max_len, int* out_len) argument 315 UnprotectRtp(void* p, int in_len, int* out_len) argument 330 UnprotectRtcp(void* p, int in_len, int* out_len) argument 474 ProtectRtp(void* data, int in_len, int max_len, int* out_len) argument 479 ProtectRtcp(void* data, int in_len, int max_len, int* out_len) argument 484 UnprotectRtp(void* data, int in_len, int* out_len) argument 488 UnprotectRtcp(void* data, int in_len, int* out_len) argument [all...] |
/external/harfbuzz_ng/src/ |
H A D | hb-buffer-private.hh | 67 unsigned int out_len; /* Length of ->out array if have_output */ member in struct:hb_buffer_t 80 inline hb_glyph_info_t &prev (void) { return out_info[out_len - 1]; } 81 inline hb_glyph_info_t prev (void) const { return info[out_len - 1]; } 103 { return have_output? out_len : idx; } 142 if (unlikely (out_info != info || out_len != idx)) { 144 out_info[out_len] = info[idx]; 146 out_len++;
|
/external/sqlite/android/ |
H A D | PhoneNumberUtils.cpp | 442 int out_len = 0; local 447 if (out_len < len) { 448 out[out_len++] = c; 454 if (out_len < len) { 455 out[out_len++] = c; 462 out_len = 0; 468 *outlen = out_len;
|
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | tls_none.c | 90 u8 *out, size_t out_len) 88 tls_connection_prf(void *tls_ctx, struct tls_connection *conn, const char *label, int server_random_first, u8 *out, size_t out_len) argument
|