PQLR
Postquantum Crypto Library by QAPP
pqlr.h File Reference
#include <pqlr/common/api.h>

Go to the source code of this file.

Typedefs

typedef struct pqlr_st * pqlr_t
 Pqlr instance handle. Pqlr represents basic library and it's algorithms configuration. There are singleton instance which could be obtained by pqlr_singleton_instance and local instances which could be obtained from concrete algorithms instances. At the initialization point all the algorithms inherit pqlr's singleton instance state. Any change in the global configuration does not affect previously created algorithms. More...
 

Enumerations

enum  algorithm_id_t {
  pqlr_algorithm_general = 0xb01a41e3820cfefd , pqlr_algorithm_newhope , pqlr_algorithm_saber = 0xc83c3990d6c012b3 , pqlr_algorithm_sphincs_plus ,
  pqlr_algorithm_sphinxp_gost , pqlr_algorithm_hypericum , pqlr_algorithm_falcon , pqlr_algorithm_dilithium ,
  pqlr_algorithm_shipovnik , pqlr_algorithm_kryzhovnik , pqlr_algorithm_rainbow , pqlr_algorithm_polynomial_hash ,
  pqlr_algorithm_xmss = 0x8f4ffb1fc25105ca , pqlr_algorithm_mceliece , pqlr_algorithm_kyber = 0xdbd34adf68c5f0eb , pqlr_algorithm_drbg = 0xcb86e336a7c49070 ,
  pqlr_algorithm_xmssmt
}
 Pqlr instance type id. More...
 

Functions

PQLR_API pqlr_t pqlr_singleton_instance (void)
 Pqlr singleton instance accessor Please, note that any change in the global PQLR configuration does not affect previously created algorithms. More...
 
PQLR_API algorithm_id_t pqlr_get_algorithm_id (pqlr_t)
 Detects algorithm type id. More...