Faster cofactor clearing for G1 & G2 of bls12-381 + benchmarking (#103)

This commit is contained in:
mmagician
2022-10-16 19:13:57 +02:00
committed by GitHub
parent efefa209d6
commit 4bcf87de22
5 changed files with 145 additions and 13 deletions

View File

@@ -16,8 +16,8 @@ pub type EdwardsProjective = Projective<BandersnatchParameters>;
pub type SWAffine = short_weierstrass::Affine<BandersnatchParameters>;
pub type SWProjective = short_weierstrass::Projective<BandersnatchParameters>;
/// `bandersnatch` is an incomplete twisted Edwards curve. These curves have equations of
/// the form: ax² + y² = 1 + dx²y².
/// `bandersnatch` is an incomplete twisted Edwards curve. These curves have
/// equations of the form: ax² + y² = 1 + dx²y².
/// over some base finite field Fq.
///
/// bandersnatch's curve equation: -5x² + y² = 1 + dx²y²