Adjust scheme tests to TZ 07/297207/2
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 11 Aug 2023 11:29:45 +0000 (13:29 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Fri, 1 Sep 2023 07:50:40 +0000 (07:50 +0000)
TZ does not support saving asymmetric keys with password.

Change-Id: Ia6ec92b610908a52079d2f22f32a9387237faee7

misc/encryption_scheme/scheme-test.cpp

index 89f8a7b..c5b6609 100644 (file)
@@ -194,11 +194,13 @@ Group GROUPS[] = {
                        Item("pkcs-alias2",        DataType::CHAIN_CERT_0,     policy[NO_PASS][EXP]),
                }
        },
+#ifndef TZ_BACKEND_ENABLED // TZ does not support importing asymmetric keys with password
        {
                Group::SINGLE_ITEM, {
                        Item("pkcs-alias3",        DataType::CHAIN_CERT_0,     policy[PASS][NO_EXP]),
                }
        },
+#endif
        {
                Group::SINGLE_ITEM, {
                        Item("pkcs-alias4",        DataType::CHAIN_CERT_0,     policy[PASS][EXP]),