HomeSort by relevance Sort by last modified time
    Searched full:len (Results 501 - 525 of 5669) sorted by null

<<21222324252627282930>>

  /external/wpa_supplicant/tests/
test_md5.c 67 size_t len[2]; local
74 len[0] = strlen(tests[i].data);
75 md5_vector(1, addr, len, hash);
82 if (len[0]) {
84 len[0] = strlen(tests[i].data);
86 len[1] = strlen(tests[i].data) - 1;
87 md5_vector(1, addr, len, hash);
  /external/wpa_supplicant_6/wpa_supplicant/src/tls/
tlsv1_cred.c 47 const u8 *buf, size_t len)
52 cert = x509_certificate_parse(buf, len);
73 static const u8 * search_tag(const char *tag, const u8 *buf, size_t len)
78 if (len < plen)
81 for (i = 0; i < len - plen; i++) {
91 const u8 *buf, size_t len)
97 pos = search_tag(pem_cert_begin, buf, len);
101 return tlsv1_add_cert_der(chain, buf, len);
109 end = search_tag(pem_cert_end, pos, buf + len - pos);
133 pos = search_tag(pem_cert_begin, end, buf + len - end)
149 size_t len; local
249 size_t len; local
406 size_t len; local
    [all...]
tlsv1_client_read.c 39 size_t left, len, i; local
67 len = WPA_GET_BE24(pos);
71 if (len > left)
76 wpa_hexdump(MSG_MSGDUMP, "TLSv1: ServerHello", pos, len);
77 end = pos + len;
217 size_t left, len, list_len, cert_len, idx; local
235 "(len=%lu)", (unsigned long) left);
241 len = WPA_GET_BE24(pos);
245 if (len > left) {
247 "length (len=%lu != left=%lu)"
480 size_t left, len; local
569 size_t left, len; local
633 size_t left, len; local
761 size_t left, len, hlen; local
    [all...]
asn1.h 61 size_t len; member in struct:asn1_oid
65 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr);
66 int asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid,
68 void asn1_oid_to_str(struct asn1_oid *oid, char *buf, size_t len);
69 unsigned long asn1_bit_string_to_long(const u8 *buf, size_t len);
  /external/wpa_supplicant_6/wpa_supplicant/tests/
test_md4.c 67 size_t len[2]; local
74 len[0] = strlen(tests[i].data);
75 md4_vector(1, addr, len, hash);
82 if (len[0]) {
84 len[0] = strlen(tests[i].data);
86 len[1] = strlen(tests[i].data) - 1;
87 md4_vector(1, addr, len, hash);
test_md5.c 67 size_t len[2]; local
74 len[0] = strlen(tests[i].data);
75 md5_vector(1, addr, len, hash);
82 if (len[0]) {
84 len[0] = strlen(tests[i].data);
86 len[1] = strlen(tests[i].data) - 1;
87 md5_vector(1, addr, len, hash);
  /external/icu4c/common/
charstr.h 58 int32_t len;
60 len = str.extract(0, 0x7FFFFFFF, buf ,sizeof(buf)-1, codepage);
61 if (len >= (int32_t)(sizeof(buf)-1)) {
62 ptr = (char *)uprv_malloc(len+1);
63 str.extract(0, 0x7FFFFFFF, ptr, len+1, codepage);
70 int32_t len; local
72 len = str.extract(0, 0x7FFFFFFF, buf, (int32_t)(sizeof(buf)-1), US_INV);
73 if (len >= (int32_t)(sizeof(buf)-1)) {
74 ptr = (char *)uprv_malloc(len+1);
75 str.extract(0, 0x7FFFFFFF, ptr, len+1, US_INV)
    [all...]
  /external/opencore/oscl/oscl/osclutil/src/
oscl_string_rep.h 97 OSCL_IMPORT_REF void set(const char* cp, uint32 len);
98 OSCL_IMPORT_REF void set(const oscl_wchar* cp, uint32 len);
99 OSCL_IMPORT_REF void append(const char* cp, uint32 len);
100 OSCL_IMPORT_REF void append(const oscl_wchar* cp, uint32 len);
119 OSCL_IMPORT_REF void set_w(char* cp, uint32 len, uint32 maxlen);
120 OSCL_IMPORT_REF void set_w(oscl_wchar* cp, uint32 len, uint32 maxlen);
121 OSCL_IMPORT_REF void set_r(const char* cp, uint32 len);
122 OSCL_IMPORT_REF void set_r(const oscl_wchar* cp, uint32 len);
123 OSCL_IMPORT_REF void append(const char* cp, uint32 len);
124 OSCL_IMPORT_REF void append(const oscl_wchar* cp, uint32 len);
    [all...]
  /external/wpa_supplicant/
crypto_cryptoapi.c 130 const u8 *addr[], const size_t *len, u8 *mac)
150 if (!CryptHashData(hash, (BYTE *) addr[i], len[i], 0)) {
170 void md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac)
172 cryptoapi_hash_vector(CALG_MD4, 16, num_elem, addr, len, mac);
185 DWORD len; member in struct:__anon6663
194 key_blob.len = 8;
242 void md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac)
244 cryptoapi_hash_vector(CALG_MD5, 16, num_elem, addr, len, mac);
248 void sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac)
250 cryptoapi_hash_vector(CALG_SHA, 20, num_elem, addr, len, mac)
265 DWORD len; member in struct:__anon6664
384 DWORD len; member in struct:__anon6665
539 DWORD len; member in struct:__anon6666
    [all...]
crypto_gnutls.c 21 void md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac)
30 gcry_md_write(hd, addr[i], len[i]);
61 void md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac)
70 gcry_md_write(hd, addr[i], len[i]);
78 void sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac)
87 gcry_md_write(hd, addr[i], len[i]);
102 void * aes_encrypt_init(const u8 *key, size_t len)
111 if (gcry_cipher_setkey(hd, key, len) != GPG_ERR_NO_ERROR) {
135 void * aes_decrypt_init(const u8 *key, size_t len)
142 if (gcry_cipher_setkey(hd, key, len) != GPG_ERR_NO_ERROR)
    [all...]
asn1.h 61 size_t len; member in struct:asn1_oid
65 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr);
66 int asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid,
68 void asn1_oid_to_str(struct asn1_oid *oid, char *buf, size_t len);
69 unsigned long asn1_bit_string_to_long(const u8 *buf, size_t len);
  /external/wpa_supplicant_6/wpa_supplicant/src/crypto/
