2021-01-28 15:07:56 +00:00
|
|
|
/*
|
|
|
|
* PSA crypto client code
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* Copyright The Mbed TLS Contributors
|
2023-11-02 19:47:20 +00:00
|
|
|
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
2021-01-28 15:07:56 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
#include "psa/crypto.h"
|
|
|
|
|
2021-02-09 11:36:49 +00:00
|
|
|
#if defined(MBEDTLS_PSA_CRYPTO_CLIENT)
|
|
|
|
|
2021-01-28 15:36:00 +00:00
|
|
|
#include <string.h>
|
|
|
|
#include "mbedtls/platform.h"
|
|
|
|
|
2023-01-11 13:50:10 +00:00
|
|
|
void psa_reset_key_attributes(psa_key_attributes_t *attributes)
|
2021-01-28 15:36:00 +00:00
|
|
|
{
|
2023-01-11 13:50:10 +00:00
|
|
|
memset(attributes, 0, sizeof(*attributes));
|
2021-01-28 15:36:00 +00:00
|
|
|
}
|
|
|
|
|
2021-02-09 11:36:49 +00:00
|
|
|
#endif /* MBEDTLS_PSA_CRYPTO_CLIENT */
|