Difference between revisions of "APT:Unwrap1"
Jump to navigation
Jump to search
Steveice10 (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00530104] |- | 1 | Output Size |- | 2 | Input Size |- | 3 | Block Size |- | 4 | ...") |
|||
Line 15: | Line 15: | ||
|- | |- | ||
| 3 | | 3 | ||
− | | | + | | Nonce Offset |
|- | |- | ||
| 4 | | 4 | ||
Line 45: | Line 45: | ||
| Result code | | 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 [[AES_Registers#CCM_mode_pitfall|a bug in the hardware implementation]]. |
Latest revision as of 21:51, 21 July 2017
Request[edit]
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[edit]
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
Description[edit]
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.