diff options
author | wwylele <wwylele@gmail.com> | 2017-01-01 13:58:24 +0100 |
---|---|---|
committer | wwylele <wwylele@gmail.com> | 2017-02-21 22:57:31 +0100 |
commit | d5b0e275e3391a1449c77d2ee6ea0384706ebaaa (patch) | |
tree | 4266cba75c9298fd5733a22ede04e8e3b64aa9f0 /src/core/hle/service/apt/apt.h | |
parent | HW: add AES engine & implement AES-CCM (diff) | |
download | yuzu-d5b0e275e3391a1449c77d2ee6ea0384706ebaaa.tar yuzu-d5b0e275e3391a1449c77d2ee6ea0384706ebaaa.tar.gz yuzu-d5b0e275e3391a1449c77d2ee6ea0384706ebaaa.tar.bz2 yuzu-d5b0e275e3391a1449c77d2ee6ea0384706ebaaa.tar.lz yuzu-d5b0e275e3391a1449c77d2ee6ea0384706ebaaa.tar.xz yuzu-d5b0e275e3391a1449c77d2ee6ea0384706ebaaa.tar.zst yuzu-d5b0e275e3391a1449c77d2ee6ea0384706ebaaa.zip |
Diffstat (limited to 'src/core/hle/service/apt/apt.h')
-rw-r--r-- | src/core/hle/service/apt/apt.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/core/hle/service/apt/apt.h b/src/core/hle/service/apt/apt.h index 80325361f..e63b61450 100644 --- a/src/core/hle/service/apt/apt.h +++ b/src/core/hle/service/apt/apt.h @@ -137,6 +137,46 @@ void Initialize(Service::Interface* self); void GetSharedFont(Service::Interface* self); /** + * APT::Wrap service function + * Inputs: + * 1 : Output buffer size + * 2 : Input buffer size + * 3 : Nonce offset to the input buffer + * 4 : Nonce size + * 5 : Buffer mapping descriptor ((input_buffer_size << 4) | 0xA) + * 6 : Input buffer address + * 7 : Buffer mapping descriptor ((input_buffer_size << 4) | 0xC) + * 8 : Output buffer address + * Outputs: + * 1 : Result of function, 0 on success, otherwise error code + * 2 : Buffer unmapping descriptor ((input_buffer_size << 4) | 0xA) + * 3 : Input buffer address + * 4 : Buffer unmapping descriptor ((input_buffer_size << 4) | 0xC) + * 5 : Output buffer address + */ +void Wrap(Service::Interface* self); + +/** + * APT::Unwrap service function + * Inputs: + * 1 : Output buffer size + * 2 : Input buffer size + * 3 : Nonce offset to the output buffer + * 4 : Nonce size + * 5 : Buffer mapping descriptor ((input_buffer_size << 4) | 0xA) + * 6 : Input buffer address + * 7 : Buffer mapping descriptor ((input_buffer_size << 4) | 0xC) + * 8 : Output buffer address + * Outputs: + * 1 : Result of function, 0 on success, otherwise error code + * 2 : Buffer unmapping descriptor ((input_buffer_size << 4) | 0xA) + * 3 : Input buffer address + * 4 : Buffer unmapping descriptor ((input_buffer_size << 4) | 0xC) + * 5 : Output buffer address + */ +void Unwrap(Service::Interface* self); + +/** * APT::NotifyToWait service function * Inputs: * 1 : AppID |