GD32W51x User Manual
968
29.
Public Key Cryptographic Acceleration Unit (PKCAU)
29.1.
Overview
Public key encryption is also called asymmetric encryption, asymmetric encryption algorithms
use different keys for encryption and decryption. The Public Key Cryptographic Acceleration
Unit (PKCAU) can accelerate RSA (Rivest, Shamir and Adleman), Diffie-Hellmann (DH key
exchange) and ECC (elliptic curve cryptography) in GF(p) (Galois domain). These operations
are performed in the Montgomery domain to improve computational efficiency.
29.2.
Characteristics
Support RSA/DH algorithms with up to 3136 bits of operands
Support ECC algorithm with up to 640 bits of operands
RSA modular exponentiation, RSA CRT exponentiation
ECC scalar multiplication, check point on elliptic curve
ECDSA (Elliptic Curve Digital Signature Algorithm) signature and verification
Support Montgomery multiplication, accelerate RSA, DH and ECC operations
Embedded RAM of 3584 bytes
Conversion between the Montgomery domain and the natural domain
PKCAU is a 32 bit peripheral, only 32-bit access is supported
29.3.
Function overview
The Public Key Cryptographic Acceleration Unit (PKCAU) is used for accelerating RSA, DH
and ECC operations in GF(p) domain. The PKCAU module contains PKCAU RAM, PKCAU
core, and PKCAU registers. The PKCAU RAM is used to store the parameters required by
the operation and save the calculation result after the calculation is completed.
Figure 29-1. PKCAU module block diagram
below provides details on the internal
configuration of the PKCAU interface.