Go to the documentation of this file.
16 #ifndef TOR_X25519_SIZES_H
17 #define TOR_X25519_SIZES_H
20 #define CURVE25519_PUBKEY_LEN 32
22 #define CURVE25519_SECKEY_LEN 32
24 #define CURVE25519_OUTPUT_LEN 32
27 #define ED25519_PUBKEY_LEN 32
29 #define ED25519_SECKEY_LEN 64
32 #define ED25519_SECKEY_SEED_LEN 32
34 #define ED25519_SIG_LEN 64
37 #define CURVE25519_BASE64_PADDED_LEN 44
40 #define CURVE25519_BASE64_LEN 43
43 #define ED25519_BASE64_LEN 43
45 #define ED25519_SIG_BASE64_LEN 86