[][src]Module pqcrypto_kyber::ffi

Foreign function interfaces

This module defines the foreign function interface for the following crypto implementations from PQClean:

  • kyber512
  • kyber768
  • kyber1024
  • kyber512-90s
  • kyber768-90s
  • kyber1024-90s

Constants

PQCLEAN_KYBER512_AVX2_CRYPTO_BYTES
PQCLEAN_KYBER512_AVX2_CRYPTO_CIPHERTEXTBYTES
PQCLEAN_KYBER512_AVX2_CRYPTO_PUBLICKEYBYTES
PQCLEAN_KYBER512_AVX2_CRYPTO_SECRETKEYBYTES
PQCLEAN_KYBER512_CLEAN_CRYPTO_BYTES
PQCLEAN_KYBER512_CLEAN_CRYPTO_CIPHERTEXTBYTES
PQCLEAN_KYBER512_CLEAN_CRYPTO_PUBLICKEYBYTES
PQCLEAN_KYBER512_CLEAN_CRYPTO_SECRETKEYBYTES
PQCLEAN_KYBER768_AVX2_CRYPTO_BYTES
PQCLEAN_KYBER768_AVX2_CRYPTO_CIPHERTEXTBYTES
PQCLEAN_KYBER768_AVX2_CRYPTO_PUBLICKEYBYTES
PQCLEAN_KYBER768_AVX2_CRYPTO_SECRETKEYBYTES
PQCLEAN_KYBER768_CLEAN_CRYPTO_BYTES
PQCLEAN_KYBER768_CLEAN_CRYPTO_CIPHERTEXTBYTES
PQCLEAN_KYBER768_CLEAN_CRYPTO_PUBLICKEYBYTES
PQCLEAN_KYBER768_CLEAN_CRYPTO_SECRETKEYBYTES
PQCLEAN_KYBER1024_AVX2_CRYPTO_BYTES
PQCLEAN_KYBER1024_AVX2_CRYPTO_CIPHERTEXTBYTES
PQCLEAN_KYBER1024_AVX2_CRYPTO_PUBLICKEYBYTES
PQCLEAN_KYBER1024_AVX2_CRYPTO_SECRETKEYBYTES
PQCLEAN_KYBER1024_CLEAN_CRYPTO_BYTES
PQCLEAN_KYBER1024_CLEAN_CRYPTO_CIPHERTEXTBYTES
PQCLEAN_KYBER1024_CLEAN_CRYPTO_PUBLICKEYBYTES
PQCLEAN_KYBER1024_CLEAN_CRYPTO_SECRETKEYBYTES
PQCLEAN_KYBER51290S_AVX2_CRYPTO_BYTES
PQCLEAN_KYBER51290S_AVX2_CRYPTO_CIPHERTEXTBYTES
PQCLEAN_KYBER51290S_AVX2_CRYPTO_PUBLICKEYBYTES
PQCLEAN_KYBER51290S_AVX2_CRYPTO_SECRETKEYBYTES
PQCLEAN_KYBER51290S_CLEAN_CRYPTO_BYTES
PQCLEAN_KYBER51290S_CLEAN_CRYPTO_CIPHERTEXTBYTES
PQCLEAN_KYBER51290S_CLEAN_CRYPTO_PUBLICKEYBYTES
PQCLEAN_KYBER51290S_CLEAN_CRYPTO_SECRETKEYBYTES
PQCLEAN_KYBER76890S_AVX2_CRYPTO_BYTES
PQCLEAN_KYBER76890S_AVX2_CRYPTO_CIPHERTEXTBYTES
PQCLEAN_KYBER76890S_AVX2_CRYPTO_PUBLICKEYBYTES
PQCLEAN_KYBER76890S_AVX2_CRYPTO_SECRETKEYBYTES
PQCLEAN_KYBER76890S_CLEAN_CRYPTO_BYTES
PQCLEAN_KYBER76890S_CLEAN_CRYPTO_CIPHERTEXTBYTES
PQCLEAN_KYBER76890S_CLEAN_CRYPTO_PUBLICKEYBYTES
PQCLEAN_KYBER76890S_CLEAN_CRYPTO_SECRETKEYBYTES
PQCLEAN_KYBER102490S_AVX2_CRYPTO_BYTES
PQCLEAN_KYBER102490S_AVX2_CRYPTO_CIPHERTEXTBYTES
PQCLEAN_KYBER102490S_AVX2_CRYPTO_PUBLICKEYBYTES
PQCLEAN_KYBER102490S_AVX2_CRYPTO_SECRETKEYBYTES
PQCLEAN_KYBER102490S_CLEAN_CRYPTO_BYTES
PQCLEAN_KYBER102490S_CLEAN_CRYPTO_CIPHERTEXTBYTES
PQCLEAN_KYBER102490S_CLEAN_CRYPTO_PUBLICKEYBYTES
PQCLEAN_KYBER102490S_CLEAN_CRYPTO_SECRETKEYBYTES

