mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 13:14:15 -04:00
Move source files to src/, add Makefile, fix all build and linkage errors, etc.
This commit is contained in:
parent
4c7aa566f0
commit
b0ea9c1a0b
58 changed files with 385 additions and 203 deletions
28
exosphere/src/smc_user.h
Normal file
28
exosphere/src/smc_user.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
#ifndef EXOSPHERE_SMC_USER_H
|
||||
#define EXOSPHERE_SMC_USER_H
|
||||
|
||||
#include "smc_api.h"
|
||||
|
||||
uint32_t user_exp_mod(smc_args_t *args);
|
||||
uint32_t user_get_random_bytes(smc_args_t *args);
|
||||
uint32_t user_generate_aes_kek(smc_args_t *args);
|
||||
uint32_t user_load_aes_key(smc_args_t *args);
|
||||
uint32_t user_crypt_aes(smc_args_t *args);
|
||||
uint32_t user_generate_specific_aes_key(smc_args_t *args);
|
||||
uint32_t user_compute_cmac(smc_args_t *args);
|
||||
uint32_t user_load_rsa_oaep_key(smc_args_t *args);
|
||||
uint32_t user_decrypt_rsa_private_key(smc_args_t *args);
|
||||
uint32_t user_load_secure_exp_mod_key(smc_args_t *args);
|
||||
uint32_t user_secure_exp_mod(smc_args_t *args);
|
||||
uint32_t user_unwrap_rsa_oaep_wrapped_titlekey(smc_args_t *args);
|
||||
uint32_t user_load_titlekey(smc_args_t *args);
|
||||
uint32_t user_unwrap_aes_wrapped_titlekey(smc_args_t *args);
|
||||
|
||||
|
||||
void set_crypt_aes_done(bool done);
|
||||
bool get_crypt_aes_done(void);
|
||||
|
||||
void set_exp_mod_done(bool done);
|
||||
bool get_exp_mod_done(void);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue