Table 164. Extended Ecdsa Sign (Extra Outputs); Table 165. Ecdsa Verification (Inputs); Table 166. Ecdsa Verification (Outputs) - STMicroelectronics STM32WL5 Series Reference Manual

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Table of Contents

Advertisement

Public key accelerator (PKA)
OUT
24.4.17
ECDSA verification
ECDSA verification operation (outlined in
parameters) and
The epplication should check if the output error is equal to zero, if it is different from zero,
the signature is not verified.
Parameters with direction
MODE
Curve prime order n
length
Curve modulus p length
Curve coefficient a sign
Curve coefficient |a|
Curve modulus value p
Curve base point G
IN
coordinate x
Curve base point G
coordinate y
Public-key curve point Q
coordinate x
Public-key curve point Q
coordinate y
Signature part r
Signature part s
Hash of message z
Curve prime order n
Parameters with direction
OUT Result: ECDSA verify
712/1450

Table 164. Extended ECDSA sign (extra outputs)

Parameters with direction
Curve point kG coordinate x
Curve point kG coordinate y
Table 166
(output parameters).

Table 165. ECDSA verification (inputs)

Q
Q

Table 166. ECDSA verification (outputs)

Value (Note)
(0 ≤ x
1
(0 ≤ y
1
Section
24.3.5) is summarized in
Value (Note)
0x26
(In bits, not null)
(In bits, not null,
8 < value < 640)
0x0: positive
0x1: negative
(Absolute value, |a| < p)
(Odd integer prime,
640
0 < p < 2
)
(x < p)
(y < p)
(x
< p)
Q
(y
< p)
Q
(0 < r < n)
(0 < s < n)
M
(z < 2
)
(integer prime)
Value (Note)
0x0: valid signature
Not 0x0: invalid signature
RM0453 Rev 5
Storage
< p)
RAM@0x103C
1
< p)
RAM@0x1090
1
Table 165
Storage
PKA_CR
RAM@0x404
RAM@0x4B4
RAM@0x45C
RAM@0x460
RAM@0x4B8
RAM@0x5E8
RAM@0x63C
RAM@0xF40
RAM@0xF94
RAM@0x1098
RAM@0xA44
RAM@0xFE8
RAM@0xD5C
Storage
RAM@0x5B0
RM0453
Size
EOS
(input
Size
6 bits
32 bits
EOS
Size
32 bits

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32WL5 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32wl55 seriesStm32wl54 series

Table of Contents