From: Krzysztof Jackiewicz Date: Wed, 27 Mar 2019 11:29:24 +0000 (+0100) Subject: CKM: Reduce big data size in TZ tests X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F62%2F202362%2F3;p=platform%2Fcore%2Ftest%2Fsecurity-tests.git CKM: Reduce big data size in TZ tests The CFB big data encryption takes more than 20 minutes on TZ backend crossing the key-manager's socket timeout as well as async API timeout and dramatically extending the test duration. The reason is that CFB is not supported by GP API and is implemented using multiple ECB encryption requests which takes a lot of time. Make big data size in TZ tests smaller. Change-Id: Id02f5e49f18e1cdb18a245714fb4b79aeea93db8 --- diff --git a/src/ckm/unprivileged/encryption-decryption.cpp b/src/ckm/unprivileged/encryption-decryption.cpp index e452c45..3b2af2d 100644 --- a/src/ckm/unprivileged/encryption-decryption.cpp +++ b/src/ckm/unprivileged/encryption-decryption.cpp @@ -198,7 +198,7 @@ public: PLAIN_DATA = create_raw_buffer(createRandomBufferCAPI(BUF_LEN)); #ifdef TZ_BACKEND - BIG_DATA = create_raw_buffer(createRandomBufferCAPI(100000)); + BIG_DATA = create_raw_buffer(createRandomBufferCAPI(1000)); #else BIG_DATA = create_raw_buffer(createRandomBufferCAPI(5000000)); #endif