swh:1:snp:418f8417068b61dc00572c13ca3d8ff0c2f214db
Tip revision: 8110b02a789d7969145230a1d43a2b21c3c182b6 authored by Matthias J. Kannwischer on 27 July 2020, 02:15:28 UTC
instead of sending more markers; just add delay in hal_setup
instead of sending more markers; just add delay in hal_setup
Tip revision: 8110b02
api.h
#ifndef API_H
#define API_H
#include <stdint.h>
#define CRYPTO_SECRETKEYBYTES 1590
#define CRYPTO_PUBLICKEYBYTES 1230
#define CRYPTO_CIPHERTEXTBYTES 1230
#define CRYPTO_BYTES 32
#define CRYPTO_ALGNAME "NTRU-HPS4096821"
int crypto_kem_keypair(uint8_t *pk, uint8_t *sk);
int crypto_kem_enc(uint8_t *c, uint8_t *k, const uint8_t *pk);
int crypto_kem_dec(uint8_t *k, const uint8_t *c, const uint8_t *sk);
#endif