Searched refs:rsiz (Results 1 – 5 of 5) sorted by relevance
43 if ((sctx->partial + len) >= sctx->rsiz) { in sha3_update()47 int p = sctx->rsiz - sctx->partial; in sha3_update()59 blocks = len / sctx->rsiz; in sha3_update()60 len %= sctx->rsiz; in sha3_update()69 data += (blocks - rem) * sctx->rsiz; in sha3_update()92 memset(sctx->buf + sctx->partial, 0, sctx->rsiz - sctx->partial); in sha3_final()93 sctx->buf[sctx->rsiz - 1] |= 0x80; in sha3_final()
166 sctx->rsiz = 200 - 2 * digest_size; in crypto_sha3_init()167 sctx->rsizw = sctx->rsiz / 8; in crypto_sha3_init()185 if ((sctx->partial + len) > (sctx->rsiz - 1)) { in crypto_sha3_update()189 done + sctx->rsiz); in crypto_sha3_update()200 done += sctx->rsiz; in crypto_sha3_update()202 } while (done + (sctx->rsiz - 1) < len); in crypto_sha3_update()221 memset(sctx->buf + inlen, 0, sctx->rsiz - inlen); in crypto_sha3_final()222 sctx->buf[sctx->rsiz - 1] |= 0x80; in crypto_sha3_final()
36 octx->rsiz = sctx->count; in sha3_256_export()48 sctx->count = ictx->rsiz; in sha3_256_import()61 sctx->count = ictx->rsiz; in sha3_224_import()
35 octx->rsiz = sctx->count; in sha3_512_export()51 sctx->count = ictx->rsiz; in sha3_512_import()67 sctx->count = ictx->rsiz; in sha3_384_import()
22 unsigned int rsiz; member
Completed in 7 milliseconds