Home
last modified time | relevance | path

Searched refs:rsiz (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/arch/arm64/crypto/
Dsha3-ce-glue.c43 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()
/Linux-v6.6/crypto/
Dsha3_generic.c166 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()
/Linux-v6.6/arch/s390/crypto/
Dsha3_256_s390.c36 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()
Dsha3_512_s390.c35 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()
/Linux-v6.6/include/crypto/
Dsha3.h22 unsigned int rsiz; member