]> Savannah Git Hosting - gnulib.git/commit
sha512: Clarify module to source relation.
authorBruno Haible <bruno@clisp.org>
Sat, 18 Sep 2021 23:40:46 +0000 (01:40 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 18 Sep 2021 23:41:18 +0000 (01:41 +0200)
commit2b6d343ff9f3a536054024c233ff46c2d19e598e
tree4e7c3702b2e0eb70ea297f6157b85b1b0a3d27fa
parentecad57d5a208a154ed0af6d93bd27a071c5d909b
sha512: Clarify module to source relation.

* lib/sha512-stream.c: New file, extracted from lib/sha512.c.
* lib/sha512.c: Don't include stdlib.h, unlocked-io.h.
(BLOCKSIZE, shaxxx_stream, sha512_stream, sha384_stream): Moved to
sha512-stream.c.
* lib/sha512.h: Tweak.
* modules/crypto/sha512 (Files): Add lib/sha512-stream.c.
(configure.ac): Don't define GL_COMPILE_CRYPTO_STREAM.
(Makefile.am): Arrange to compile sha512-stream.c.
(Link): Mention $(LIB_CRYPTO).
ChangeLog
lib/sha512-stream.c [new file with mode: 0644]
lib/sha512.c
lib/sha512.h
modules/crypto/sha512