mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-23 07:59:01 +00:00
f4bd312180
* Integrate Kyber-AVX2 into PQClean * Fix types and formatting in Kyber * Workaround a valgrind crash * Remove comment in shuffle.s * Remove some extraneous truncations * fixup! Fix types and formatting in Kyber
22 lines
378 B
C
22 lines
378 B
C
#ifndef INDCPA_H
|
|
#define INDCPA_H
|
|
|
|
#include <stdint.h>
|
|
|
|
void PQCLEAN_KYBER1024_CLEAN_indcpa_keypair(
|
|
uint8_t *pk,
|
|
uint8_t *sk);
|
|
|
|
void PQCLEAN_KYBER1024_CLEAN_indcpa_enc(
|
|
uint8_t *c,
|
|
const uint8_t *m,
|
|
const uint8_t *pk,
|
|
const uint8_t *coins);
|
|
|
|
void PQCLEAN_KYBER1024_CLEAN_indcpa_dec(
|
|
uint8_t *m,
|
|
const uint8_t *c,
|
|
const uint8_t *sk);
|
|
|
|
#endif
|