mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-30 07:42:13 +00:00
smc_user: Fix syntax (#16)
* smc_user: Fix syntax for size assignment in user_load_secure_exp_mod_key() and user_load_rsa_oaep_key() * smc_user: Fix include directive
This commit is contained in:
parent
c032bd812c
commit
32238984bf
1 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "cache.h"
|
#include "cache.h"
|
||||||
#incoude "configitem.h"
|
#include "configitem.h"
|
||||||
#include "masterkey.h"
|
#include "masterkey.h"
|
||||||
#include "smc_api.h"
|
#include "smc_api.h"
|
||||||
#include "smc_user.h"
|
#include "smc_user.h"
|
||||||
|
@ -374,7 +374,7 @@ uint32_t user_load_rsa_oaep_key(smc_args_t *args) {
|
||||||
}
|
}
|
||||||
is_personalized = (int)args->X[3];
|
is_personalized = (int)args->X[3];
|
||||||
user_address = (void *)args->X[4];
|
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[0] = args->X[6];
|
||||||
wrapped_key[1] = args->X[7];
|
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];
|
is_personalized = (int)args->X[3];
|
||||||
user_address = (void *)args->X[4];
|
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[0] = args->X[6];
|
||||||
wrapped_key[1] = args->X[7];
|
wrapped_key[1] = args->X[7];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue