diff options
Diffstat (limited to 'modules/crypto')
-rw-r--r-- | modules/crypto/sm3 | 13 | ||||
-rw-r--r-- | modules/crypto/sm3-buffer | 32 |
2 files changed, 35 insertions, 10 deletions
diff --git a/modules/crypto/sm3 b/modules/crypto/sm3 index 3df7d88259..773f0fa91b 100644 --- a/modules/crypto/sm3 +++ b/modules/crypto/sm3 @@ -2,22 +2,15 @@ Description: Compute SM3 checksums. Files: -lib/sm3.h -lib/sm3.c -m4/sm3.m4 +lib/sm3-stream.c Depends-on: -byteswap -c99 -extern-inline -stdalign -stdint +crypto/sm3-buffer configure.ac: -gl_SM3 Makefile.am: -lib_SOURCES += sm3.c +lib_SOURCES += sm3-stream.c Include: "sm3.h" diff --git a/modules/crypto/sm3-buffer b/modules/crypto/sm3-buffer new file mode 100644 index 0000000000..3df7d88259 --- /dev/null +++ b/modules/crypto/sm3-buffer @@ -0,0 +1,32 @@ +Description: +Compute SM3 checksums. + +Files: +lib/sm3.h +lib/sm3.c +m4/sm3.m4 + +Depends-on: +byteswap +c99 +extern-inline +stdalign +stdint + +configure.ac: +gl_SM3 + +Makefile.am: +lib_SOURCES += sm3.c + +Include: +"sm3.h" + +Link: +$(LIB_CRYPTO) + +License: +LGPLv2+ + +Maintainer: +Jia Zhang |