]> Savannah Git Hosting - gnulib.git/commit
sha256: Clarify module to source relation.
authorBruno Haible <bruno@clisp.org>
Sat, 18 Sep 2021 23:38:36 +0000 (01:38 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 18 Sep 2021 23:39:06 +0000 (01:39 +0200)
commit36cd6e0a4e9761db5f0b98508b21d552d9e50b28
treeff83ffcd5dd1e875096d306a86596e45e4d861ab
parent517b9f77086d38cb1409194576cab40fb3f714d5
sha256: Clarify module to source relation.

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