Home
last modified time | relevance | path

Searched refs:tmplen (Results 1 – 10 of 10) sorted by relevance

/external/ipsec-tools/src/racoon/
Disakmp_xauth.c725 int tmplen; in xauth_ldap_init() local
743 tmplen = strlen(LDAP_DFLT_HOST); in xauth_ldap_init()
744 xauth_ldap_config.host = vmalloc(tmplen); in xauth_ldap_init()
747 memcpy(xauth_ldap_config.host->v, LDAP_DFLT_HOST, tmplen); in xauth_ldap_init()
750 tmplen = strlen(LDAP_DFLT_USER); in xauth_ldap_init()
751 xauth_ldap_config.attr_user = vmalloc(tmplen); in xauth_ldap_init()
754 memcpy(xauth_ldap_config.attr_user->v, LDAP_DFLT_USER, tmplen); in xauth_ldap_init()
757 tmplen = strlen(LDAP_DFLT_ADDR); in xauth_ldap_init()
758 xauth_ldap_config.attr_addr = vmalloc(tmplen); in xauth_ldap_init()
761 memcpy(xauth_ldap_config.attr_addr->v, LDAP_DFLT_ADDR, tmplen); in xauth_ldap_init()
[all …]
/external/dropbear/libtomcrypt/src/pk/asn1/der/integer/
Dder_encode_integer.c31 unsigned long tmplen, y; in der_encode_integer() local
39 if ((err = der_length_integer(num, &tmplen)) != CRYPT_OK) { in der_encode_integer()
43 if (*outlen < tmplen) { in der_encode_integer()
44 *outlen = tmplen; in der_encode_integer()
122 *outlen = tmplen; in der_encode_integer()
/external/dropbear/libtomcrypt/src/pk/asn1/der/utctime/
Dder_encode_utctime.c36 unsigned long x, tmplen; in der_encode_utctime() local
43 if ((err = der_length_utctime(utctime, &tmplen)) != CRYPT_OK) { in der_encode_utctime()
46 if (tmplen > *outlen) { in der_encode_utctime()
47 *outlen = tmplen; in der_encode_utctime()
/external/openssl/apps/
Dasn1pars.c91 long num,tmplen; in MAIN() local
308 tmplen=num; in MAIN()
320 tmplen-=j; in MAIN()
323 at = d2i_ASN1_TYPE(NULL,&ctmpbuf,tmplen); in MAIN()
342 tmplen=at->value.asn1_string->length; in MAIN()
345 num=tmplen; in MAIN()
/external/wpa_supplicant_8/src/eap_common/
Deap_sake_common.c325 size_t tmplen; in eap_sake_compute_mic() local
327 tmplen = serverid_len + 1 + peerid_len + 1 + eap_len; in eap_sake_compute_mic()
328 tmp = os_malloc(tmplen); in eap_sake_compute_mic()
369 _rand, 2 * EAP_SAKE_RAND_LEN, tmp, tmplen, in eap_sake_compute_mic()
/external/openssh/
Dsftp.c1605 u_int y, count = 0, cmdlen, tmplen; in complete_cmd_parse() local
1646 tmplen = strlen(tmp); in complete_cmd_parse()
1649 if (tmplen > cmdlen) in complete_cmd_parse()
1696 u_int i, hadglob, pwdlen, len, tmplen, filelen; in complete_match() local
1713 for (hadglob = tmplen = pwdlen = 0; tmp[tmplen] != 0; tmplen++) { in complete_match()
1715 if (tmp[tmplen] == '*' || tmp[tmplen] == '?') { in complete_match()
1716 if (tmp[tmplen] != '*' || tmp[tmplen + 1] != '\0') in complete_match()
1720 if (tmp[tmplen] == '\\' && tmp[tmplen + 1] != '\0') in complete_match()
1721 tmplen++; in complete_match()
1722 if (tmp[tmplen] == '/') in complete_match()
[all …]
/external/openssl/crypto/asn1/
Dtasn_dec.c167 long tmplen; in ASN1_item_ex_d2i() local
367 tmplen = len; in ASN1_item_ex_d2i()
388 len = tmplen - (p - *in); in ASN1_item_ex_d2i()
/external/ping/
Dping_common.c396 int tmplen = sizeof(hold); in sock_setbufs() local
406 if (getsockopt(icmp_sock, SOL_SOCKET, SO_RCVBUF, (char *)&hold, &tmplen) == 0) { in sock_setbufs()
/external/wpa_supplicant_8/src/p2p/
Dp2p.c2272 size_t tmplen; in p2p_assoc_req_ie_wlan_ap() local
2304 tmplen = wpabuf_len(tmp); in p2p_assoc_req_ie_wlan_ap()
2305 if (tmplen > len) in p2p_assoc_req_ie_wlan_ap()
2308 os_memcpy(buf, wpabuf_head(tmp), tmplen); in p2p_assoc_req_ie_wlan_ap()
2309 res = tmplen; in p2p_assoc_req_ie_wlan_ap()
2323 size_t tmplen; in p2p_assoc_req_ie() local
2360 tmplen = wpabuf_len(tmp); in p2p_assoc_req_ie()
2361 if (tmplen > len) in p2p_assoc_req_ie()
2364 os_memcpy(buf, wpabuf_head(tmp), tmplen); in p2p_assoc_req_ie()
2365 res = tmplen; in p2p_assoc_req_ie()
/external/bluetooth/bluedroid/btif/src/
Dbtif_hh.c773 int len, tmplen; in btif_hh_upstreams_evt() local
979 tmplen = sizeof(hid_kb_numlock_on_list) in btif_hh_upstreams_evt()
981 for(i = 0; i< tmplen; i++) in btif_hh_upstreams_evt()