crypto_cryptoapi.c 115 const u8 *addr[], const size_t *len, u8 *mac)
135 if (!CryptHashData(hash, (BYTE *) addr[i], len[i], 0)) {
155 void md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac)
157 cryptoapi_hash_vector(CALG_MD4, 16, num_elem, addr, len, mac);
170 DWORD len; member in struct:__anon6829
179 key_blob.len = 8;
227 void md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac)
229 cryptoapi_hash_vector(CALG_MD5, 16, num_elem, addr, len, mac);
233 void sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac)
235 cryptoapi_hash_vector(CALG_SHA, 20, num_elem, addr, len, mac)
250 DWORD len; member in struct:__anon6830
369 DWORD len; member in struct:__anon6831
524 DWORD len; member in struct:__anon6832
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/utils/
wpabuf.h 33 struct wpabuf * wpabuf_alloc(size_t len);
34 struct wpabuf * wpabuf_alloc_ext_data(u8 *data, size_t len);
35 struct wpabuf * wpabuf_alloc_copy(const void *data, size_t len);
38 void * wpabuf_put(struct wpabuf *buf, size_t len);
40 struct wpabuf * wpabuf_zeropad(struct wpabuf *buf, size_t len);
133 size_t len)
136 os_memcpy(wpabuf_put(buf, len), data, len); local
145 static inline void wpabuf_set(struct wpabuf *buf, const void *data, size_t len)
148 buf->size = buf->used = len;
    [all...]
  /frameworks/base/common/tools/
make-iana-tld-pattern.py 36 if (len(self.words) == 0) and (len(self.letters) == 0):
52 if len(self.words) != 0:
68 if len(self.words) > 0 and len(self.letters) > 0:
71 if len(self.letters) == 1:
73 elif len(self.letters) > 0:
81 if len(self.words) != 0:
91 length = len(line)
140 if len(domain) > 0
    [all...]
  /external/bluetooth/hcidump/parser/
