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
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