Lines Matching defs:bsz
23 size_t bsz = SHA3_BLOCKSIZE(bitlen);
25 if (bsz <= sizeof(ctx->buf)) {
27 ctx->block_size = bsz;
48 size_t bsz = ctx->block_size;
55 rem = bsz - num;
69 (void)SHA3_absorb(ctx->A, ctx->buf, bsz, bsz);
74 if (len >= bsz)
75 rem = SHA3_absorb(ctx->A, inp, len, bsz);
89 size_t bsz = ctx->block_size;
96 * Pad the data with 10*1. Note that |num| can be |bsz - 1|
100 memset(ctx->buf + num, 0, bsz - num);
102 ctx->buf[bsz - 1] |= 0x80;
104 (void)SHA3_absorb(ctx->A, ctx->buf, bsz, bsz);
106 SHA3_squeeze(ctx->A, md, ctx->md_size, bsz);