COMPRESS macro and sha256_compress/sha512_compress do the same thing,
so replace COMPRESS by the later.
Signed-off-by: Corentin Labbe
---
sha256.c | 8 +++-
sha512.c | 8 +++-
2 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/sha256.c b/sha256.c
index ed11d801..91a4db7c 100
Corentin Labbe writes:
> COMPRESS macro and sha256_compress/sha512_compress do the same thing,
> so replace COMPRESS by the later.
This second patch generates lots of pointer type warnings, so I've done
it slightly differently. Pushed your first patch and followup changes to
a branch export-sha2
Le Thu, Jun 09, 2022 at 06:47:12PM +0200, Niels Möller a écrit :
> Corentin Labbe writes:
>
> > COMPRESS macro and sha256_compress/sha512_compress do the same thing,
> > so replace COMPRESS by the later.
>
> This second patch generates lots of pointer type warnings, so I've done
> it slightly di
Le Thu, Jun 09, 2022 at 06:47:12PM +0200, Niels Möller a écrit :
> Corentin Labbe writes:
>
> > COMPRESS macro and sha256_compress/sha512_compress do the same thing,
> > so replace COMPRESS by the later.
>
> This second patch generates lots of pointer type warnings, so I've done
> it slightly di
Corentin Labbe writes:
> Does this is what you want ?
> --- a/nettle.texinfo
> +++ b/nettle.texinfo
> @@ -929,6 +929,13 @@ This function also resets the context in the same way as
> @code{md5_init}.
> @end deftypefun
>
> +@deftypefun void md5_compress (uint32_t *@var{state}, uint8_t *@var{inp