From: Dongsun Lee Date: Thu, 3 Aug 2023 00:25:51 +0000 (+0900) Subject: CKM: Support ECDSA tests for TZ Backend X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=039e9102821d9431db4167e788ea809d51a27cfb;p=platform%2Fcore%2Ftest%2Fsecurity-tests.git CKM: Support ECDSA tests for TZ Backend Change-Id: I6a9605fb81e27b77425dddfd56db0c9b261b3a60 --- diff --git a/src/ckm/unprivileged/sign-verify.cpp b/src/ckm/unprivileged/sign-verify.cpp index c1a7b445..27e97495 100644 --- a/src/ckm/unprivileged/sign-verify.cpp +++ b/src/ckm/unprivileged/sign-verify.cpp @@ -132,12 +132,9 @@ public: generateKeys(DSA, 3072); generateKeys(DSA, 4096); #endif -#ifndef TZ_BACKEND - // ECDSA is not yet supported on TZ generateKeys(ECDSA, EC_PRIME192V1); generateKeys(ECDSA, EC_PRIME256V1); generateKeys(ECDSA, EC_SECP384R1); -#endif MESSAGE_SHORT = create_raw_buffer(createRandomBufferCAPI(512/8)); @@ -316,8 +313,6 @@ void testSignVerify(Algo algo, size_t keyBits, int idx) if (algo == DSA && keyBits > 1024) RUNNER_IGNORED_MSG("For DSA with SHA1 only 1024-bit keys are supported and TZ does not"\ " currently support anything else than SHA1 for DSA."); - if (algo == ECDSA) - RUNNER_IGNORED_MSG("ECDSA is not yet supported in TZ"); #endif std::string pw;