APT:Unwrap1

From 3dbrew
Revision as of 22:51, 21 July 2017 by Wwylele (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x00530104]
1 Output Size
2 Input Size
3 Nonce Offset
4 Nonce Size (capped to 12)
5 (Input Size << 4) | 0xA
6 void*, Input
7 (Output Size << 4) | 0xC
8 void*, Output

Response

Index Word Description
0 Header code
1 Result code

Description

Similar to APT:Unwrap, but using a software AES-CCM implementation with a different key stored in the NS module. This is probably to avoid a bug in the hardware implementation.