Lines Matching refs:hdrsize
592 size_t hdrsize, nr, recsize;
616 hdrsize = HDR_NORMAL_SZ;
620 hdrsize = HDR_CRYPTO_SZ;
625 if ((ret = __os_calloc(env, 1, recsize + hdrsize, &tmp)) != 0)
629 persist = (LOGP *)(tmp + hdrsize);
636 if ((ret = __os_read(env, fhp, tmp, recsize + hdrsize, &nr)) != 0 ||
637 nr != recsize + hdrsize ||
682 if ((hdr->len - hdrsize) != sizeof(LOGP)) {
689 hdr->len - hdrsize, is_hmac)) != 0) {
695 &hdr->iv[0], (u_int8_t *)persist, hdr->len - hdrsize)) != 0)
750 hdr->len - hdrsize, is_hmac)) != 0) {