NVIDIA cuPQC

NVIDIA cuPQC is an SDK of GPU-optimized cryptographic math libraries for building both classical and next-generation high-performance cryptographic applications.


How cuPQC Works

cuPQC is a GPU-accelerated SDK of cryptographic math primitives powering high-performance cryptographic applications. Developers can build and accelerate a broad range of cryptographic systems across NVIDIA GPU architectures, from classical public-key cryptography and post-quantum schemes to zero-knowledge proofs and fully homomorphic encryption. The libraries power the cryptographic building blocks that security applications and protocols rely on, from TLS handshakes and code signing to privacy-preserving authentication and encrypted communications.

cuPQC delivers a growing suite of modular primitives, including hashing, number theoretic transforms, and large integer operations, each optimized for GPU execution. Cryptographic workloads vary widely, from high-throughput batch operations to large-scale single computations, each requiring a different optimization approach. cuPQC addresses this through link-time optimization, automatically selecting the best GPU kernel for each configuration and workload type, delivering order-of-magnitude performance improvements over CPU implementations.

Diagram illustrating the cuPQC SDK architecture and its integration path from cryptographic math libraries to NVIDIA GPU hardware acceleration layers.

Key Features of cuPQC

Cryptographic Math Libraries

Provides direct access to a growing suite of GPU-optimized cryptographic math libraries for Finite Field Arithmetic over diverse domains, including Big Integer and Number Theoretic Transform. It also delivers essential cryptographic primitives such as Hash Functions, MerkleTrees, and Public-Key operations, giving developers everything they need to build both traditional and next-generation cryptographic applications with maximum control and flexibility.

Unified Modular Component APIs

Delivers modular component-level APIs that provide mathematical building blocks that work consistently across diverse cryptographic domains and applications. The same patterns and components can be used across whether building classical or next-generation cryptographic systems, reducing complexity and accelerating development.

Support for Emerging Cryptographic Technologies

Powers a growing range of emerging cryptographic technologies, from post-quantum cryptography to zero-knowledge proofs to fully homomorphic encryption and beyond. Domain-specific optimizations enable developers to efficiently build advanced cryptographic systems with specialized functions for each application.

Link-Time Optimization for Peak Performance

Applies link-time optimization to automatically select optimal GPU kernels for your specific configuration and parameters without manual tuning.

Broad GPU Platform Support

Delivers optimized performance across a broad range of NVIDIA GPU architectures—from NVIDIA Jetson™ edge devices to data center GPUs. Cryptographic solutions can be seamlessly deployed across any environment.

Exceptional Performance at Scale

Optimized for both low-latency single operations and high-throughput batch processing. Scales seamlessly from real-time responses to massive parallel workloads with GPU-accelerated performance.


Libraries

Composable GPU-accelerated cryptographic math libraries give developers direct access to high-performance primitives for building custom cryptographic solutions.
Available Libraries:

  • Big Integer

  • Number Theoretic Transform (NTT)

  • Hash Functions and Merkle Tree

  • Public Key

Big Integer

The cuPQC-BigInt library delivers GPU-accelerated large integer arithmetic for cryptographic workloads including reduction, inversion, multiplication, and exponentiation, optimized for the throughput demands of modern cryptographic standards. 

These building blocks are fundamental to a broad range of cryptographic systems: classical public-key schemes such as RSA and elliptic curve cryptography, post-quantum schemes including isogeny-based cryptography, and advanced protocols such as zero-knowledge proofs, RSA accumulators, and verifiable delay functions, all of which are bottlenecked by large integer modular arithmetic at scale.

Number Theoretic Transform (NTT)

The cuPQC-NTT library delivers GPU-accelerated Number Theoretic Transform primitives for polynomial arithmetic in modular rings, offering forward and inverse NTT, element-wise operations in the transform domain, and the modular arithmetic needed for efficient polynomial multiplication.

Whether targeting large single NTT executions or high-throughput batch workloads, cuPQC-NTT delivers the polynomial multiplication performance required by lattice-based post-quantum cryptography, fully homomorphic encryption, zero-knowledge proof systems, as well as other workloads that rely on polynomial arithmetic.

Hash Functions and Merkle Tree

The cuPQC-Hash library delivers GPU-accelerated cryptographic hashing and Merkle tree operations, supporting data integrity verification, proofs of membership, hash-based signatures, and secure authentication protocols. It supports industry-standard algorithms alongside emerging cryptographic hash functions, providing flexibility for both traditional and next-generation security implementations.

 cuPQC-Hash User Guide

Hash Functions

cuPQC-Hash supports GPU-accelerated implementations of SHA-2, SHA-3, SHAKE, and Poseidon 2 algorithm families, optimized for different security levels and performance requirements. 

The hash library demonstrates significant performance gains, processing thousands of hash computations simultaneously, delivering throughput ranging from hundreds to thousands of GB/s, depending on the algorithm. These performance improvements make cuPQC-Hash ideal for applications requiring rapid cryptographic operations at scale.

Performance bar chart displaying hash throughput improvements in GB/s for SHA-2, SHA-3, and SHAKE on NVIDIA RTX PRO 6000 compared to AMD EPYC 9124 CPU.
Hash Function Performance: On NVIDIA RTX PRO™ 6000 (Blackwell Server Edition), cuPQC-Hash achieves throughput ranging from 388 GB/s to 891 GB/s for 8 KB input messages, representing 14x to 103x higher throughput across SHA-2, SHA-3, and SHAKE algorithm families compared to AMD EPYC 9124 (32 threads) CPU baseline.

Merkle Tree

