Lines Matching refs:index
925 int index = 0;
957 if (buf[index++] != 0x30)
960 if (buf[index] & 0x80) {
961 length_octets = buf[index++] & 0x0F; /* long form */
966 index += length_octets;
967 if (index >= buf_len)
971 if (memcmp(buf + index, pkcs12_version, sizeof (pkcs12_version)) != 0)
974 index += sizeof (pkcs12_version);
975 if (index >= buf_len)
982 if ((buf[index++] & 0xFF) != 0x30)
985 if (buf[index] & 0x80) {
986 length_octets = buf[index++] & 0x0F;
991 index += length_octets;
992 if (index + sizeof (pkcs12_oid) >= buf_len)
996 if (memcmp(buf + index, pkcs12_oid, sizeof (pkcs12_oid)) != 0)
1620 int nbytes, index;
1702 index = -1;
1704 op[index] = (unsigned char)numbuf & 0x7f;
1705 if (index != -1)
1706 op[index] |= 0x80;
1707 index--;
2412 * the given attribute information at a specific index
2416 kmf_set_attr_at_index(KMF_ATTRIBUTE *attlist, int index,
2422 attlist[index].type = type;
2423 attlist[index].pValue = pValue;
2424 attlist[index].valueLen = len;