GD32W51x User Manual
982
Table 29-3. Range of parameters used by RSA CRT exponentiation operation
Param eters
Range
Input
Operand d
P
0≤d
P
< 2
L/2
Operand d
Q
0≤d
Q
<2
L/2
Operand q
inv
0<q
inv
<2
L/2
Prime p
0<p<2
L/2
Prime q
0<q<2
L/2
Operand A
0≤A<2
L
Output
result = A
d
mod pq
0≤result<pq
29.3.5.
Elliptic curve operations in Fp domain
The Elliptic curve operation mode in Fp domain can be selected by configuring the
MODSEL[5:0] in PKCAU_CTL register. The operation modes to be selected is shown in
29-4. Elliptic curve operations in Fp domain
.
Table 29-4. Elliptic curve operations in Fp domain
MODSEL[5:0]
Operation m odes
100000
Montgomery parameter computation then ECC scalar multiplication
100010
ECC scalar multiplication only (Montgomery parameter must be loaded
first)
100100
ECDSA sign
100110
ECDSA verification
101000
Point on elliptic curve Fp check
Point on elliptic curve Fp check
The operation is used to check whether P(x,y) is on the y
2
= x
3
+ax+b mod p in prime domain,
where A and B are curve coefficients. The point on elliptic curve check operation in Fp domain
is selected by configuring MODSEL[5:0] in PKCAU_CTL register as "101000". The operation
declaration is shown in
Figure 29-19. Point on elliptic curve Fp check
. If the operation
result is 0, it indicates that point P is on the elliptic curve. Or else, it indicates that point P is
not on the elliptic curve.
Содержание GD32W515 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32W51x Arm Cortex M33 32 bit MCU User Manual Revision 1 0 Nov 2021 ...
Страница 66: ...GD32W51x User Manual 66 Bits Fields Descriptions 31 0 UNIQUE_ID 95 64 Unique device ID ...
Страница 389: ...GD32W51x User Manual 389 The FWDGT timeout can be more accurate by calibrating the IRC32K ...
Страница 504: ...GD32W51x User Manual 504 ...
Страница 710: ...GD32W51x User Manual 710 ...