mirror of
https://github.com/darlinghq/darling.git
synced 2024-11-23 12:19:43 +00:00
Add a few more libaks stubs
This commit is contained in:
parent
eff21ec689
commit
02dff22f2d
@ -77,6 +77,8 @@ enum {
|
||||
kern_return_t aks_create_bag(uint8_t* secret, int secret_size, int bag_type, keybag_handle_t* handle);
|
||||
kern_return_t aks_save_bag(keybag_handle_t handle, void** bytes, size_t* size);
|
||||
kern_return_t aks_unload_bag(keybag_handle_t handle);
|
||||
kern_return_t aks_unlock_bag(keybag_handle_t handle, const void* passcode, int length);
|
||||
kern_return_t aks_load_bag(const void* data, int length, keybag_handle_t* handle);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -63,3 +63,11 @@ kern_return_t aks_save_bag(keybag_handle_t handle, void** bytes, size_t* size) {
|
||||
kern_return_t aks_unload_bag(keybag_handle_t handle) {
|
||||
return KERN_FAILURE;
|
||||
};
|
||||
|
||||
kern_return_t aks_unlock_bag(keybag_handle_t handle, const void* passcode, int length) {
|
||||
return KERN_FAILURE;
|
||||
};
|
||||
|
||||
kern_return_t aks_load_bag(const void* data, int length, keybag_handle_t* handle) {
|
||||
return KERN_FAILURE;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user