HomeSort by relevance Sort by last modified time
    Searched full:oidlen (Results 1 - 11 of 11) sorted by null

  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
BerOutputStream.java 123 int oidLen = length;
127 for (int i = oid.length - 1; i > 1; i--, oidLen--) {
130 encoded[offset + oidLen - 1] = (byte) (elem & 0x7F);
133 oidLen--;
134 encoded[offset + oidLen - 1] = (byte) (elem | 0x80);
138 encoded[offset + oidLen - 1] = (byte) elem;
145 encoded[offset + oidLen - 1] = (byte) (elem & 0x7F);
148 oidLen--;
149 encoded[offset + oidLen - 1] = (byte) (elem | 0x80);
153 encoded[offset + oidLen - 1] = (byte) elem
    [all...]
  /external/openssh/
ssh-rsa.c 213 u_int ret, rsasize, oidlen = 0, hlen = 0; local
222 oidlen = sizeof(id_sha1);
227 oidlen = sizeof(id_md5);
249 if (len < 0 || (u_int)len != hlen + oidlen) {
250 error("bad decrypted len: %d != %d + %d", len, hlen, oidlen);
253 oidmatch = timingsafe_bcmp(decrypted, oid, oidlen) == 0;
254 hashmatch = timingsafe_bcmp(decrypted + oidlen, hash, hlen) == 0;
sshconnect2.c 738 int oidlen; local
746 oidv = packet_get_string(&oidlen);
748 if (oidlen <= 2 ||
750 oidv[1] != oidlen - 2) {
757 if (!ssh_gssapi_check_oid(gssctxt, oidv + 2, oidlen - 2))
    [all...]
  /external/dropbear/libtomcrypt/src/misc/crypt/
crypt_find_hash_oid.c 24 if (hash_descriptor[x].name != NULL && hash_descriptor[x].OIDlen == IDlen && !XMEMCMP(hash_descriptor[x].OID, ID, sizeof(unsigned long) * IDlen)) {
  /external/tcpdump/
print-snmp.c 900 unsigned int oidsize, unsigned int *oidlen)
906 for (*oidlen = 0; sflag && i-- > 0; p++) {
918 if (*oidlen < oidsize) {
919 oid[*oidlen] = o / OIDMUX;
920 if (oid[*oidlen] > 2) oid[*oidlen] = 2;
922 o -= oid[*oidlen] * OIDMUX;
923 if (*oidlen < oidsize) (*oidlen)++;
925 if (*oidlen < oidsize)
1029 unsigned int oid[128], oidlen; local
1059 unsigned int i, oid[128], oidlen; local
    [all...]
  /external/dropbear/libtomcrypt/src/pk/rsa/
rsa_sign_hash.c 87 if (hash_descriptor[hash_idx].OIDlen == 0) {
99 LTC_SET_ASN1(digestinfo, 0, LTC_ASN1_OBJECT_IDENTIFIER, hash_descriptor[hash_idx].OID, hash_descriptor[hash_idx].OIDlen);
rsa_verify_hash.c 104 if (hash_descriptor[hash_idx].OIDlen == 0) {
142 if ((digestinfo[0].size == hash_descriptor[hash_idx].OIDlen) &&
143 (XMEMCMP(digestinfo[0].data, hash_descriptor[hash_idx].OID, sizeof(unsigned long) * hash_descriptor[hash_idx].OIDlen) == 0) &&
  /external/dropbear/libtomcrypt/src/pk/dsa/
dsa_encrypt_key.c 112 LTC_ASN1_OBJECT_IDENTIFIER, hash_descriptor[hash].OIDlen, hash_descriptor[hash].OID,
  /external/dropbear/libtomcrypt/src/pk/ecc/
ecc_encrypt_key.c 112 LTC_ASN1_OBJECT_IDENTIFIER, hash_descriptor[hash].OIDlen, hash_descriptor[hash].OID,
  /external/dropbear/libtomcrypt/src/headers/
tomcrypt_hash.h 162 unsigned long OIDlen;
  /external/dropbear/libtomcrypt/
crypt.tex     [all...]

Completed in 8206 milliseconds