CKM: Reduce big data size in TZ tests 62/202362/3
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 27 Mar 2019 11:29:24 +0000 (12:29 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 5 Apr 2019 09:27:41 +0000 (11:27 +0200)
commit8f20c9b94c4b74a16b10bb2fc0c3925842f9afeb
tree7a779ba7e8b8b5365686ccf2e70f02c3d6f90830
parent6021e02afe4f468ea2c7532abda189094c611860
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
src/ckm/unprivileged/encryption-decryption.cpp