Antonio de Angelis | 8908f47 | 2018-08-31 15:44:25 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2018, Arm Limited. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | /** |
| 9 | * \file psa_crypto_platform.h |
| 10 | * |
| 11 | * \brief PSA cryptography module: platform definitions |
| 12 | */ |
| 13 | |
| 14 | #ifndef __PSA_CRYPTO_PLATFORM_H__ |
| 15 | #define __PSA_CRYPTO_PLATFORM_H__ |
| 16 | |
| 17 | /** |
| 18 | * \note This file is meant to be included by psa_crypto.h only |
| 19 | * |
| 20 | */ |
| 21 | |
| 22 | /* PSA requires several types which C99 provides in stdint.h. */ |
| 23 | #include <stdint.h> |
| 24 | |
| 25 | /* The following header is needed for platform specific constants */ |
| 26 | #include <limits.h> |
| 27 | |
| 28 | /* Integral type representing a key slot number. */ |
| 29 | typedef uint16_t psa_key_slot_t; |
| 30 | |
| 31 | #endif /* __PSA_CRYPTO_PLATFORM_H__ */ |