aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_cbd.h
blob: 631821956c6a19d448640d486236222a2b431993 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#include <stdint.h>
#include "kyber512r3_params.h"
#include "kyber512r3_poly.h"

#define cbd_eta1 S2N_KYBER_512_R3_NAMESPACE(cbd_eta1)
void cbd_eta1(poly *r, const uint8_t buf[S2N_KYBER_512_R3_ETA1 * S2N_KYBER_512_R3_N / 4]);

#define cbd_eta2 S2N_KYBER_512_R3_NAMESPACE(cbd_eta2)
void cbd_eta2(poly *r, const uint8_t buf[S2N_KYBER_512_R3_ETA2 * S2N_KYBER_512_R3_N / 4]);