Module concrete_commons::key_kinds
source · [−]Expand description
This module contains types to manage the different kinds of secret keys.
Structs
This type is a marker for keys using binary elements as scalar.
This type is a marker for keys using normaly sampled elements as scalar.
This type is a marker for keys using ternary elements as scalar.
This type is a marker for keys using uniformly sampled elements as scalar.
This type is a marker for keys filled with zeros (used for testing)
Traits
In concrete, secret keys can be based on different kinds of scalar values (put aside the data type eventually used to store it in memory). This trait is implemented by marker types, which are used to specify in the type system, what kind of keys we are currently using.