File: crypto_kem_sntrup4591761.h

package info (click to toggle)
tinyssh 20190101-1%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,208 kB
  • sloc: ansic: 11,914; sh: 1,005; python: 385; makefile: 18
file content (22 lines) | stat: -rw-r--r-- 1,335 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef crypto_kem_sntrup4591761_H
#define crypto_kem_sntrup4591761_H

#define crypto_kem_sntrup4591761_tinynacl_SECRETKEYBYTES 1600
#define crypto_kem_sntrup4591761_tinynacl_PUBLICKEYBYTES 1218
#define crypto_kem_sntrup4591761_tinynacl_CIPHERTEXTBYTES 1047
#define crypto_kem_sntrup4591761_tinynacl_BYTES 32
extern int crypto_kem_sntrup4591761_tinynacl_keypair(unsigned char *, unsigned char *);
extern int crypto_kem_sntrup4591761_tinynacl_enc(unsigned char *, unsigned char *, const unsigned char *);
extern int crypto_kem_sntrup4591761_tinynacl_dec(unsigned char *, const unsigned char *, const unsigned char *);

#define crypto_kem_sntrup4591761_keypair crypto_kem_sntrup4591761_tinynacl_keypair
#define crypto_kem_sntrup4591761_enc crypto_kem_sntrup4591761_tinynacl_enc
#define crypto_kem_sntrup4591761_dec crypto_kem_sntrup4591761_tinynacl_dec
#define crypto_kem_sntrup4591761_SECRETKEYBYTES crypto_kem_sntrup4591761_tinynacl_SECRETKEYBYTES
#define crypto_kem_sntrup4591761_PUBLICKEYBYTES crypto_kem_sntrup4591761_tinynacl_PUBLICKEYBYTES
#define crypto_kem_sntrup4591761_CIPHERTEXTBYTES crypto_kem_sntrup4591761_tinynacl_CIPHERTEXTBYTES
#define crypto_kem_sntrup4591761_BYTES crypto_kem_sntrup4591761_tinynacl_BYTES
#define crypto_kem_sntrup4591761_IMPLEMENTATION "tinynacl"
#define crypto_kem_sntrup4591761_VERSION "-"

#endif