aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/indcpa.h
blob: 23328f0970a2591e876bcce4dd4dbb93327c2f45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef INDCPA_H
#define INDCPA_H

#include <stdint.h>

int PQCLEAN_KYBER512_CLEAN_indcpa_keypair(
    uint8_t *pk,
    uint8_t *sk);

void PQCLEAN_KYBER512_CLEAN_indcpa_enc(
    uint8_t *c,
    const uint8_t *m,
    const uint8_t *pk,
    const uint8_t *coins);

void PQCLEAN_KYBER512_CLEAN_indcpa_dec(
    uint8_t *m,
    const uint8_t *c,
    const uint8_t *sk);

#endif