CKM: Update old initial values tests
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 4 Dec 2018 12:39:47 +0000 (13:39 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 15 Mar 2019 13:55:20 +0000 (14:55 +0100)
commit2af7ff294bca6d9884176aa597e015a5cd8bdfb5
tree6b67e7306bc533ad4c0ea10502ec6f4e7c831207
parent9a9fc231f7688e10fb6935e3ce4e7df89dd2a914
CKM: Update old initial values tests

With introduction of support for initial values (including encrypted
ones) in key manager's TZ backend the xml scheme and the encryption
scheme has been changed. Also the SW backend does not handle encrypted
initial values. As a result the existing tests for initial values
started to fail.

To make them work again the following changes are introduced:
- Use version 2 in test xml files.
- Remove all code, files and xml elements related to encrypted initial
  values from old tests (T6001-T6999).
- Enable old initial values tests in an environment with no TZ support.
- Add a TODO list for initial values tests.

Change-Id: I1f9cb80b6080f628e2058c9165dfd424b0ad44d1
src/ckm/privileged/initial-values.cpp
src/ckm/resource/XML_1_okay.xml
src/ckm/resource/XML_2_okay.xml
src/ckm/resource/XML_3_wrong.xml
src/ckm/resource/device_key.xml [deleted file]