API reference
Table of contents
Below you may find the reference to the all API methods or examples that exist in the library. Find the method or example you want and navigate there to see more details.
Post-Quantum Algorithms
KEM
PQC_context_init_asymmetric
PQC_context_keypair_generate
PQC_keypair_generate
PQC_context_get_public_key
PQC_context_get_keypair
PQC_kem_encapsulate
PQC_kem_decapsulate
PQC_kem_encapsulate_secret
PQC_kem_decapsulate_secret
PQC_context_close
- McEliece Example
- ML-KEM Example
Digital Signature
PQC_context_init_asymmetric
PQC_context_keypair_generate
PQC_keypair_generate
PQC_context_get_public_key
PQC_context_get_keypair
PQC_signature_create
PQC_signature_verify
PQC_context_close
- Falcon Example
- ML-DSA Example
Classic Quantum-Resistant Algorithms
AES-256s
PQC_context_init
PQC_context_init_iv
PQC_context_set_iv
PQC_symmetric_encrypt
PQC_symmetric_decrypt
PQC_aead_encrypt
PQC_aead_check
PQC_aead_decrypt
PQC_context_close
- AES Examples
SHA-3
PQC_context_init_hash
PQC_hash_update
PQC_hash_size
PQC_hash_retrieve
PQC_context_close
- SHA-3 Example
Keys
Symmetric Key Containers
PQC_symmetric_container_create
PQC_symmetric_container_size
PQC_symmetric_container_get_version
PQC_symmetric_container_get_creation_time
PQC_symmetric_container_get_expiration_time
PQC_symmetric_container_get_data
PQC_symmetric_container_from_data
PQC_symmetric_container_save_as
PQC_symmetric_container_open
PQC_symmetric_container_get_key
PQC_symmetric_container_close
PQC_symmetric_container_delete
- Example
Asymmetric Key Containers
PQC_asymmetric_container_create
PQC_asymmetric_container_size
PQC_asymmetric_container_size_special
PQC_asymmetric_container_get_version
PQC_asymmetric_container_get_creation_time
PQC_asymmetric_container_get_expiration_time
PQC_asymmetric_container_get_data
PQC_asymmetric_container_from_data
PQC_asymmetric_container_put_keys
PQC_asymmetric_container_get_keys
PQC_asymmetric_container_save_as
PQC_asymmetric_container_open
PQC_asymmetric_container_close
PQC_asymmetric_container_delete
- Example
Randomness Source
PQC_context_random_set_pq_17
PQC_context_random_set_external
PQC_context_init_randomsource
PQC_context_random_get_bytes
- Example