v2 / thirdparty / mbedtls / library / psa_crypto_client.c
22 lines · 17 sloc · 434 bytes · 1274cdc3447be8e83616e8512872455e8720c2fd
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 "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 */
23