Searched refs:oidlen (Results 1 – 3 of 3) sorted by relevance
/external/tcpdump/ |
D | print-snmp.c | 900 unsigned int oidsize, unsigned int *oidlen) in smi_decode_oid() argument 906 for (*oidlen = 0; sflag && i-- > 0; p++) { in smi_decode_oid() 918 if (*oidlen < oidsize) { in smi_decode_oid() 919 oid[*oidlen] = o / OIDMUX; in smi_decode_oid() 920 if (oid[*oidlen] > 2) oid[*oidlen] = 2; in smi_decode_oid() 922 o -= oid[*oidlen] * OIDMUX; in smi_decode_oid() 923 if (*oidlen < oidsize) (*oidlen)++; in smi_decode_oid() 925 if (*oidlen < oidsize) { in smi_decode_oid() 926 oid[(*oidlen)++] = o; in smi_decode_oid() 1029 unsigned int oid[128], oidlen; in smi_print_variable() local [all …]
|
/external/openssh/ |
D | ssh-rsa.c | 216 size_t ret, rsasize = 0, oidlen = 0, hlen = 0; in openssh_RSA_verify() local 225 oidlen = sizeof(id_sha1); in openssh_RSA_verify() 250 if (len < 0 || (size_t)len != hlen + oidlen) { in openssh_RSA_verify() 254 oidmatch = timingsafe_bcmp(decrypted, oid, oidlen) == 0; in openssh_RSA_verify() 255 hashmatch = timingsafe_bcmp(decrypted + oidlen, hash, hlen) == 0; in openssh_RSA_verify()
|
D | sshconnect2.c | 746 int oidlen; in input_gssapi_response() local 754 oidv = packet_get_string(&oidlen); in input_gssapi_response() 756 if (oidlen <= 2 || in input_gssapi_response() 758 oidv[1] != oidlen - 2) { in input_gssapi_response() 765 if (!ssh_gssapi_check_oid(gssctxt, oidv + 2, oidlen - 2)) in input_gssapi_response()
|