Home
last modified time | relevance | path

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

12

/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
H A Dhks_aes_cipher_mt.cpp36 struct TestCaseParams { struct
37 std::vector<HksParam> params;
38 std::string hexData;
39 uint32_t inLenAppend = 0;
41 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
42 HksErrorCode encryptResult = HksErrorCode::HKS_SUCCESS;
43 HksErrorCode decryptResult = HksErrorCode::HKS_SUCCESS;
H A Dhks_aes_decrypt_mt.cpp33 struct TestCaseParams { struct
34 std::vector<HksParam> params;
35 uint32_t inLenAppend = 0;
36 std::string hexData;
38 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
39 HksErrorCode encryptResult = HksErrorCode::HKS_SUCCESS;
40 HksErrorCode decryptResult = HksErrorCode::HKS_SUCCESS;
H A 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;
H A 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;
H A 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;
H A Dhks_hmac_mt.cpp37 struct TestCaseParams { struct
38 std::vector<HksParam> params;
39 std::string hexData;
41 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
42 HksErrorCode hmacResult = HksErrorCode::HKS_SUCCESS;
H A Dhks_ecc_sign_mt.cpp37 struct TestCaseParams { struct
38 std::vector<HksParam> params;
39 std::string hexData;
41 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
42 HksErrorCode signResult = HksErrorCode::HKS_SUCCESS;
43 HksErrorCode verifyResult = HksErrorCode::HKS_SUCCESS;
H A Dhks_ecc_verify_mt.cpp36 struct TestCaseParams { struct
37 std::vector<HksParam> params;
38 std::string hexData;
40 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
41 HksErrorCode signResult = HksErrorCode::HKS_SUCCESS;
42 HksErrorCode verifyResult = HksErrorCode::HKS_SUCCESS;
H A 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;
H A Dhks_agree_mt.cpp39 struct TestCaseParams { struct
40 std::vector<HksParam> generateKeyParams;
41 std::vector<HksParam> agreeKeyParams;
42 std::string hexData;
44 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
45 HksErrorCode agreeResult = HksErrorCode::HKS_SUCCESS;
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
H A Dhks_crypto_hal_hmac_hmac.cpp32 struct TestCaseParams { struct
34 HksKeyDigest digest = HksKeyDigest::HKS_DIGEST_NONE;
35 HksStageType runStage = HksStageType::HKS_STAGE_THREE;
37 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
38 HksErrorCode hmacResult = HksErrorCode::HKS_SUCCESS;
H A Dhks_crypto_hal_rsa_encrypt.cpp33 struct TestCaseParams { struct
35 std::string hexData;
36 std::string keyData;
37 HksKeySize keySize = HksKeySize::HKS_RSA_KEY_SIZE_512;
39 HksErrorCode encryptResult = HksErrorCode::HKS_SUCCESS;
H A Dhks_crypto_hal_rsa_decrypt.cpp33 struct TestCaseParams { struct
35 std::string keyData;
36 std::string hexData;
38 HksErrorCode decryptResult = HksErrorCode::HKS_SUCCESS;
H A Dhks_crypto_hal_ecdsa_sign.cpp33 struct TestCaseParams { struct
36 HksStageType runStage = HksStageType::HKS_STAGE_THREE;
38 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
39 HksErrorCode signResult = HksErrorCode::HKS_SUCCESS;
40 HksErrorCode verifyResult = HksErrorCode::HKS_SUCCESS;
H A Dhks_crypto_hal_dh_agree.cpp34 struct TestCaseParams { struct
37 HksErrorCode agreeResult = HksErrorCode::HKS_SUCCESS;
38 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
H A Dhks_crypto_hal_ecdh_agree.cpp32 struct TestCaseParams { struct
36 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
37 HksErrorCode agreeResult = HksErrorCode::HKS_SUCCESS;
H A Dhks_crypto_hal_aes_encrypt.cpp32 struct TestCaseParams { struct
34 std::string keyData;
35 std::string hexData;
36 HksStageType runStage = HksStageType::HKS_STAGE_THREE;
38 HksErrorCode encryptResult = HksErrorCode::HKS_SUCCESS;
H A Dhks_crypto_hal_rsa_cipher.cpp32 struct TestCaseParams { struct
35 std::string hexData;
37 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
38 HksErrorCode encryptResult = HksErrorCode::HKS_SUCCESS;
39 HksErrorCode decryptResult = HksErrorCode::HKS_SUCCESS;
H A Dhks_crypto_hal_rsa_oaep_encrypt.cpp35 struct TestCaseParams { struct
37 std::string keyData;
38 std::string hexData;
39 HksKeySize keySize = HksKeySize::HKS_RSA_KEY_SIZE_512;
41 HksErrorCode encryptResult = HksErrorCode::HKS_SUCCESS;
H A Dhks_crypto_hal_aes_key.cpp32 struct TestCaseParams { struct
35 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
H A Dhks_crypto_hal_dh.cpp34 struct TestCaseParams { struct
37 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
H A Dhks_crypto_hal_rsa_oaep_decrypt.cpp34 struct TestCaseParams { struct
36 std::string hexData;
37 std::string keyData;
39 HksErrorCode decryptResult = HksErrorCode::HKS_SUCCESS;
H A Dhks_crypto_hal_rsa_sign.cpp32 struct TestCaseParams { struct
35 std::string hexData;
36 HksStageType runStage = HksStageType::HKS_STAGE_THREE;
38 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
39 HksErrorCode signResult = HksErrorCode::HKS_SUCCESS;
40 HksErrorCode verifyResult = HksErrorCode::HKS_SUCCESS;
H A Dhks_crypto_hal_ecc_key.cpp32 struct TestCaseParams { struct
35 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;
H A Dhks_crypto_hal_rsa_key.cpp32 struct TestCaseParams { struct
35 HksErrorCode generateKeyResult = HksErrorCode::HKS_SUCCESS;

12