2019-06-18 15:27:03 +01:00
|
|
|
#ifndef INDCPA_H
|
|
|
|
#define INDCPA_H
|
2020-10-16 01:00:04 +01:00
|
|
|
#include "SABER_params.h"
|
|
|
|
#include <stdint.h>
|
2019-06-18 15:27:03 +01:00
|
|
|
|
2020-10-16 01:00:04 +01:00
|
|
|
void PQCLEAN_LIGHTSABER_CLEAN_indcpa_kem_keypair(uint8_t pk[SABER_INDCPA_PUBLICKEYBYTES], uint8_t sk[SABER_INDCPA_SECRETKEYBYTES]);
|
2019-06-18 15:27:03 +01:00
|
|
|
|
2020-10-16 01:00:04 +01:00
|
|
|
void PQCLEAN_LIGHTSABER_CLEAN_indcpa_kem_enc(uint8_t ciphertext[SABER_BYTES_CCA_DEC], const uint8_t m[SABER_KEYBYTES], const uint8_t seed_sp[SABER_NOISE_SEEDBYTES], const uint8_t pk[SABER_INDCPA_PUBLICKEYBYTES]);
|
|
|
|
|
|
|
|
void PQCLEAN_LIGHTSABER_CLEAN_indcpa_kem_dec(uint8_t m[SABER_KEYBYTES], const uint8_t sk[SABER_INDCPA_SECRETKEYBYTES], const uint8_t ciphertext[SABER_BYTES_CCA_DEC]);
|
2019-06-18 15:27:03 +01:00
|
|
|
|
2020-10-16 01:00:04 +01:00
|
|
|
|
|
|
|
#endif
|