File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
components/TARGET_PSA/services/crypto/COMPONENT_SPE Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1822,7 +1822,7 @@ static void psa_key_management_operation(void)
1822
1822
1823
1823
switch (psa_key_mng .func ) {
1824
1824
case PSA_GET_KEY_ATTRIBUTES : {
1825
- psa_key_attributes_t attributes ;
1825
+ psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT ;
1826
1826
psa_client_key_attributes_t client ;
1827
1827
1828
1828
if (!psa_crypto_access_control_is_handle_permitted (psa_key_mng .handle ,
@@ -1882,7 +1882,7 @@ static void psa_key_management_operation(void)
1882
1882
1883
1883
case PSA_IMPORT_KEY : {
1884
1884
size_t attributes_length = msg .in_size [1 ];
1885
- psa_key_attributes_t attributes ;
1885
+ psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT ;
1886
1886
size_t data_length = msg .in_size [2 ];
1887
1887
uint8_t * data = NULL ;
1888
1888
psa_key_handle_t handle ;
You can’t perform that action at this time.
0 commit comments