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.c408 size_t rsasize = 0, oidlen = 0, hlen = 0; in openssh_RSA_verify() local
413 if ((ret = rsa_hash_alg_oid(hash_alg, &oid, &oidlen)) != 0) in openssh_RSA_verify()
436 if (len < 0 || (size_t)len != hlen + oidlen) { in openssh_RSA_verify()
440 oidmatch = timingsafe_bcmp(decrypted, oid, oidlen) == 0; in openssh_RSA_verify()
441 hashmatch = timingsafe_bcmp(decrypted + oidlen, hash, hlen) == 0; in openssh_RSA_verify()
Dsshconnect2.c852 size_t oidlen; in input_gssapi_response() local
861 if ((r = sshpkt_get_string(ssh, &oidv, &oidlen)) != 0) in input_gssapi_response()
864 if (oidlen <= 2 || in input_gssapi_response()
866 oidv[1] != oidlen - 2) { in input_gssapi_response()
872 if (!ssh_gssapi_check_oid(gssctxt, oidv + 2, oidlen - 2)) in input_gssapi_response()
/external/libcups/cups/
Dsidechannel.c411 oidlen; /* Length of first OID */ in cupsSideChannelSNMPWalk() local
434 oidlen = strlen(oid); in cupsSideChannelSNMPWalk()
470 if (strncmp(real_data, oid, oidlen) || real_data[oidlen] != '.' || in cupsSideChannelSNMPWalk()