1a8e1175bSopenharmony_ci/* Ad hoc report on included headers. */ 2a8e1175bSopenharmony_ci/* 3a8e1175bSopenharmony_ci * Copyright The Mbed TLS Contributors 4a8e1175bSopenharmony_ci * SPDX-License-Identifier: Apache-2.0 5a8e1175bSopenharmony_ci * 6a8e1175bSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); you may 7a8e1175bSopenharmony_ci * not use this file except in compliance with the License. 8a8e1175bSopenharmony_ci * You may obtain a copy of the License at 9a8e1175bSopenharmony_ci * 10a8e1175bSopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 11a8e1175bSopenharmony_ci * 12a8e1175bSopenharmony_ci * Unless required by applicable law or agreed to in writing, software 13a8e1175bSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 14a8e1175bSopenharmony_ci * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15a8e1175bSopenharmony_ci * See the License for the specific language governing permissions and 16a8e1175bSopenharmony_ci * limitations under the License. 17a8e1175bSopenharmony_ci */ 18a8e1175bSopenharmony_ci 19a8e1175bSopenharmony_ci#include <psa/crypto.h> 20a8e1175bSopenharmony_ci#include <mbedtls/platform.h> 21a8e1175bSopenharmony_ci 22a8e1175bSopenharmony_ciint main(void) 23a8e1175bSopenharmony_ci{ 24a8e1175bSopenharmony_ci 25a8e1175bSopenharmony_ci /* Which PSA platform header? */ 26a8e1175bSopenharmony_ci#if defined(PSA_CRYPTO_PLATFORM_H) 27a8e1175bSopenharmony_ci mbedtls_printf("PSA_CRYPTO_PLATFORM_H\n"); 28a8e1175bSopenharmony_ci#endif 29a8e1175bSopenharmony_ci#if defined(PSA_CRYPTO_PLATFORM_ALT_H) 30a8e1175bSopenharmony_ci mbedtls_printf("PSA_CRYPTO_PLATFORM_ALT_H\n"); 31a8e1175bSopenharmony_ci#endif 32a8e1175bSopenharmony_ci 33a8e1175bSopenharmony_ci /* Which PSA struct header? */ 34a8e1175bSopenharmony_ci#if defined(PSA_CRYPTO_STRUCT_H) 35a8e1175bSopenharmony_ci mbedtls_printf("PSA_CRYPTO_STRUCT_H\n"); 36a8e1175bSopenharmony_ci#endif 37a8e1175bSopenharmony_ci#if defined(PSA_CRYPTO_STRUCT_ALT_H) 38a8e1175bSopenharmony_ci mbedtls_printf("PSA_CRYPTO_STRUCT_ALT_H\n"); 39a8e1175bSopenharmony_ci#endif 40a8e1175bSopenharmony_ci 41a8e1175bSopenharmony_ci} 42