Documentation
¶
Overview ¶
Package constants declares system-wide constants.
Index ¶
Constants ¶
View Source
const ( // NumberOfEntropyBytes defines number of bytes of entropy used to seed RNG. NumberOfEntropyBytes = 256 // MB represents number of bytes each BIG takes. MB = int(Curve.MODBYTES) // BIGLen is alias for MB. BIGLen = MB // ECPLen represents number of bytes each ECP takes. ECPLen = MB + 1 // ECPLenUC represents number of bytes each ECP takes in uncompressed form. ECPLenUC = 2*MB + 1 // ECP2Len represents number of bytes each ECP2 takes. ECP2Len = 4 * MB // SecretKeyType defines PEM Type for Coconut Secret Key. SecretKeyType = "COCONUT SECRET KEY" // VerificationKeyType defines PEM Type for Coconut Verification Key. VerificationKeyType = "COCONUT VERIFICATION KEY" /* #nosec G101 */ // ThresholdSecretKeyType defines PEM Type for Coconut Threshold Secret Key. ThresholdSecretKeyType = "COCONUT THRESHOLD SECRET KEY" // ThresholdVerificationKeyType defines PEM Type for Coconut Threshold Verification Key. ThresholdVerificationKeyType = "COCONUT THRESHOLD VERIFICATION KEY" // ElGamalPublicKeyType defines PEM Type for Coconut-specific ElGamal Public Key. ElGamalPublicKeyType = "COCONUT-ELGAMAL PUBLIC KEY" // ElGamalPrivateKeyType defines PEM Type for Coconut-specific ElGamal Private Key. ElGamalPrivateKeyType = "COCONUT-ELGAMAL PRIVATE KEY" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.