Create new PSA compliant headers

pull/9529/head
Oren Cohen 2019-01-24 12:33:38 +02:00
parent 84ec1f7f1f
commit b08c0e2361
3 changed files with 74 additions and 0 deletions

View File

@ -0,0 +1,25 @@
/* Copyright (c) 2017-2018 ARM Limited
*
* 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.
*/
#if defined(TARGET_MBED_SPM)
#include "psa_defs.h"
#include "spm_client.h"
#endif
#if defined(TARGET_TFM)
#include "interface/include/psa_client.h"
#endif

View File

@ -0,0 +1,23 @@
/* Copyright (c) 2017-2018 ARM Limited
*
* 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 __MBED_INTERNAL_TRUSTED_STORAGE_H__
#define __MBED_INTERNAL_TRUSTED_STORAGE_H__
#include "psa_prot_internal_storage.h"
#endif // __MBED_INTERNAL_TRUSTED_STORAGE_H__

View File

@ -0,0 +1,26 @@
/* Copyright (c) 2017-2018 ARM Limited
*
* 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.
*/
#if defined(TARGET_MBED_SPM)
#include "psa_defs.h"
#include "spm_server.h"
#include "spm_panic.h"
#endif
#if defined(TARGET_TFM)
#include "interface/include/psa_service.h"
#endif