Skip to main content

Module security_level

Module security_level 

Source
Expand description

Security level of CGGMP protocol

Security level is defined as set of parameters in the CGGMP paper. Higher security level gives more security but makes protocol execution slower.

We provide a predefined default SecurityLevel128.

You can define your own security level using macro define_security_level. Be sure that you properly analyzed the CGGMP paper and you understand implications. Inconsistent security level may cause unexpected unverbose runtime error or reduced security of the protocol.

Macros§

define_security_level
Defines security level

Structs§

SecurityLevel128
128-bits security level
SecurityLevel192
192-bits security level

Constants§

M
Hardcoded value for parameter $m$ of security level

Traits§

KeygenSecurityLevel
Security level of CGGMP24 DKG protocol Security level of the DKG protocol
SecurityLevel
Security level of the CGGMP24 protocol

Functions§

max_exponents_size
Determines max size of exponents