GD32W51x User Manual
984
Figure 29-20. ECC scalar multiplication of normal mode
Modulus length
M
Curve coefficient |a|
PKCAU RAM
0x404
Curve modulus p
0x408
Length of scalar
multiplier k
0x400
Sign of curve
coefficient a
0x40C
0x460
0x55C
y coordinate of point P
...
x coordinate of point P
0x5B0
scalar multiplier k
0x508
0x55C
y coordinate of
point kP
x coordinate of
point kP
0x5B0
Offset address
input
output
Offset address
Fast mode
The ECC scalar multiplication operation in fast mode is selected by configuring MODSEL[5:0]
in PKCAU_CTL register as "100010". The operation declaration is shown in
ECC scalar multiplication of fast mode
.
Figure 29-21. ECC scalar multiplication of fast mode
Modulus length M
Curve coefficient |a|
PKCAU RAM
0x404
Curve modulus p
0x408
Length of scalar
multiplier k
0x400
Sign of curve coefficient
a
0x40C
0x460
0x55C
y coordinate of point P
...
x coordinate of point P
0x5B0
scalar multiplier k
0x508
0x55C
y coordinate of point
kP
x coordinate of point
kP
0x5B0
Montgomery parameter
R
2
mod p
0x4B4
Offset address
input
output
Offset address
The range of parameters used by point on elliptic curve Fp check operation is shown in
29-6. Range of parameters used by ECC scalar multiplication
.