Home
last modified time | relevance | path

Searched refs:buf_index (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/common/crypto/sha1/
H A Dsha1.c181 uint32_t i, buf_index, buf_len; in SHA1Update() local
195 buf_index = (ctx->count[1] >> 3) & 0x3F; in SHA1Update()
203 buf_len = 64 - buf_index; in SHA1Update()
212 uint32_t len = (input_len + buf_index) & ~0x3f; in SHA1Update()
233 if (buf_index) { in SHA1Update()
316 buf_index = 0; in SHA1Update()
328 uint32_t i, buf_index, buf_len; in SHA1Update() local
339 buf_index = (ctx->count[1] >> 3) & 0x3F; in SHA1Update()
347 buf_len = 64 - buf_index; in SHA1Update()
363 if (buf_index) { in SHA1Update()
[all …]
/illumos-gate/usr/src/common/crypto/md5/
H A Dmd5.c250 uint32_t i, buf_index, buf_len; in MD5Update() local
260 buf_index = (ctx->count[0] >> 3) & 0x3F; in MD5Update()
267 buf_len = 64 - buf_index; in MD5Update()
293 if (buf_index) { in MD5Update()
294 bcopy(input, &ctx->buf_un.buf8[buf_index], buf_len); in MD5Update()
339 buf_index = 0; in MD5Update()
343 bcopy(&input[i], &ctx->buf_un.buf8[buf_index], input_len - i); in MD5Update()
/illumos-gate/usr/src/lib/libc/port/print/
H A Ddoprnt.c2606 ssize_t buf_index; in insert_thousands_sep() local
2628 buf_index = ep - bp; in insert_thousands_sep()
2631 for (i = 0; i < buf_index--; i++) in insert_thousands_sep()
2632 *bufptr++ = *(bp + buf_index); in insert_thousands_sep()
2635 for (i = 0; i < *grp_ptr && buf_index-- > 0; i++) in insert_thousands_sep()
2636 *bufptr++ = *(bp + buf_index); in insert_thousands_sep()
2638 if (buf_index > 0) { in insert_thousands_sep()
/illumos-gate/usr/src/common/crypto/sha2/
H A Dsha2.c792 size_t i, buf_index, buf_len, buf_limit; in SHA2Update() local
817 buf_index = (ctx->count.c32[1] >> 3) & 0x3F; in SHA2Update()
832 buf_index = (ctx->count.c64[1] >> 3) & 0x7F; in SHA2Update()
841 buf_len = buf_limit - buf_index; in SHA2Update()
856 if (buf_index) { in SHA2Update()
857 bcopy(input, &ctx->buf_un.buf8[buf_index], buf_len); in SHA2Update()
906 buf_index = 0; in SHA2Update()
910 bcopy(&input[i], &ctx->buf_un.buf8[buf_index], input_len - i); in SHA2Update()
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_rxdma.h254 uint32_t buf_index; member
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_rxdma.h356 uint32_t buf_index; member
H A Dhxge_rxdma.c474 bufinfo[anchor_index].buf_index; in hxge_rxbuf_pp_to_vp()
2940 ring_info->buffer[i].buf_index = i; in hxge_map_rxdma_channel_buf_ring()
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_rxdma.c854 bufinfo[anchor_index].buf_index; in nxge_rxbuf_pp_to_vp()
3828 ring_info->buffer[i].buf_index = i; in nxge_map_rxdma_channel_buf_ring()