diff options
| author | Paul Duncan <pabs@pablotron.org> | 2023-09-02 01:57:40 -0400 |
|---|---|---|
| committer | Paul Duncan <pabs@pablotron.org> | 2023-09-02 01:57:40 -0400 |
| commit | cdd3961d4a370041176d27d97129f998d2c1f549 (patch) | |
| tree | 2450764abbaf751b572ec4625cf103e34d2f9db8 /sha3.h | |
| parent | 5f0124c4923dc44a6f2bf1666fafcecc0c90306b (diff) | |
| download | sha3-cdd3961d4a370041176d27d97129f998d2c1f549.tar.xz sha3-cdd3961d4a370041176d27d97129f998d2c1f549.zip | |
sha3.[hc], main.c: remove absorb_done(), make squeeze always succeed
Diffstat (limited to 'sha3.h')
| -rw-r--r-- | sha3.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -28,13 +28,11 @@ void shake256(const uint8_t *m, size_t m_len, uint8_t dst[static 32]); void shake128_xof_init(sha3_xof_t * const xof); _Bool shake128_xof_absorb(sha3_xof_t * const xof, const uint8_t * const m, const size_t len); -_Bool shake128_xof_absorb_done(sha3_xof_t * const xof); -_Bool shake128_xof_squeeze(sha3_xof_t * const xof, uint8_t * const dst, const size_t dst_len); +void shake128_xof_squeeze(sha3_xof_t * const xof, uint8_t * const dst, const size_t dst_len); void shake256_xof_init(sha3_xof_t * const xof); _Bool shake256_xof_absorb(sha3_xof_t * const xof, const uint8_t * const m, const size_t len); -_Bool shake256_xof_absorb_done(sha3_xof_t * const xof); -_Bool shake256_xof_squeeze(sha3_xof_t * const xof, uint8_t * const dst, const size_t dst_len); +void shake256_xof_squeeze(sha3_xof_t * const xof, uint8_t * const dst, const size_t dst_len); #ifdef __cplusplus } |
