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