blob: b9e12bb6f3f78f5f1e4d163fd684ed173380149e [file] [log] [blame]
Gilles Peskinee59236f2018-01-27 23:32:46 +01001/**
2 * \file psa/crypto_extra.h
3 *
4 * \brief PSA cryptography module: Mbed TLS vendor extensions
5 */
6/*
7 * Copyright (C) 2018, ARM Limited, All Rights Reserved
8 * SPDX-License-Identifier: Apache-2.0
9 *
10 * Licensed under the Apache License, Version 2.0 (the "License"); you may
11 * not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
13 *
14 * http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing, software
17 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
18 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
21 *
22 * This file is part of mbed TLS (https://tls.mbed.org)
23 */
24
25#ifndef PSA_CRYPTO_EXTRA_H
26#define PSA_CRYPTO_EXTRA_H
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32/**
33 * \brief Library deinitialization.
34 *
35 * This function clears all data associated with the PSA layer,
36 * including the whole key store.
37 *
38 * This is an Mbed TLS extension.
39 */
40void mbedtls_psa_crypto_free( void );
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif /* PSA_CRYPTO_EXTRA_H */