summaryrefslogtreecommitdiff
path: root/libs/libsignal/src/curve25519/ed25519/additions/generalized/gen_constants.h
blob: 392a88e57b96b7b02b5f6f15dac73f19498aa0f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _GEN_CONSTANTS_H__
#define _GEN_CONSTANTS_H__

#define LABELSETMAXLEN 512
#define LABELMAXLEN 128
#define BUFLEN 1024
#define BLOCKLEN 128 /* SHA512 */
#define HASHLEN 64   /* SHA512 */
#define POINTLEN 32
#define SCALARLEN 32
#define RANDLEN 32
#define SIGNATURELEN 64
#define VRFSIGNATURELEN 96
#define VRFOUTPUTLEN 32
#define MSTART 2048
#define MSGMAXLEN 1048576

#endif