Add sm3 demos and sm3_hmac bug fix

This commit is contained in:
Zhi Guan
2022-07-31 21:25:03 +08:00
parent 4ab269919d
commit fa7b6a6b06
7 changed files with 100 additions and 6 deletions

View File

@@ -4,5 +4,9 @@ project(sm3demo)
include_directories(/usr/local/include)
link_directories(/usr/local/lib)
add_executable(sm3demo sm3demo.c)
target_link_libraries(sm3demo gmssl)
add_executable(sm3_demo sm3_demo.c)
add_executable(sm3_hmac_demo sm3_hmac_demo.c)
add_executable(sm3_kdf_demo sm3_kdf_demo.c)
target_link_libraries(sm3_demo gmssl)
target_link_libraries(sm3_hmac_demo gmssl)
target_link_libraries(sm3_kdf_demo gmssl)