Function lbcrypto::convertToSecretKeyDist(uint32_t)
Defined in File constants-lattice-impl.cpp
Function Documentation
-
SecretKeyDist lbcrypto::convertToSecretKeyDist(uint32_t num)
Converts the numeric value of a secret key distribution to the enum value.
- Parameters
num – the numeric value of the distribution.
- Returns
the corresponding SecretKeyDist; throws if the value is not a valid enumerator.