blob: 6d35c683389b899202033aac004978a0e6708d1e [file] [log] [blame]
Antonio de Angelis8908f472018-08-31 15:44:25 +01001/*
Antonio de Angelis377a1552018-11-22 17:02:40 +00002 * Copyright (c) 2018-2019, Arm Limited. All rights reserved.
Antonio de Angelis8908f472018-08-31 15:44:25 +01003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
Antonio de Angelis8908f472018-08-31 15:44:25 +01007/**
8 * \file psa_crypto_platform.h
9 *
10 * \brief PSA cryptography module: platform definitions
Antonio de Angelis8908f472018-08-31 15:44:25 +010011 *
Antonio de Angelis377a1552018-11-22 17:02:40 +000012 * \note This file may not be included directly. Applications must
13 * include psa/crypto.h.
14 *
15 * This file contains platform-dependent type definitions.
16 *
17 * In implementations with isolation between the application and the
18 * cryptography module, implementers should take care to ensure that
19 * the definitions that are exposed to applications match what the
20 * module implements.
Antonio de Angelis8908f472018-08-31 15:44:25 +010021 */
22
Antonio de Angelis377a1552018-11-22 17:02:40 +000023#ifndef PSA_CRYPTO_PLATFORM_H
24#define PSA_CRYPTO_PLATFORM_H
25
Antonio de Angelis8908f472018-08-31 15:44:25 +010026/* PSA requires several types which C99 provides in stdint.h. */
27#include <stdint.h>
28
Antonio de Angelis8908f472018-08-31 15:44:25 +010029/* Integral type representing a key slot number. */
30typedef uint16_t psa_key_slot_t;
31
Antonio de Angelis377a1552018-11-22 17:02:40 +000032#endif /* PSA_CRYPTO_PLATFORM_H */