Lines Matching refs:start

268 			char *start, *end;  in rc4_crypt_update()  local
269 start = input->cd_raw.iov_base + input->cd_offset; in rc4_crypt_update()
273 if (start + input->cd_length > end) in rc4_crypt_update()
276 arcfour_crypt(key, (uchar_t *)start, (uchar_t *)start, in rc4_crypt_update()
281 uchar_t *start, *end; in rc4_crypt_update() local
287 mp1 = advance_position(mp, input->cd_offset, &start); in rc4_crypt_update()
300 if (_PTRDIFF(mp1->b_wptr, start) > left) { in rc4_crypt_update()
302 arcfour_crypt(key, start, start, len); in rc4_crypt_update()
305 len = _PTRDIFF(mp1->b_wptr, start); in rc4_crypt_update()
306 arcfour_crypt(key, start, start, len); in rc4_crypt_update()
308 start = mp1->b_rptr; in rc4_crypt_update()
337 uchar_t *start; in rc4_crypt_update() local
342 start = (uchar_t *)(iovp->iov_base + offset); in rc4_crypt_update()
343 arcfour_crypt(key, start + offset, in rc4_crypt_update()
344 start + offset, cur_len); in rc4_crypt_update()
375 char *start, *end; in rc4_crypt_update() local
376 start = input->cd_raw.iov_base + input->cd_offset; in rc4_crypt_update()
380 if (start + input->cd_length > end) in rc4_crypt_update()
383 ret = crypto_arcfour_crypt(key, (uchar_t *)start, output, in rc4_crypt_update()
391 uchar_t *start, *end; in rc4_crypt_update() local
397 mp1 = advance_position(mp, input->cd_offset, &start); in rc4_crypt_update()
410 if (_PTRDIFF(mp1->b_wptr, start) > left) { in rc4_crypt_update()
412 ret = crypto_arcfour_crypt(key, start, output, in rc4_crypt_update()
418 len = _PTRDIFF(mp1->b_wptr, start); in rc4_crypt_update()
419 ret = crypto_arcfour_crypt(key, start, output, in rc4_crypt_update()
424 start = mp1->b_rptr; in rc4_crypt_update()
454 uchar_t *start; in rc4_crypt_update() local
458 start = (uchar_t *)(iovp->iov_base + offset); in rc4_crypt_update()
459 ret = crypto_arcfour_crypt(key, start + offset, in rc4_crypt_update()
540 uchar_t *start, *end; in crypto_arcfour_crypt() local
541 start = (uchar_t *)(out->cd_raw.iov_base + in crypto_arcfour_crypt()
547 if (start + out->cd_length > end) in crypto_arcfour_crypt()
550 arcfour_crypt(key, in, start, length); in crypto_arcfour_crypt()
555 uchar_t *start, *end; in crypto_arcfour_crypt() local
561 mp1 = advance_position(mp, out->cd_offset, &start); in crypto_arcfour_crypt()
574 if (_PTRDIFF(mp1->b_wptr, start) > left) { in crypto_arcfour_crypt()
576 arcfour_crypt(key, in, start, len); in crypto_arcfour_crypt()
579 len = _PTRDIFF(mp1->b_wptr, start); in crypto_arcfour_crypt()
580 arcfour_crypt(key, in, start, len); in crypto_arcfour_crypt()
582 start = mp1->b_rptr; in crypto_arcfour_crypt()
611 uchar_t *start; in crypto_arcfour_crypt() local
615 start = (uchar_t *)(iovp->iov_base + offset); in crypto_arcfour_crypt()
616 arcfour_crypt(key, start + offset, in crypto_arcfour_crypt()
617 start + offset, cur_len); in crypto_arcfour_crypt()