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_extra.h |
| 10 | * |
| 11 | * \brief PSA cryptography module: vendor extensions |
| 12 | */ |
| 13 | |
| 14 | #ifndef __PSA_CRYPTO_EXTRA_H__ |
| 15 | #define __PSA_CRYPTO_EXTRA_H__ |
| 16 | |
| 17 | #ifdef __cplusplus |
| 18 | extern "C" { |
| 19 | #endif |
| 20 | |
| 21 | /** |
| 22 | * \note This file is meant to be included by psa_crypto.h only |
| 23 | * |
| 24 | */ |
| 25 | |
| 26 | /** |
| 27 | * \brief Library deinitialization. |
| 28 | * |
| 29 | * This function clears all data associated with the PSA layer, |
| 30 | * including the whole key store. |
| 31 | * |
| 32 | * This is an Mbed TLS extension. |
| 33 | */ |
| 34 | void mbedtls_psa_crypto_free(void); |
| 35 | |
| 36 | #ifdef __cplusplus |
| 37 | } |
| 38 | #endif |
| 39 | |
| 40 | #endif /* __PSA_CRYPTO_EXTRA_H__ */ |