]> Savannah Git Hosting - gnulib.git/commit
sm3-buffer: New module.
authorBruno Haible <bruno@clisp.org>
Sat, 18 Sep 2021 23:42:57 +0000 (01:42 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 18 Sep 2021 23:42:57 +0000 (01:42 +0200)
commit81ca30b0dedb08c6ef54c308cd264bc234a060c4
tree584f90140c3fce49afbe4ef38e4da91fc2aabc6e
parent9dbf2816fd77fbd502b58d03f9f67e4894f8d78f
sm3-buffer: New module.

* lib/sm3-stream.c: New file, extracted from lib/sm3.c.
* lib/sm3.c: Don't include stdlib.h, unlocked-io.h.
(BLOCKSIZE, sm3_stream): Moved to sm3-stream.c.
* lib/sm3.h: Tweak.
* modules/crypto/sm3-buffer: New file, based on modules/crypto/sm3.
* modules/crypto/sm3: Rewritten.
ChangeLog
lib/sm3-stream.c [new file with mode: 0644]
lib/sm3.c
lib/sm3.h
modules/crypto/sm3
modules/crypto/sm3-buffer [new file with mode: 0644]