Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pqcp

PQCP means Pioneer Quotable Crypto Provider

This project provides a provider of non-standardized algorithms for OpenHTLS to support the new generation of advanced cryptographic algorithms.

Features

  • Post-quantum algorithms
    • Post-quantum KEM (Key Encapsulation Mechanism) algorithms
    • Post-quantum digital signature algorithms
    • Key management for post-quantum algorithms
  • A new generation of hash algorithms
  • A new generation of symmetry algorithms
  • Post-Quantum Certificate
  • Post-quantum protocols

Building

Prerequisites

  • CMake 3.10 or higher
  • C compiler with C11 support
  • OpenHiTLS development files

Build Instructions

mkdir build
cd build
cmake ..
make

Algorithm Selection

build_pqcp.sh supports algorithm selection at build time.

  • Build all algorithms:
bash ./build_pqcp.sh
  • Enable only specific algorithms:
bash ./build_pqcp.sh --enable scloudplus polarlac
  • Disable specific algorithms:
bash ./build_pqcp.sh --disable hiae

Supported algorithm names are the subdirectories under src/, for example:

  • scloudplus
  • polarlac
  • composite_sign
  • hiae

Usage

To use this provider with OpenHiTLS:

  1. Set the provider path:
CRYPT_EAL_ProviderSetLoadPath(libCtx, "/path/to/providers");
  1. Load the provider:
CRYPT_EAL_ProviderLoad(libCtx, BSL_SAL_LIB_FMT_SO, "pqcp", NULL, NULL);

Supported Algorithms

  • KEM: Scloud+
  • Digital Signatures:
  • Symmetric Cipher (AEAD): HiAE
  • MAC: HiAE-MAC

License

This project is licensed under the same terms as OpenHiTLS.

About

pqc provider

Topics

Resources

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages