Lines Matching refs:bsz
23 size_t bsz = SHA3_BLOCKSIZE(bitlen); in ossl_sha3_init() local
25 if (bsz <= sizeof(ctx->buf)) { in ossl_sha3_init()
27 ctx->block_size = bsz; in ossl_sha3_init()
48 size_t bsz = ctx->block_size; in ossl_sha3_update() local
55 rem = bsz - num; in ossl_sha3_update()
69 (void)SHA3_absorb(ctx->A, ctx->buf, bsz, bsz); in ossl_sha3_update()
74 if (len >= bsz) in ossl_sha3_update()
75 rem = SHA3_absorb(ctx->A, inp, len, bsz); in ossl_sha3_update()
89 size_t bsz = ctx->block_size; in ossl_sha3_final() local
100 memset(ctx->buf + num, 0, bsz - num); in ossl_sha3_final()
102 ctx->buf[bsz - 1] |= 0x80; in ossl_sha3_final()
104 (void)SHA3_absorb(ctx->A, ctx->buf, bsz, bsz); in ossl_sha3_final()
106 SHA3_squeeze(ctx->A, md, ctx->md_size, bsz); in ossl_sha3_final()