mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-19 19:33:38 +08:00
Add PBKDF2 tests from Wycheproof
This commit is contained in:
@@ -20,6 +20,7 @@ else()
|
||||
endif()
|
||||
|
||||
option(ENABLE_TEST_SPEED "Enable test speed" OFF)
|
||||
option(ENABLE_LONG_TEST "Enable long-running tests" OFF)
|
||||
|
||||
|
||||
|
||||
@@ -173,6 +174,7 @@ set(tests
|
||||
block_cipher
|
||||
digest
|
||||
hkdf
|
||||
pbkdf2
|
||||
gf128
|
||||
pkcs8
|
||||
ec
|
||||
@@ -210,6 +212,11 @@ if (ENABLE_TEST_SPEED)
|
||||
add_definitions(-DENABLE_TEST_SPEED)
|
||||
endif()
|
||||
|
||||
if (ENABLE_LONG_TEST)
|
||||
message(STATUS "ENABLE_LONG_TEST is ON")
|
||||
add_definitions(-DENABLE_LONG_TEST)
|
||||
endif()
|
||||
|
||||
|
||||
option(ENABLE_SM2_ALGOR_ID_ENCODE_NULL "Enable AlgorithmIdenifier with algorithm sm2sign_with_sm3 encode a NULL object as parameters" OFF)
|
||||
if (ENABLE_SM2_ALGOR_ID_ENCODE_NULL)
|
||||
@@ -513,7 +520,6 @@ if (ENABLE_SHA2)
|
||||
list(APPEND tests sha224 sha256 sha384 sha512 hmac)
|
||||
endif()
|
||||
|
||||
|
||||
if (ENABLE_AES)
|
||||
message(STATUS "ENABLE_AES is ON")
|
||||
add_definitions(-DENABLE_AES)
|
||||
|
||||
Reference in New Issue
Block a user