SPRUJ17H March 2022 – October 2024 AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1
The numeric data used is shown in the table below:
NIST-P-192 Curve Parameters | ||||||
---|---|---|---|---|---|---|
p = | 0xffffffff | ffffffff | ffffffff | fffffffe | ffffffff | ffffffff |
a = | 0xffffffff | ffffffff | ffffffff | fffffffe | ffffffff | fffffffc |
b = | 0x64210519 | e59c80e7 | 0fa7e9ab | 72243049 | feb8deec | c146b9b1 |
Gx = | 0x188da80e | b03090f6 | 7cbf20eb | 43a18800 | f4ff0afd | 82ff1012 |
Gy = | 0x07192b95 | ffc8da78 | 631011ed | 6b24cdd5 | 73f977a1 | 1e794811 |
Scalar: | ||||||
k = | 0xe5ce89a3 | 4adddf25 | ff3bf1ff | e6803f57 | d0220de3 | 118798ea |
Expected Result of k * G: | ||||||
Qx = | 0xd3fdca75 | 40b64f95 | 156af62c | b3f9716c | 3d205433 | c3ad57da |
Qy = | 0x4b811ef8 | dd635dc4 | 60da6862 | 91ae59bd | dd2ba695 | 8b923a22 |
Qz = | 0x5f88419d | 8dcc1c6a | 2b2e3e8d | 0370b93d | 7140fb8c | 745e7eb3 |
The PKA RAM setup is as follows:
PKA RAM byte offset |
0x00 | 0x04 | 0x08 | 0x0C | 0x10 | 0x14 | 0x18 | 0x1C |
---|---|---|---|---|---|---|---|---|
0x0000 | ffffffff | ffffffff | fffffffe | ffffffff | ffffffff | ffffffff | [1] | [1] |
0x0020 | ffffffff | ffffffff | fffffffe | ffffffff | ffffffff | fffffffc | [1] | [1] |
0x0040 | c146b9b1 | feb8deec | 72243049 | 0fa7e9ab | e59c80e7 | 64210519 | [1] | [1] |
0x0060 | 82ff1012 | f4ff0afd | 43a18800 | 7cbf20eb | b03090f6 | 188da80e | [1] | [1] |
0x0080 | 1e794811 | 73f977a1 | 6b24cdd5 | 631011ed | ffc8da78 | 07192b95 | [1] | [1] |
0x00A0 | 00000001 | 00000000 | 00000000 | 00000000 | 00000000 | 00000000 | [1] | [1] |
0x00C0 | 118798ea | d0220de3 | e6803f57 | ff3bf1ff | 4adddf25 | e5ce89a3 | [1] | [1] |
0x00E0 | ||||||||
... … |
PKA register contents, including the final ECpMULxyz command value written to PKA_FUNCTION are presented in the table below:
PKA_APTR | PKA_BPTR | PKA_CPTR | PKA_DPTR | PKA_ALENGTH | PKA_BLENGTH | PKA_SHIFT | PKA_FUNCTION |
---|---|---|---|---|---|---|---|
0x0020 | 0x0000 | 0x0018 | 0x0038 | 0x0006 | 0x0006 | - | 0x19000 |
When the command finishes, the result is present in PKA_RAM at offset 0x0038, as shown in the table below:
PKA RAM byte offset |
0x00 | 0x04 | 0x08 | 0x0C | 0x10 | 0x14 | 0x18 | 0x1C |
---|---|---|---|---|---|---|---|---|
... … | ||||||||
0x00E0 | c3ad57da | 3d205433 | b3f9716c | 156af62c | 40b64f95 | d3fdca75 | 00000000 | 00000000 |
0x0100 | 8b923a22 | dd2ba695 | 91ae59bd | 60da6862 | dd635dc4 | 4b811ef8 | 00000000 | 00000000 |
0x0120 | 745e7eb3 | 7140fb8c | 0370b93d | 2b2e3e8d | 8dcc1c6a | 5f88419d | 00000000 | 00000000 |
... … |