CKM: Fix big data tests on both backends 43/206343/1
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Thu, 16 May 2019 14:09:13 +0000 (16:09 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Thu, 16 May 2019 14:14:05 +0000 (16:14 +0200)
commitfdc60a9a67cc7cd4cab4d754ea8e626b40f72d45
treeef83c781d0ba4068503a910c8380b40eb7099804
parent1c94e60f57cbd5e987955ece417a00c762b32e3c
CKM: Fix big data tests on both backends

C API does not provide a possibility to enforce the backend. If TZ
backend is enabled in key-manager it will be used for storing big
data. TZ backend has size limitations and so the 5000000B buffer can't
be used. Add a test for big data using C++ API that allows backend
selection.

Change-Id: Id73dcdc9bfb6c02eedd32fc4c6d5637172dd3c52
src/ckm/unprivileged/capi-testcases.cpp
src/ckm/unprivileged/main.cpp