pairing_ce 0.28.0
“Pairing-friendly elliptic curve library”
Archive ships a root-level test treeRust test marker or harness
SHA-256e012fe8ccfe437c0c97a4e0bfd0113c529bc09b04239e4512cc5c9d29f646d6e
MaleculeH(Cm)Md₂(Pa₂)
Evidence
52:25… rn false;
53 }
54
55 // The points (X, Y, Z) and (X', Y', Z')
56 // are equal when (X * Z^2) = (X' * Z'^2)
57 // and ( …
746:67… ecodingError> {
747 // Create a copy of this representation.
748 let mut copy = self.0;
749
750 if copy[0] & (1 << 7) != 0 {
751 …
865:9… }
866 }
867
868 #[derive(Copy, Clone)]
869 pub struct G1Compressed([u8; 48]);
870
871 impl AsRef<[u8]> for G1Compressed {
⋯6 lines
1045:30… G1Affine) -> Self {
1046 G1Prepared(p)
1047 }
1048 }
1049
1050 #[test]
1051 fn g1_generator() {
1052 use SqrtField;
⋯5 lines
⋯4 lines
1173}
1174
1175#[cfg(test)]
1176use rand::{Rand, SeedableRng, XorShiftRng};
1177
⋯5 lines
No evidence locations were recorded for this file. Raw result