GPU-accelerated Merkle tree construction enables rapid proof generation and verification for large datasets. Parallelizing tree building drastically speeds up data integrity and authentication applications. Merkle trees are fundamental building blocks for zero-knowledge proof systems, hash-based signature schemes, and secure data verification protocols, enabling applications such as privacy-preserving authentication, verifiable computation, and confidential data verification.

Bar chart demonstrating GPU-accelerated speedup for Merkle tree generation using Poseidon 2 BabyBear-16 algorithm across various tree sizes.
Merkle Tree Generation Performance: NVIDIA RTX PRO 6000 (Blackwell Server Edition) GPU achieves 48x to 147x speedup compared to AMD EPYC 9124 (32 threads) CPU for tree generation using Poseidon 2 BabyBear-16 hash function across tree sizes from 216 to 222 leaves with 128 field element leaf inputs. GPU tree generation time ranges from 0.84 ms to 11.5 ms, with acceleration improving for larger trees (147x at 222 leaves), making it ideal for large-scale zero-knowledge proof applications.

Public Key 

The cuPQC-PK library delivers GPU-accelerated implementations of NIST-standardized ML-KEM-512/768/1024 and ML-DSA-44/65/87 with exceptional performance across diverse workloads, from low-latency single operations to high-throughput batch processing. cuPQC-PK allows seamless deployment across any NVIDIA GPU platform, from edge devices to data center infrastructure. Ideal for TLS handshakes, VPN tunneling, code signing, certificate authorities, and encrypted communications at scale.

cuPQC-PK User Guide

A chart showing ML-KEM-768 performance: on NVIDIA H100 GPU
ML-KEM-768 Performance: On NVIDIA H100 GPU, cuPQC-PK achieves 13.5M keygen/s, 9.0M encap/s, and 8.5M decap/s, delivering speedups of 175x, 120x, and 135x vs. single-core AMD EPYC 7313P CPU.
A chart showing ML-DSA-65 performance: on NVIDIA H100 GPU
ML-DSA-65 Performance: On NVIDIA H100 GPU, cuPQC-PK achieves 6.5M keygen/s, 0.6 sign/s, and 5.0M verify/s, delivering speedups of 290x, 65x, and 215x vs. single-core AMD EPYC 7313P CPU.

Latest cuPQC Product News


NVIDIA cuPQC FAQs

Get answers to common questions about NVIDIA® cuPQC, including supported platforms, features, and applications.

NVIDIA cuPQC is a GPU-accelerated cryptographic math library SDK that gives developers the primitives to build and accelerate a broad range of cryptographic applications, spanning Post-Quantum Cryptography (PQC), Zero-Knowledge Proofs (ZKP), Fully Homomorphic Encryption (FHE), and beyond. It delivers performance levels that far exceed traditional CPU-based implementations through a composable, well-structured API, addressing the need for high-performance cryptography that is both powerful and easy to build on.

The SDK provides a modular suite of cryptographic math libraries, including cuPQC-BigInt for large integer arithmetic, cuPQC-NTT for Number Theoretic Transform operations, cuPQC-Hash for cryptographic hashing and Merkle tree operations, and cuPQC-PK for public-key cryptography operations.

cuPQC utilizes link-time optimization to automatically select the best GPU kernel for your specific configuration and workload type. This allows it to handle diverse cryptographic workloads, from high-throughput batch operations to large-scale single computations, delivering order-of-magnitude performance gains compared to CPU-only baselines.

Yes, cuPQC is designed for broad GPU platform support. It delivers optimized performance across a wide range of NVIDIA architectures, from NVIDIA Jetson edge devices to data center GPUs, ensuring seamless deployment in any environment.

cuPQC is built around discrete, reusable primitives that are each self-contained and composable. Because these components share a consistent API design, developers can mix and match them across different cryptographic schemes like PQC, ZKP, and FHE without learning a new interface each time. The result is less integration overhead, more code reuse, and faster development cycles.

cuPQC is seeing active adoption across cryptographic domains where GPU acceleration makes a tangible difference. In the ZKP space, it is being used to accelerate proof generation for zkVMs, verifiable computation, and smart contract verification, while in FHE it is enabling computation on encrypted data to become practical across privacy-preserving AI, secure cloud computing, and sensitive data workloads in healthcare and finance. For PQC, it targets high-throughput network applications such as TLS handshakes and VPN tunneling, where quantum-resistant algorithms need to perform at scale without compromising latency.

cuPQC gives researchers access to high-performance, GPU-accelerated primitives that make prototyping and experimenting with computationally expensive cryptographic schemes practical. Beyond accelerating the research cycle, it enables work that was previously difficult to pursue at scale, including building and validating new schemes, running cryptanalysis and security evaluations, and exploring security and performance tradeoffs across wide parameter sets.

Yes, cuPQC is being adopted across the ZKP, FHE, and PQC ecosystems, with organizations including Succinct, OpenFHE, Fair Math, Lattica AI, Zama, and Open Quantum Safe (OQS) currently working on integration. As the cryptographic landscape evolves, NVIDIA continues to expand partnerships with organizations building the next generation of high-performance cryptographic applications.

You can access official documentation, user guides, download links, and developer blog posts through the official NVIDIA cuPQC developer page.


Partners Adopting NVIDIA cuPQC

“cuPQC’s safe and high-performance algorithms make transitioning to post-quantum cryptography achievable for enterprises with high-throughput security applications”

- Hart Montgomery, Linux Foundation

Fair Math Logo
Lattical AI  Logo
NGKORE Logo
Open Quantum Safe Logo
PQShield Logo
 QuSecure Logo
Sandbox AQ Logo
Succinct Logo

cuPQC Resources