Tor  0.4.7.0-alpha-dev
Macros
dh_sizes.h File Reference

Definitions for sizes of Diffie-Hellman groups elements in Z_p. More...

Go to the source code of this file.

Macros

#define DH1024_KEY_LEN   (1024/8)
 

Detailed Description

Definitions for sizes of Diffie-Hellman groups elements in Z_p.

Tor uses these definitions throughout its codebase, even in parts that don't actually do any Diffie-Hellman calculations.

Definition in file dh_sizes.h.

Macro Definition Documentation

◆ DH1024_KEY_LEN

#define DH1024_KEY_LEN   (1024/8)

Length of our legacy DH keys.

Definition at line 20 of file dh_sizes.h.