GD32W51x User Manual
969
Figure 29-1. PKCAU module block diagram
A
H
B
B
u
s
PKCAU
core
PKCAU RAM
(3584 bytes)
PKCAU_CTL
PKCAU_STAT
PKCAU_STATC
PKCAU registers
Control/status
clear
status
Control
logic
interrupt
29.3.1.
Operands
If the RSA operand size is ROS, the modulus length is ML, then the data size is
ROS = (ML/32+1)
words. If the ECC operand size is EOS, the prime modulus length is ML,
then the data size is EOS = (ML/32+1) words.
The PKCAU supports RSA/DH algorithms with up to 3136 bits (98 words) of operands and
ECC algorithm with up to 640 bits (20 words) of operands.The maximum ROS is 99 words,
and the maximum EOS is 21 words.
When writing the input parameters to the PKCAU RAM, a word 0x00000000 must be added.
The PKCAU RAM is little-endian.For example, when writing the input parameter x
p
of ECC
P256 for ECC scalar multiplication to PKCAU RAM, the modulus length is 8 words, address
offset 0x55C stores the lowest byte, address offset 0x578 stores the highest byte. Address
offset 0x57C stores word 0x00000000.
29.3.2.
RSA algorithm
RSA algorithm is a common public key cryptography algorithm and the most widely used
asymmetric cryptography algorithm. The RSA algorithm flow is shown in
.
Содержание 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 ...