Lines Matching defs:remainder
54 size_t remainder = length;
88 if (need > remainder)
165 remainder = (size_t)&data[length] - (size_t)datap;
168 if (remainder > 0 && remainder < block_size) {
169 bcopy(datap, ctx->ccm_remainder, remainder);
170 ctx->ccm_remainder_len = remainder;
176 } while (remainder > 0);
242 /* copy remainder to temporary buffer */
365 size_t remainder = length;
454 if (need > remainder)
499 remainder = (size_t)&data[length] - (size_t)datap;
502 if (remainder > 0 && remainder < block_size) {
503 bcopy(datap, ctx->ccm_remainder, remainder);
504 ctx->ccm_remainder_len = remainder;
513 ctx->ccm_processed_data_len += remainder;
520 } while (remainder > 0);
776 size_t remainder, processed;
808 remainder = auth_data_len;
823 remainder -= processed;
824 if (remainder == 0) {
830 if (remainder < block_size) {
836 bcopy(&(auth_data[processed]), authp, remainder);
838 remainder = 0;
842 remainder -= block_size;
848 } while (remainder > 0);