Skip to content
0.2.0-dev Download ZIP
22 lines ·448 B Raw
1/*
2 * PSA crypto client code
3 */
4/*
5 * Copyright The Mbed TLS Contributors
6 * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
7 */
8
9#include "tf_psa_crypto_common.h"
10#include "psa/crypto.h"
11
12#if defined(MBEDTLS_PSA_CRYPTO_CLIENT)
13
14#include <string.h>
15#include "mbedtls/platform.h"
16
17void psa_reset_key_attributes(psa_key_attributes_t *attributes)
18{
19 memset(attributes, 0, sizeof(*attributes));
20}
21
22#endif /* MBEDTLS_PSA_CRYPTO_CLIENT */