APT:Wrap1: Difference between revisions
Jump to navigation
Jump to search
Steveice10 (talk | contribs) Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00520104] |- | 1 | Output Size |- | 2 | Input Size |- | 3 | Block Size |- | 4 | ..." |
No edit summary |
||
Line 15: | Line 15: | ||
|- | |- | ||
| 3 | | 3 | ||
| | | Nonce Offset | ||
|- | |- | ||
| 4 | | 4 | ||
Line 45: | Line 45: | ||
| Result code | | Result code | ||
|} | |} | ||
=Description= | |||
Similar to [[APT:Wrap]], 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 22:49, 21 July 2017
Request
Index Word | Description |
---|---|
0 | Header code [0x00520104] |
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:Wrap, 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.