algebra icon indicating copy to clipboard operation
algebra copied to clipboard

Add CP-6 and CP-12 curve models for pairing

Open weikengchen opened this issue 3 years ago • 1 comments

I feel it would be helpful to have CP-6 and CP-12 models, or, we should call it ATE pairing for 3->6 and 2->6->12, it is not MNT-specific.

My hunch is that one might be able to "abuse" the MNT-6 for CP-6.

For CP-12, it would be generalizing the code here, actually not very long: https://github.com/DZK-Labs/ark-yafa/blob/main/src/yafa_146/curves/mod.rs#L39

weikengchen avatar Nov 18 '22 16:11 weikengchen

The goal is to refresh the EIP-1962 implementation and reduce its maintenance cost.

weikengchen avatar Nov 18 '22 16:11 weikengchen