blob: 51edf40e53180764091e89ccb24f7c7daff256f0 [file] [log] [blame]
package XXX
// Curve types
const WEIERSTRASS int = 0
const EDWARDS int = 1
const MONTGOMERY int = 2
// Pairing Friendly?
const NOT int = 0
const BN int = 1
const BLS int = 2
// Pairing Twist type
const D_TYPE int = 0
const M_TYPE int = 1
// Pairing x parameter sign
const POSITIVEX int = 0
const NEGATIVEX int = 1
// Curve type
const CURVETYPE int = @CT@
const CURVE_PAIRING_TYPE int = @PF@
// Pairings only
const SEXTIC_TWIST int = @ST@
const SIGN_OF_X int = @SX@
// associated hash function and AES key size
const HASH_TYPE int = @HT@
const AESKEY int = @AK@
// These are manually decided policy decisions. To block any potential patent issues set to false.
const USE_GLV bool = true
const USE_GS_G2 bool = true
const USE_GS_GT bool = true