smc_user: Fix syntax for size assignment in user_load_secure_exp_mod_key() and user_load_rsa_oaep_key()

This commit is contained in:
Lioncash 2018-02-22 16:34:02 -05:00
parent b00df2032d
commit 24cbd060a9
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -374,7 +374,7 @@ uint32_t user_load_rsa_oaep_key(smc_args_t *args) {
}
is_personalized = (int)args->X[3];
user_address = (void *)args->X[4];
size = = (size_t)args->X[5];
size = (size_t)args->X[5];
wrapped_key[0] = args->X[6];
wrapped_key[1] = args->X[7];
@ -469,7 +469,7 @@ uint32_t user_load_secure_exp_mod_key(smc_args_t *args) {
}
is_personalized = (int)args->X[3];
user_address = (void *)args->X[4];
size = = (size_t)args->X[5];
size = (size_t)args->X[5];
wrapped_key[0] = args->X[6];
wrapped_key[1] = args->X[7];