The application discloses a prime number field elliptic curve
password co-processor, which comprises a register module, a NAF encoding module, an operation module and a controller module; wherein the operation module comprises a
modular multiplier unit, a modular squarer unit, a first modular
adder unit and a second modular
adder unit; the
modular multiplier unit is connected with the first modular
adder unit and the second modular adder unit and constitutes a three-stage pipeline structure to perform modular multiplication operation; the modular squarer unit is connected with the first modular adder unit and the second modular adder unit and constitutes a three-stage pipeline structure to perform modular squaring operation; the
modular multiplier unit and the modular squarer unit operate in parallel, which can accelerate the operation rate, realize higher performance, and achieve the best trade-off between area and performance, and is very suitable for high-speed
encryption and decryption application. The application can be widely applied to the technical field of
information security.