Home
last modified time | relevance | path

Searched refs:taglen (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Dencode.c72 ber_int_t taglen; in ber_put_tag() local
75 taglen = kmfber_calc_taglen(tag); in ber_put_tag()
80 ((char *) &ntag) + sizeof (ber_int_t) - taglen, in ber_put_tag()
81 taglen, nosos)); in ber_put_tag()
162 ber_int_t len, lenlen, taglen, netnum, mask; in ber_put_int_or_enum() local
194 if ((taglen = ber_put_tag(ber, tag, 0)) == -1) in ber_put_int_or_enum()
204 return (taglen + lenlen + i); in ber_put_int_or_enum()
230 ber_int_t taglen, lenlen, rc, len; in ber_put_oid() local
235 if ((taglen = ber_put_tag(ber, tag, 0)) == -1) in ber_put_oid()
245 rc = taglen + lenlen + oid->bv_len; in ber_put_oid()
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/
H A Dencode.c68 int taglen; in ber_put_tag() local
71 taglen = ber_calc_taglen( tag ); in ber_put_tag()
75 return( ber_write( ber, ((char *) &ntag) + sizeof(ber_int_t) - taglen, in ber_put_tag()
76 taglen, nosos ) ); in ber_put_tag()
157 int i, sign, taglen; in ber_put_int_or_enum() local
191 if ( (taglen = ber_put_tag( ber, tag, 0 )) == -1 ) in ber_put_int_or_enum()
201 return( taglen + lenlen + i ); in ber_put_int_or_enum()
231 int taglen, lenlen, rc; in ber_put_ostring() local
239 if ( (taglen = ber_put_tag( ber, tag, 0 )) == -1 ) in ber_put_ostring()
265 rc = taglen + lenlen + len; in ber_put_ostring()
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_vpd.c467 uint16_t taglen; in efx_vpd_hunk_length() local
474 &tag, &taglen)) != 0) in efx_vpd_hunk_length()
476 offset += taglen; in efx_vpd_hunk_length()
502 uint16_t taglen; in efx_vpd_hunk_verify() local
516 &tag, &taglen)) != 0) in efx_vpd_hunk_verify()
523 for (pos = 0; pos != taglen; pos += 3 + keylen) { in efx_vpd_hunk_verify()
531 taglen, pos, &keyword, &keylen)) != 0) in efx_vpd_hunk_verify()
549 offset += taglen; in efx_vpd_hunk_verify()
656 uint16_t taglen; in efx_vpd_hunk_next() local
665 &tag, &taglen)) != 0) in efx_vpd_hunk_next()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ip.c1286 int i, taglen; in cipso2sl() local
1290 taglen = opt[1]; in cipso2sl()
1298 for (i = 0; i < taglen - TSOL_TT1_MIN_LENGTH; i++) in cipso2sl()
1307 int i, taglen, ishigh; in interpret_cipso_tagtype1() local
1311 taglen = opt[1]; in interpret_cipso_tagtype1()
1312 if (taglen < TSOL_TT1_MIN_LENGTH || in interpret_cipso_tagtype1()
1313 taglen > TSOL_TT1_MAX_LENGTH) in interpret_cipso_tagtype1()
1314 return (taglen); in interpret_cipso_tagtype1()
1321 for (i = 0; i < taglen - TSOL_TT1_MIN_LENGTH; i++) { in interpret_cipso_tagtype1()
1350 return (taglen); in interpret_cipso_tagtype1()
[all …]
H A Dsnoop_ppp.c1364 uint8_t taglen; in opt_format_i18n() local
1366 taglen = size - sizeof (mibenum); in opt_format_i18n()
1371 if (taglen > 0) { in opt_format_i18n()
1372 (void) sprintf(get_line(0, 0), "Language Tag = %.*s", taglen, in opt_format_i18n()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_k_decode.c43 unsigned int length, taglen
56 taglen = t2.length; \
72 taglen = t3.length; \
107 if (!taglen && indef) { get_eoc(); } \
121 && (tagnum || taglen || asn1class != UNIVERSAL)) \
136 && (tagnum || taglen || asn1class != UNIVERSAL)) \
149 if (!taglen && indef) { get_eoc(); } \
157 && (tagnum || taglen || asn1class != UNIVERSAL)) \
174 retval = asn1buf_remove_octetstring(&subbuf, taglen, &(var)); \
176 (len) = taglen; \
[all …]
H A Dkrb5_decode.c93 taglen = t2.length; \
111 unsigned int taglen;\
548 tmpbody.length = taglen; in decode_krb5_safe_with_body()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dsyslog.c183 size_t taglen; in vsyslog() local
263 taglen = strlen(LogTag) < MAX_TAG ? strlen(LogTag) : MAX_TAG; in vsyslog()
264 (void) strncpy(o, LogTag, taglen); in vsyslog()
265 o[taglen] = '\0'; in vsyslog()
/illumos-gate/usr/src/test/crypto-tests/tests/modes/aes/gcm/
H A Daes_gcm.c36 size_t taglen = GCM_SPEC_TAG_LEN; in main() local
39 .ulTagBits = taglen * 8 in main()
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk3.c2110 register int taglen; in makeindex() local
2116 for (taglen = 0; tag; tag >>= 4) in makeindex()
2117 tags[taglen++] = tag_chars[tag & 0xf]; in makeindex()
2134 i = (n = wcslen(array)) + len + 3 + taglen; in makeindex()
2141 if (taglen) { in makeindex()
2143 while (taglen) in makeindex()
2144 *cp++ = tags[--taglen]; in makeindex()
2158 len + 3 + taglen)); in makeindex()
2160 if (taglen) { in makeindex()
2162 while (taglen) in makeindex()
[all …]
/illumos-gate/usr/src/cmd/refer/
H A Dglue1.c40 int taglen = 1000; variable
116 taglen = (int)argv[2]; in huntmain()
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Drdn_parser.c120 int taglen; in scanTag() local
133 taglen = 0; in scanTag()
137 if (++taglen >= tagBufSize) { in scanTag()
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_msg.c636 int taglen; in sip_create_response() local
644 taglen = strlen(SIP_TAG) + strlen(totag) + 1; in sip_create_response()
645 xtra_param = (char *)malloc(taglen); in sip_create_response()
651 (void) snprintf(xtra_param, taglen, "%s%s", SIP_TAG, totag); in sip_create_response()
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c6018 size_t taglen = strlen(tag); in holds_callback() local
6019 if (taglen > cbp->cb_max_taglen) in holds_callback()
6020 cbp->cb_max_taglen = taglen; in holds_callback()