cuPQC-BigInt API Reference#

Complete API documentation for the cuPQC-BigInt library. For implementation examples, see cuPQC-BigInt Usage.

API Components#

Operators

Compile-time operators for building BigInt descriptors: bit width, target architecture, threads-per-instance, thread/warp execution mode, and on-error policy.

Types

User-facing types produced by a descriptor: bigint, bigint_wide, montgomery_modulus, and the bigint_error status enumeration.

Device functions

Device-side member functions available on a descriptor’s bigint and bigint_wide types: construction and access, basic arithmetic (addition and subtraction, multiplication, division), comparison, bitwise and shift, and modular arithmetic (direct, Barrett, and Montgomery).