Home
last modified time | relevance | path

Searched refs:oidlen (Results 1 – 4 of 4) sorted by relevance

/external/tcpdump/
Dprint-snmp.c914 unsigned int oidsize, unsigned int *oidlen) in smi_decode_oid() argument
921 for (*oidlen = 0; i-- > 0; p++) { in smi_decode_oid()
936 if (*oidlen < oidsize) { in smi_decode_oid()
937 oid[(*oidlen)++] = firstval; in smi_decode_oid()
940 if (*oidlen < oidsize) { in smi_decode_oid()
941 oid[(*oidlen)++] = o; in smi_decode_oid()
1046 unsigned int oid[128], oidlen; in smi_print_variable() local
1055 &oidlen); in smi_print_variable()
1058 smiNode = smiGetNodeByOID(oidlen, oid); in smi_print_variable()
1067 if (smiNode->oidlen < oidlen) { in smi_print_variable()
[all …]
/external/openssh/
Dssh-rsa.c310 size_t rsasize = 0, oidlen = 0, hlen = 0; in openssh_RSA_verify() local
315 if ((ret = rsa_hash_alg_oid(hash_alg, &oid, &oidlen)) != 0) in openssh_RSA_verify()
338 if (len < 0 || (size_t)len != hlen + oidlen) { in openssh_RSA_verify()
342 oidmatch = timingsafe_bcmp(decrypted, oid, oidlen) == 0; in openssh_RSA_verify()
343 hashmatch = timingsafe_bcmp(decrypted + oidlen, hash, hlen) == 0; in openssh_RSA_verify()
Dsshconnect2.c764 int oidlen; in input_gssapi_response() local
772 oidv = packet_get_string(&oidlen); in input_gssapi_response()
774 if (oidlen <= 2 || in input_gssapi_response()
776 oidv[1] != oidlen - 2) { in input_gssapi_response()
783 if (!ssh_gssapi_check_oid(gssctxt, oidv + 2, oidlen - 2)) in input_gssapi_response()
/external/libcups/cups/
Dsidechannel.c417 oidlen; /* Length of first OID */ in cupsSideChannelSNMPWalk() local
440 oidlen = strlen(oid); in cupsSideChannelSNMPWalk()
476 if (strncmp(real_data, oid, oidlen) || real_data[oidlen] != '.' || in cupsSideChannelSNMPWalk()