psa_crypto_client.c 434 B

12345678910111213141516171819202122
  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. #include "common.h"
  9. #include "psa/crypto.h"
  10. #if defined(MBEDTLS_PSA_CRYPTO_CLIENT)
  11. #include <string.h>
  12. #include "mbedtls/platform.h"
  13. void psa_reset_key_attributes(psa_key_attributes_t *attributes)
  14. {
  15. memset(attributes, 0, sizeof(*attributes));
  16. }
  17. #endif /* MBEDTLS_PSA_CRYPTO_CLIENT */