Skip to content

Fix psa_key_management_operations #12392

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 12, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1822,7 +1822,7 @@ static void psa_key_management_operation(void)

switch (psa_key_mng.func) {
case PSA_GET_KEY_ATTRIBUTES: {
psa_key_attributes_t attributes;
psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
psa_client_key_attributes_t client;

if (!psa_crypto_access_control_is_handle_permitted(psa_key_mng.handle,
Expand Down Expand Up @@ -1882,7 +1882,7 @@ static void psa_key_management_operation(void)

case PSA_IMPORT_KEY: {
size_t attributes_length = msg.in_size[1];
psa_key_attributes_t attributes;
psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
size_t data_length = msg.in_size[2];
uint8_t *data = NULL;
psa_key_handle_t handle;
Expand Down