mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-06 16:36:16 +08:00
Add sm4_ccm command
This commit is contained in:
@@ -345,6 +345,7 @@ if (ENABLE_SM4_CCM)
|
||||
set(ENABLE_SM4_CBC_MAC ON)
|
||||
add_definitions(-DENABLE_SM4_CCM)
|
||||
list(APPEND src src/sm4_ccm.c)
|
||||
list(APPEND tools tools/sm4_ccm.c)
|
||||
list(APPEND tests sm4_ccm)
|
||||
endif()
|
||||
|
||||
@@ -441,6 +442,7 @@ endif()
|
||||
if (ENABLE_SM4_CBC_MAC)
|
||||
message(STATUS "ENABLE_SM4_CBC_MAC is ON")
|
||||
list(APPEND src src/sm4_cbc_mac.c)
|
||||
list(APPEND tools tools/sm4_cbc_mac.c)
|
||||
list(APPEND tests sm4_cbc_mac)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user