Lines Matching refs:tl
529 unsigned long tl;
538 tl = ctx->buf_len - OK_BLOCK_BLOCK;
539 ctx->buf[0] = (unsigned char)(tl >> 24);
540 ctx->buf[1] = (unsigned char)(tl >> 16);
541 ctx->buf[2] = (unsigned char)(tl >> 8);
542 ctx->buf[3] = (unsigned char)(tl);
544 (unsigned char *)&(ctx->buf[OK_BLOCK_BLOCK]), tl))
560 unsigned long tl = 0;
570 assert(sizeof(tl) >= OK_BLOCK_BLOCK); /* always true */
571 tl = ctx->buf[0];
572 tl <<= 8;
573 tl |= ctx->buf[1];
574 tl <<= 8;
575 tl |= ctx->buf[2];
576 tl <<= 8;
577 tl |= ctx->buf[3];
579 if (ctx->buf_len < tl + OK_BLOCK_BLOCK + md_size)
583 (unsigned char *)&(ctx->buf[OK_BLOCK_BLOCK]), tl))
587 if (memcmp(&(ctx->buf[tl + OK_BLOCK_BLOCK]), tmp, md_size) == 0) {
589 ctx->buf_off_save = tl + OK_BLOCK_BLOCK + md_size;
592 ctx->buf_len = tl + OK_BLOCK_BLOCK;