Searched refs:plen (Results 1 - 25 of 279) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/cld/encodings/compact_lang_det/win/
H A Dcld_htmlutils_google3.cc20 int* tlen, int* plen) {
25 *plen = runetochar(dst, &entval);
29 *plen = 0;
31 // fprintf(stderr,"t%d p%d]\n", *tlen, *plen);
19 EntityToBuffer(const char* src, int len, char* dst, int* tlen, int* plen) argument
H A Dcld_htmlutils_windows.cc10 int* tlen, int* plen) {
28 *plen = 1;
9 EntityToBuffer(const char* src, int len, char* dst, int* tlen, int* plen) argument
H A Dcld_htmlutils.h11 int* tlen, int* plen);
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dsha1-prf.c34 size_t pos, plen; local
49 plen = buf_len - pos;
50 if (plen >= SHA1_MAC_LEN) {
59 os_memcpy(&buf[pos], hash, plen);
H A Dsha1-pbkdf2.c77 size_t left = buflen, plen; local
85 plen = left > SHA1_MAC_LEN ? SHA1_MAC_LEN : left;
86 os_memcpy(pos, digest, plen);
87 pos += plen;
88 left -= plen;
H A Dsha256-prf.c56 size_t pos, plen; local
75 plen = buf_len - pos;
77 if (plen >= SHA256_MAC_LEN) {
83 os_memcpy(&buf[pos], hash, plen);
84 pos += plen;
H A Dsha1-tprf.c33 size_t pos, plen; local
56 plen = buf_len - pos;
59 if (plen >= SHA1_MAC_LEN) {
63 os_memcpy(&buf[pos], hash, plen);
/external/wpa_supplicant_8/src/crypto/
H A Dsha1-prf.c34 size_t pos, plen; local
49 plen = buf_len - pos;
50 if (plen >= SHA1_MAC_LEN) {
59 os_memcpy(&buf[pos], hash, plen);
H A Dsha1-pbkdf2.c77 size_t left = buflen, plen; local
85 plen = left > SHA1_MAC_LEN ? SHA1_MAC_LEN : left;
86 os_memcpy(pos, digest, plen);
87 pos += plen;
88 left -= plen;
H A Dsha256-prf.c56 size_t pos, plen; local
75 plen = buf_len - pos;
77 if (plen >= SHA256_MAC_LEN) {
83 os_memcpy(&buf[pos], hash, plen);
84 pos += plen;
H A Dsha1-tprf.c33 size_t pos, plen; local
56 plen = buf_len - pos;
59 if (plen >= SHA1_MAC_LEN) {
63 os_memcpy(&buf[pos], hash, plen);
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dsha1-prf.c34 size_t pos, plen; local
49 plen = buf_len - pos;
50 if (plen >= SHA1_MAC_LEN) {
59 os_memcpy(&buf[pos], hash, plen);
H A Dsha1-pbkdf2.c77 size_t left = buflen, plen; local
85 plen = left > SHA1_MAC_LEN ? SHA1_MAC_LEN : left;
86 os_memcpy(pos, digest, plen);
87 pos += plen;
88 left -= plen;
H A Dsha256-prf.c56 size_t pos, plen; local
75 plen = buf_len - pos;
77 if (plen >= SHA256_MAC_LEN) {
83 os_memcpy(&buf[pos], hash, plen);
84 pos += plen;
H A Dsha1-tprf.c33 size_t pos, plen; local
56 plen = buf_len - pos;
59 if (plen >= SHA1_MAC_LEN) {
63 os_memcpy(&buf[pos], hash, plen);
/external/chromium_org/third_party/boringssl/src/crypto/asn1/
H A Dbio_ndef.c101 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg);
102 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg);
103 static int ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg);
104 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg);
160 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg) argument
180 *plen = *ndef_aux->boundary - *pbuf;
185 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg) argument
199 *plen = 0;
203 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg) argument
206 if (!ndef_prefix_free(b, pbuf, plen, par
213 ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg) argument
[all...]
/external/openssl/crypto/asn1/
H A Dbio_ndef.c96 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg);
97 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg);
98 static int ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg);
99 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg);
155 static int ndef_prefix(BIO *b, unsigned char **pbuf, int *plen, void *parg) argument
175 *plen = *ndef_aux->boundary - *pbuf;
180 static int ndef_prefix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg) argument
194 *plen = 0;
198 static int ndef_suffix_free(BIO *b, unsigned char **pbuf, int *plen, void *parg) argument
201 if (!ndef_prefix_free(b, pbuf, plen, par
208 ndef_suffix(BIO *b, unsigned char **pbuf, int *plen, void *parg) argument
[all...]
/external/srec/srec/Nametag/src/
H A DNametag.c36 ESR_ReturnCode SR_NametagGetValue(const SR_Nametag* self, const char** pvalue, size_t* plen) argument
38 if (self == NULL || pvalue == NULL || plen == NULL)
43 return self->getValue(self, pvalue, plen);
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dtlsv1_record.c356 size_t plen; local
362 plen = in_len;
364 "data", out_data, plen);
380 if (plen < rl->iv_size) {
387 plen - rl->iv_size);
388 plen -= rl->iv_size;
392 if (plen == 0) {
398 padlen = out_data[plen - 1];
399 if (padlen >= plen) {
401 "length (%u, plen
[all...]
/external/wpa_supplicant_8/src/tls/
H A Dtlsv1_record.c356 size_t plen; local
362 plen = in_len;
364 "data", out_data, plen);
380 if (plen < rl->iv_size) {
387 plen - rl->iv_size);
388 plen -= rl->iv_size;
392 if (plen == 0) {
398 padlen = out_data[plen - 1];
399 if (padlen >= plen) {
401 "length (%u, plen
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dtlsv1_record.c356 size_t plen; local
362 plen = in_len;
364 "data", out_data, plen);
380 if (plen < rl->iv_size) {
387 plen - rl->iv_size);
388 plen -= rl->iv_size;
392 if (plen == 0) {
398 padlen = out_data[plen - 1];
399 if (padlen >= plen) {
401 "length (%u, plen
[all...]
/external/openssl/crypto/evp/
H A De_rc4_hmac_md5.c127 size_t plen = key->payload_length; local
129 if (plen!=NO_PAYLOAD_LENGTH && len!=(plen+MD5_DIGEST_LENGTH)) return 0;
132 if (plen==NO_PAYLOAD_LENGTH) plen = len;
137 if (plen>md5_off && (blocks=(plen-md5_off)/MD5_CBLOCK) &&
155 MD5_Update(&key->md,in+md5_off,plen-md5_off);
157 if (plen!=len) { /* "TLS" mode of operation */
159 memcpy(out+rc4_off,in+rc4_off,plen
[all...]
/external/qemu/net/
H A Dchecksum.c58 int hlen, plen, proto, csum_offset; local
64 plen = (data[16] << 8 | data[17]) - hlen;
78 if (plen < csum_offset+2)
83 csum = net_checksum_tcpudp(plen, proto, data+14+12, data+14+hlen);
/external/wpa_supplicant_8/hostapd/src/eap_common/
H A Deap_peap_common.c20 size_t pos, plen; local
71 plen = buf_len - pos;
74 if (plen >= SHA1_MAC_LEN) {
78 os_memcpy(&buf[pos], hash, plen);
/external/wpa_supplicant_8/src/eap_common/
H A Deap_peap_common.c20 size_t pos, plen; local
71 plen = buf_len - pos;
74 if (plen >= SHA1_MAC_LEN) {
78 os_memcpy(&buf[pos], hash, plen);

Completed in 431 milliseconds

1234567891011>>