xref: /third_party/mbedtls/library/psa_crypto_client.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/mbedtls/library/
1a8e1175bSopenharmony_ci/*
2a8e1175bSopenharmony_ci *  PSA crypto client code
3a8e1175bSopenharmony_ci */
4a8e1175bSopenharmony_ci/*
5a8e1175bSopenharmony_ci *  Copyright The Mbed TLS Contributors
6a8e1175bSopenharmony_ci *  SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
7a8e1175bSopenharmony_ci */
8a8e1175bSopenharmony_ci
9a8e1175bSopenharmony_ci#include "common.h"
10a8e1175bSopenharmony_ci#include "psa/crypto.h"
11a8e1175bSopenharmony_ci
12a8e1175bSopenharmony_ci#if defined(MBEDTLS_PSA_CRYPTO_CLIENT)
13a8e1175bSopenharmony_ci
14a8e1175bSopenharmony_ci#include <string.h>
15a8e1175bSopenharmony_ci#include "mbedtls/platform.h"
16a8e1175bSopenharmony_ci
17a8e1175bSopenharmony_civoid psa_reset_key_attributes(psa_key_attributes_t *attributes)
18a8e1175bSopenharmony_ci{
19a8e1175bSopenharmony_ci    memset(attributes, 0, sizeof(*attributes));
20a8e1175bSopenharmony_ci}
21a8e1175bSopenharmony_ci
22a8e1175bSopenharmony_ci#endif /* MBEDTLS_PSA_CRYPTO_CLIENT */
23

Indexes created Thu Nov 07 10:32:03 CST 2024