Lines Matching +full:auth +full:- +full:tests
1 /* SPDX-License-Identifier: BSD-2-Clause */
3 * Copyright (c) 2017-2018, Intel Corporation
18 #include "sapi-util.h"
22 * Test auth value changes for Owner Auth
39 LOG_INFO("HIERARCHY_CHANGE_AUTH TESTS:" ); in test_owner_auth()
48 /* Init new auth */ in test_owner_auth()
67 /* Provide current auth value in SessionData hmac field */ in test_owner_auth()
69 /* change auth value to different value */ in test_owner_auth()
76 /* Provide current auth value in SessionData hmac field */ in test_owner_auth()
78 /* change auth value to different value */ in test_owner_auth()
80 /* backup auth value to restore to empty buffer after test */ in test_owner_auth()
88 /* Set new auth to zero */ in test_owner_auth()
90 /* Assert that without setting current auth value the command fails */ in test_owner_auth()
107 /* Set auth to zero again with valid session */ in test_owner_auth()
109 /* change auth value to different value */ in test_owner_auth()
120 * Test auth value changes for Platform Auth
137 LOG_INFO("HIERARCHY_CHANGE_AUTH TESTS:" ); in test_platform_auth()
145 /* Init new auth */ in test_platform_auth()
162 /* Provide current auth value in SessionData hmac field */ in test_platform_auth()
164 /* change auth value to different value */ in test_platform_auth()
171 /* Provide current auth value in SessionData hmac field */ in test_platform_auth()
173 /* change auth value to different value */ in test_platform_auth()
175 /* backup auth value to restore to empty buffer after test */ in test_platform_auth()
183 /* Set new auth to zero */ in test_platform_auth()
185 /* Assert that without setting current auth value the command fails */ in test_platform_auth()
202 /* Set auth to zero again with valid session */ in test_platform_auth()
204 /* change auth value to different value */ in test_platform_auth()