Changes

Jump to navigation Jump to search
100 bytes removed ,  00:22, 24 January 2018
let's call 'em what they are
| 17 || [[#DecryptImportPrivkForExpMod1]] || Speculative name. Wrapper for [[SMC#LoadRsaPrivateKey|LoadRsaPrivateKey SMC]].
|-
| 18 || [[#UnwrapRsaWrappedPreparedAesKey UnwrapRsaWrappedTitleKey ]] || Speculative name. Wrapper for [[SMC#UnwrapPreparedAesKeyUnwrapRsaWrappedTitleKey|UnwrapPreparedAesKey UnwrapRsaWrappedTitleKey SMC]].
|-
| 19 || [[#LoadPreparedAesKeyLoadTitleKey]] || Wrapper for [[SMC#LoadPreparedAesKeyLoadTitleKey|LoadPreparedAesKey LoadTitleKey SMC]].
|-
| 20 || [2.0.0+] [[#UnwrapAesWrappedPreparedAesKey UnwrapAesWrappedTitleKey ]] || Wrapper for [[SMC#GeneratePreparedAesKekUnwrapAesWrappedTitleKey|GeneratePreparedAesKek UnwrapAesWrappedTitleKey SMC]].
|-
| 21 || [2.0.0+] [[#LockAesEngine]] ||
Decrypts '''enc_privk_in_buf''' with a key generated from '''key_x''' and '''key_y''' and imports it for later usage.
== UnwrapRsaWrappedPreparedAesKey UnwrapRsaWrappedTitleKey ==
Takes 3 type-9 (X descriptor) buffers ('''data_in_buf''', '''mod_in_buf''' and '''param0_in_buf''').
Decrypts '''data_in_buf''' using the private key imported with [[#DecryptImportPrivkForExpMod1]] and the supplied '''mod_in_buf''' and '''param0_in_buf'''.
Generates and returns a 16-byte sealed prepared key ('''key_z''')titlekey.
== LoadPreparedAesKey LoadTitleKey ==Takes a u32 ('''keyslot''') and a 16-byte sealed prepared key ('''key_z''')titlekey.
Sets the specified '''keyslot''' with a key generated from '''key_z'''the titlekey.
[2.0.0+] Verifies the engine is locked by current session.
== UnwrapAesWrappedPreparedAesKey UnwrapAesWrappedTitleKey ==
Takes a 16-byte EKS ('''Encryption Key Source''').
Returns a sealed prepared AES keytitlekey.
== LockAesEngine ==

Navigation menu