Home
last modified time | relevance | path

Searched defs:TestCaseParams (Results 1 – 25 of 29) sorted by relevance

12

/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_aes_cipher_mt.cpp32 struct TestCaseParams { struct
33 std::vector<HksParam> params;
34 std::string hexData;
35 uint32_t inLenAppend = 0;
37 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
38 HksErrorCode encryptResult = HksErrorCode::HKS_SUCCESS;
39 HksErrorCode decryptResult = HksErrorCode::HKS_SUCCESS;
Dhks_aes_decrypt_mt.cpp33 struct TestCaseParams { struct
34 std::vector<HksParam> params;
35 std::string hexData;
36 uint32_t inLenAppend = 0;
38 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
39 HksErrorCode encryptResult = HksErrorCode::HKS_SUCCESS;
40 HksErrorCode decryptResult = HksErrorCode::HKS_SUCCESS;
Dhks_aes_encrypt_mt.cpp33 struct TestCaseParams { struct
34 std::vector<HksParam> params;
35 std::string hexData;
36 uint32_t inLenAppend = 0;
38 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
39 HksErrorCode encryptResult = HksErrorCode::HKS_SUCCESS;
40 HksErrorCode decryptResult = HksErrorCode::HKS_SUCCESS;
Dhks_aes_key_mt.cpp33 struct TestCaseParams { struct
34 std::vector<HksParam> params;
35 std::string hexData;
36 uint32_t inLenAppend = 0;
38 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
39 HksErrorCode encryptResult = HksErrorCode::HKS_SUCCESS;
40 HksErrorCode decryptResult = HksErrorCode::HKS_SUCCESS;
Dhks_ecc_key_mt.cpp33 struct TestCaseParams { struct
34 std::vector<HksParam> params;
35 std::string hexData;
37 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
38 HksErrorCode signResult = HksErrorCode::HKS_SUCCESS;
39 HksErrorCode verifyResult = HksErrorCode::HKS_SUCCESS;
Dhks_hmac_mt.cpp33 struct TestCaseParams { struct
34 std::vector<HksParam> params;
35 std::string hexData;
37 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
38 HksErrorCode hmacResult = HksErrorCode::HKS_SUCCESS;
Dhks_ecc_verify_mt.cpp32 struct TestCaseParams { struct
33 std::vector<HksParam> params;
34 std::string hexData;
36 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
37 HksErrorCode signResult = HksErrorCode::HKS_SUCCESS;
38 HksErrorCode verifyResult = HksErrorCode::HKS_SUCCESS;
Dhks_ecc_sign_mt.cpp33 struct TestCaseParams { struct
34 std::vector<HksParam> params;
35 std::string hexData;
37 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
38 HksErrorCode signResult = HksErrorCode::HKS_SUCCESS;
39 HksErrorCode verifyResult = HksErrorCode::HKS_SUCCESS;
Dhks_dsa_mt.cpp38 struct TestCaseParams { struct
39 std::vector<HksParam> params;
40 HksKeyDigest keyDigest = HksKeyDigest::HKS_DIGEST_NONE;
42 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
43 HksErrorCode signResult = HksErrorCode::HKS_SUCCESS;
44 HksErrorCode verifyResult = HksErrorCode::HKS_SUCCESS;
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_hmac_hmac.cpp31 struct TestCaseParams { struct
32 HksKeySpec spec = {0};
33 HksKeyDigest digest = HksKeyDigest::HKS_DIGEST_NONE;
34 HksStageType runStage = HksStageType::HKS_STAGE_THREE;
36 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
37 HksErrorCode hmacResult = HksErrorCode::HKS_SUCCESS;
Dhks_crypto_hal_ecdh_agree.cpp31 struct TestCaseParams { struct
32 HksKeySpec spec = {0};
33 HksKeySpec specForAgree = {0};
35 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
36 HksErrorCode agreeResult = HksErrorCode::HKS_SUCCESS;
Dhks_crypto_hal_rsa_encrypt.cpp31 struct TestCaseParams { struct
32 HksUsageSpec usageSpec = {0};
33 std::string keyData;
34 std::string hexData;
35 HksKeySize keySize = HksKeySize::HKS_RSA_KEY_SIZE_512;
37 HksErrorCode encryptResult = HksErrorCode::HKS_SUCCESS;
Dhks_crypto_hal_ecdsa_sign.cpp32 struct TestCaseParams { struct
33 HksKeySpec spec = {0};
34 HksUsageSpec usageSpec = {0};
35 HksStageType runStage = HksStageType::HKS_STAGE_THREE;
37 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
38 HksErrorCode signResult = HksErrorCode::HKS_SUCCESS;
39 HksErrorCode verifyResult = HksErrorCode::HKS_SUCCESS;
Dhks_crypto_hal_rsa_decrypt.cpp31 struct TestCaseParams { struct
32 HksUsageSpec usageSpec = {0};
33 std::string keyData;
34 std::string hexData;
36 HksErrorCode decryptResult = HksErrorCode::HKS_SUCCESS;
Dhks_crypto_hal_dh_agree.cpp33 struct TestCaseParams { struct
34 HksKeySpec spec = {0};
36 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
37 HksErrorCode agreeResult = HksErrorCode::HKS_SUCCESS;
Dhks_crypto_hal_rsa_cipher.cpp31 struct TestCaseParams { struct
32 HksKeySpec spec = {0};
33 HksUsageSpec usageSpec = {0};
34 std::string hexData;
36 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
37 HksErrorCode encryptResult = HksErrorCode::HKS_SUCCESS;
38 HksErrorCode decryptResult = HksErrorCode::HKS_SUCCESS;
Dhks_crypto_hal_aes_key.cpp31 struct TestCaseParams { struct
32 HksKeySpec spec = {0};
34 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
Dhks_crypto_hal_dh.cpp33 struct TestCaseParams { struct
34 HksKeySpec spec = {0};
36 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
Dhks_crypto_hal_rsa_oaep_encrypt.cpp32 struct TestCaseParams { struct
33 HksUsageSpec usageSpec = {0};
34 std::string keyData;
35 std::string hexData;
36 HksKeySize keySize = HksKeySize::HKS_RSA_KEY_SIZE_512;
38 HksErrorCode encryptResult = HksErrorCode::HKS_SUCCESS;
Dhks_crypto_hal_aes_encrypt.cpp31 struct TestCaseParams { struct
32 HksUsageSpec usageSpec = {0};
33 std::string keyData;
34 std::string hexData;
35 HksStageType runStage = HksStageType::HKS_STAGE_THREE;
37 HksErrorCode encryptResult = HksErrorCode::HKS_SUCCESS;
Dhks_crypto_hal_ecc_key.cpp31 struct TestCaseParams { struct
32 HksKeySpec spec = {0};
34 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
Dhks_crypto_hal_rsa_sign.cpp31 struct TestCaseParams { struct
32 HksKeySpec spec = {0};
33 HksUsageSpec usageSpec = {0};
34 std::string hexData;
35 HksStageType runStage = HksStageType::HKS_STAGE_THREE;
37 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
38 HksErrorCode signResult = HksErrorCode::HKS_SUCCESS;
39 HksErrorCode verifyResult = HksErrorCode::HKS_SUCCESS;
Dhks_crypto_hal_rsa_key.cpp31 struct TestCaseParams { struct
32 HksKeySpec spec = {0};
34 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
Dhks_crypto_hal_rsa_oaep_decrypt.cpp31 struct TestCaseParams { struct
32 HksUsageSpec usageSpec = {0};
33 std::string keyData;
34 std::string hexData;
36 HksErrorCode decryptResult = HksErrorCode::HKS_SUCCESS;
Dhks_crypto_hal_aes_decrypt.cpp32 struct TestCaseParams { struct
33 HksUsageSpec usageSpec = {0};
34 std::string keyData;
35 std::string hexData;
36 HksStageType runStage = HksStageType::HKS_STAGE_THREE;
38 HksErrorCode decryptResult = HksErrorCode::HKS_SUCCESS;

12