CKM: Prepare db & keys once per encryption group 72/201972/5
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 19 Mar 2019 10:38:27 +0000 (11:38 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Thu, 4 Apr 2019 15:03:25 +0000 (15:03 +0000)
commitf68f596c1188a7b2ff7417ffb21a85bd031aba75
tree70b6eda931db15142d2bdbfdbfc547feec30bd7d
parent6773810146a8aa4bd83c148577664e8010243d65
CKM: Prepare db & keys once per encryption group

Database initialzation & cleanup (unlock, data removal) are only performed once
per encryption decryption test group.

Key generation in encryption decryption test group takes a lot of
time. Initialize the keys once for the group and reuse them.

Change-Id: Ibde172b4c3cfe4382c43302034aa1ee52d1355f6
src/ckm/unprivileged/encryption-decryption.cpp