1 /* 2 * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #include <psa/crypto.h> 8 9 /* 10 * The key attributes structure used on the client API doesn't 11 * contain an dynamically allocated members so resetting it just 12 * requires the structure to be set to its initial value. 13 */ psa_reset_key_attributes(psa_key_attributes_t * attributes)14void psa_reset_key_attributes(psa_key_attributes_t *attributes) 15 { 16 *attributes = psa_key_attributes_init(); 17 } 18