Searched refs:hexlen (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/lib/libcryptoutil/common/
H A Dtohexstr.c36 * hexlen should be 2 * blen + 1
41 tohexstr(uchar_t *bytes, size_t blen, char *hexstr, size_t hexlen) argument
47 if (hexlen < (2 * i + 1))
67 hexstr_to_bytes(char *hexstr, size_t hexlen, uchar_t **bytes, size_t *blen) argument
76 if (hexstr == NULL || (hexlen % 2 == 1))
81 hexlen -= 2;
84 *blen = (hexlen / 2);
92 for (i = 0; i < hexlen; i++) {
H A Dcryptoutil.h206 extern void tohexstr(uchar_t *bytes, size_t blen, char *hexstr, size_t hexlen);
207 extern int hexstr_to_bytes(char *hexstr, size_t hexlen, uchar_t **bytes,
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_util.c175 * hexlen should be at least twice as srclen.
182 char *hexbuf, size_t hexlen)
189 if (hexlen < outlen)
210 * hexlen should be an even number.
211 * dstlen should be at least half of hexlen.
215 * which is half of hexlen.
218 hextobin(const char *hexbuf, size_t hexlen, argument
223 if ((hexlen % 2) != 0)
226 outlen = hexlen >> 1;
230 while (hexlen >
181 bintohex(const char *srcbuf, size_t srclen, char *hexbuf, size_t hexlen) argument
[all...]
/osnet-11/usr/src/lib/libdladm/common/
H A Dlinkprop.c3389 uint_t hexlen; local
3430 hexlen = sizeof (tmp_buf);
3432 cid->dc_len - sizeof (en), tmp_buf, &hexlen) != 0)
3458 hexlen = sizeof (tmp_buf);
3461 tmp_buf, &hexlen) != 0)
3471 hexlen = sizeof (tmp_buf);
3473 tmp_buf, &hexlen) != 0)
3503 uint_t hexlen, cidlen; local
3576 hexlen = sizeof (tmp_buf);
3578 tmp_buf, &hexlen) !
[all...]

Completed in 42 milliseconds