l2cap.c 200 static uint32_t get_val(uint8_t *ptr, uint8_t len)
202 switch (len) {
423 static void conf_rfc(void *ptr, int len, int in, uint16_t cid)
445 static void conf_opt(int level, void *ptr, int len, int in, uint16_t cid)
448 while (len > 0) {
451 ptr += L2CAP_CONF_OPT_SIZE + h->len;
452 len -= L2CAP_CONF_OPT_SIZE + h->len;
461 if (h->len > 0)
462 printf(" %d", get_val(h->val, h->len));
803 uint16_t len; local
    [all...]
obex.c 192 uint16_t len; local
195 while (frm->len > 0) {
203 len = get_u16(frm) - 3;
204 printf(" = Unicode length %d\n", len);
205 raw_ndump(level, frm, len);
206 frm->ptr += len;
207 frm->len -= len;
211 len = get_u16(frm) - 3;
212 printf(" = Sequence length %d\n", len);
    [all...]
  /bionic/libc/arch-sh/bionic/
memcpy.S 71 tst REG_LEN,REG_LEN /* if ( len==0 ) return; */
86 cmp/hi r0,REG_LEN /* if ( (len > 1) && */
92 add #-2,REG_LEN /* len -= 2; */
99 cmp/hi r1,REG_LEN /* while ( len > 3 ) { */
104 add #-4,REG_LEN /* len -= 4; */
118 tst REG_LEN,REG_LEN /* if ( len == 0 ) return; */
133 cmp/hi r1,REG_LEN /* while ( len > 1 ) { */
138 add #-2,REG_LEN /* len -= 2; */
146 tst REG_LEN,REG_LEN /* while ( len!= ) { */
151 add #-1,REG_LEN /* len--; *
    [all...]
  /bootable/diskinstaller/libdiskconfig/
write_lst.c 39 item->len = data_len;
79 if (write(fd, lst->data, lst->len) != (int)lst->len) {
80 LOGE("Failed writing %u bytes at position %lld.", lst->len,
85 LOGI("Would write %d bytes @ offset %lld.", lst->len, lst->offset);
  /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/
BufferedBlockCipher.java 104 * an input of len bytes.
106 * @param len the length of the input.
108 * with len bytes of input.
111 int len)
113 int total = len + bufOff;
130 * doFinal with an input of len bytes.
132 * @param len the length of the input.
134 * with len bytes of input.
137 int len)
139 int total = len + bufOff
    [all...]
  /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/paddings/
PaddedBufferedBlockCipher.java 86 * plus a doFinal with an input of len bytes.
88 * @param len the length of the input.
90 * with len bytes of input.
93 int len)
95 int total = len + bufOff;
113 * an input of len bytes.
115 * @param len the length of the input.
117 * with len bytes of input.
120 int len)
122 int total = len + bufOff
    [all...]
  /external/icu4c/samples/uresb/
uresb.c 186 int len = u_strlen(string); local
187 int alen = len;
228 int32_t len=0; local
229 const UChar*thestr = ures_getString(resource, &len, status);
234 if(trunc && len > truncsize) {
236 u_fprintf(out, "// WARNING: this string, size %d is truncated to %d\n", len, truncsize/2);
237 len = truncsize/2;
267 int32_t len = 0; local
268 const int8_t *data = (const int8_t *)ures_getBinary(resource, &len, status);
269 if(trunc && len > truncsize)
296 int32_t len = 0; local
363 int32_t len = 0; local
    [all...]
  /external/qemu/android/utils/
misc.h 53 extern const char* quote_bytes( const char* str, int len );
59 /* decodes a sequence of 'len' hexadecimal chars from 'hex' into
62 extern int hex2int( const uint8_t* hex, int len );
64 /* encodes an integer 'val' into 'len' hexadecimal charaters into 'hex' */
65 extern void int2hex( uint8_t* hex, int len, int val );
  /external/zlib/contrib/infback9/
inflate9.h 16 LEN, /* i: waiting for length/lit code */
27 TYPE -> STORED or TABLE or LEN or DONE
29 TABLE -> LENLENS -> CODELENS -> LEN
31 LEN -> LEN or TYPE
  /frameworks/base/awt/javax/imageio/stream/
ImageOutputStream.java 63 * @param len
68 void write(byte[] b, int off, int len) throws IOException;
194 * Writes a len number of short values from the specified array to the
201 * @param len
206 void writeShorts(short[] s, int off, int len) throws IOException;
209 * Writes a len number of chars to the stream.
215 * @param len
220 void writeChars(char[] c, int off, int len) throws IOException;
223 * Writes a len number of integer values from the specified array to the
230 * @param len
    [all...]
  /frameworks/base/media/libdrm/mobile2/src/util/xml/
ExpatWrapper.cpp 40 int ExpatWrapper::decode(const char* buf, int len, int isFinal)
42 return ::XML_Parse(mParser, buf, len, isFinal);
59 void ExpatWrapper::dataHandlerCallback(void *userData, const XML_Char *s, int len)
61 ((ExpatWrapper *)userData)->dataHandler(s, len);
75 void ExpatWrapper::dataHandler(const XML_Char *s, int len)

Completed in 45 milliseconds

<<21222324252627282930>>