Newer
Older
mbed-os / features / FEATURE_EXPERIMENTAL_API / FEATURE_PSA / TARGET_MBED_PSA_SRV / TESTS / compliance_its / test_s006 / test_s006.h
@Devaraj Ranganna Devaraj Ranganna on 18 Jun 2020 1 KB psa: Replace Mbed PSA with TF-M
/** @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_S006_CLIENT_TESTS_H_
#define _TEST_S006_CLIENT_TESTS_H_

#ifdef ITS_TEST
#define VAL_STORAGE_BASE VAL_INTERNAL_TRUSTED_STORAGE_BASE
#define test_entry CONCAT(test_entry_, s006)
#elif PS_TEST
#define VAL_STORAGE_BASE VAL_PROTECTED_STORAGE_BASE
#define test_entry CONCAT(test_entry_, p006)
#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_s006_sst_list[];

int32_t psa_sst_flags_not_supported(caller_security_t caller);

#endif /* _TEST_S006_CLIENT_TESTS_H_ */