Functions

PQCLEAN_KYBER512_AVX2_crypto_kem_dec
PQCLEAN_KYBER512_AVX2_crypto_kem_enc
PQCLEAN_KYBER512_AVX2_crypto_kem_keypair
PQCLEAN_KYBER512_CLEAN_crypto_kem_dec
PQCLEAN_KYBER512_CLEAN_crypto_kem_enc
PQCLEAN_KYBER512_CLEAN_crypto_kem_keypair
PQCLEAN_KYBER768_AVX2_crypto_kem_dec
PQCLEAN_KYBER768_AVX2_crypto_kem_enc
PQCLEAN_KYBER768_AVX2_crypto_kem_keypair
PQCLEAN_KYBER768_CLEAN_crypto_kem_dec
PQCLEAN_KYBER768_CLEAN_crypto_kem_enc
PQCLEAN_KYBER768_CLEAN_crypto_kem_keypair
PQCLEAN_KYBER1024_AVX2_crypto_kem_dec
PQCLEAN_KYBER1024_AVX2_crypto_kem_enc
PQCLEAN_KYBER1024_AVX2_crypto_kem_keypair
PQCLEAN_KYBER1024_CLEAN_crypto_kem_dec
PQCLEAN_KYBER1024_CLEAN_crypto_kem_enc
PQCLEAN_KYBER1024_CLEAN_crypto_kem_keypair
PQCLEAN_KYBER51290S_AVX2_crypto_kem_dec
PQCLEAN_KYBER51290S_AVX2_crypto_kem_enc
PQCLEAN_KYBER51290S_AVX2_crypto_kem_keypair
PQCLEAN_KYBER51290S_CLEAN_crypto_kem_dec
PQCLEAN_KYBER51290S_CLEAN_crypto_kem_enc
PQCLEAN_KYBER51290S_CLEAN_crypto_kem_keypair
PQCLEAN_KYBER76890S_AVX2_crypto_kem_dec
PQCLEAN_KYBER76890S_AVX2_crypto_kem_enc
PQCLEAN_KYBER76890S_AVX2_crypto_kem_keypair
PQCLEAN_KYBER76890S_CLEAN_crypto_kem_dec
PQCLEAN_KYBER76890S_CLEAN_crypto_kem_enc
PQCLEAN_KYBER76890S_CLEAN_crypto_kem_keypair
PQCLEAN_KYBER102490S_AVX2_crypto_kem_dec
PQCLEAN_KYBER102490S_AVX2_crypto_kem_enc
PQCLEAN_KYBER102490S_AVX2_crypto_kem_keypair
PQCLEAN_KYBER102490S_CLEAN_crypto_kem_dec
PQCLEAN_KYBER102490S_CLEAN_crypto_kem_enc
PQCLEAN_KYBER102490S_CLEAN_crypto_kem_keypair