Home
last modified time | relevance | path

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

/Linux-v5.10/arch/arm64/crypto/
Dsha3-ce-glue.c39 if ((sctx->partial + len) >= sctx->rsiz) { in sha3_update()
43 int p = sctx->rsiz - sctx->partial; in sha3_update()
55 blocks = len / sctx->rsiz; in sha3_update()
56 len %= sctx->rsiz; in sha3_update()
62 data += blocks * sctx->rsiz; in sha3_update()
84 memset(sctx->buf + sctx->partial, 0, sctx->rsiz - sctx->partial); in sha3_final()
85 sctx->buf[sctx->rsiz - 1] |= 0x80; in sha3_final()
/Linux-v5.10/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-v5.10/arch/s390/crypto/
Dsha3_256_s390.c37 octx->rsiz = sctx->count; in sha3_256_export()
49 sctx->count = ictx->rsiz; in sha3_256_import()
62 sctx->count = ictx->rsiz; in sha3_224_import()
Dsha3_512_s390.c36 octx->rsiz = sctx->count; in sha3_512_export()
52 sctx->count = ictx->rsiz; in sha3_512_import()
68 sctx->count = ictx->rsiz; in sha3_384_import()
/Linux-v5.10/include/crypto/
Dsha3.h22 unsigned int rsiz; member