fentec-project / CiFEr

Functional encryption library in C
Apache License 2.0
78 stars 24 forks source link

Addition of elements in fp12 #36

Closed zevenblade closed 1 year ago

zevenblade commented 1 year ago

Hello,

CiFEr configures amcl with BN254. The BN254 internally uses fp12 to represent points. For some implementation we need addition in fp12 which is unfortunately not implemented in the amcl library. Is there a reason why this is not in general possible.

Aside Do you know of any pairing friendly curve where addition of curve elements is possible ?

zevenblade commented 1 year ago

We resolved the issue. We didn't need addition after all.

tilenmarc commented 1 year ago

Sorry that we did not respond sooner, we were out of office. Great that you resolved it, without needing the addition. Otherwise, you would probably need to implement it yourself, which could be a bit annoying to do, but not out of reach.