Newer
Older
mbed-os / platform / FEATURE_EXPERIMENTAL_API / FEATURE_PSA / TARGET_MBED_PSA_SRV / TESTS / compliance_its / test_s010 / test_s010.h
@Rajkumar Kanagaraj Rajkumar Kanagaraj on 21 Aug 2020 1 KB Move FEATURE_EXPERIMENTAL_API for PSA to platform
/** @file
 * Copyright (c) 2019, Arm Limited or its affiliates. All rights reserved.
 * SPDX-License-Identifier : Apache-2.0
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
**/
#ifndef _TEST_S010_CLIENT_TESTS_H_
#define _TEST_S010_CLIENT_TESTS_H_

#ifdef ITS_TEST
#define VAL_STORAGE_BASE VAL_INTERNAL_TRUSTED_STORAGE_BASE
#define test_entry CONCAT(test_entry_, s010)
#elif PS_TEST
#define VAL_STORAGE_BASE VAL_PROTECTED_STORAGE_BASE
#define test_entry CONCAT(test_entry_, p010)
#endif
#define val CONCAT(val,test_entry)
#define psa CONCAT(psa,test_entry)

extern val_api_t *val;
extern psa_api_t *psa;
extern client_test_t test_s010_sst_list[];

int32_t psa_sst_uid_value_zero_check(caller_security_t caller);
#endif /* _TEST_S010_CLIENT_TESTS_H_ */