ShallMate / FastECDLP

This repository is FastECDLP combined with Exp-ElGamal additively homomorphic encryption scheme.
6 stars 1 forks source link

L1 and L2 values #1

Closed Hamza3226 closed 1 year ago

Hamza3226 commented 1 year ago

Where should I change the value for L1 and L2? I want to generate results for Table IV given in the paper

ShallMate commented 1 year ago

Please check lines 17 to 25 of ciphering.go for the answers you need

Hamza3226 commented 1 year ago

Hi, I am doing it but it is giving me errors I changed Ilen = 11 and Jlen = 25 for testing but it is giving me error

Hamza3226 commented 1 year ago

can you suggest some values so that it does not give memory errors, I am running it on my PC with 8gb ram

ShallMate commented 1 year ago

Because the program that generates tables takes up a lot of memory, but the generated tables are actually not that large. If you are on a PC with 8GB RAM, my suggestion is to reduce the size of L1.

Hamza3226 commented 1 year ago

Also, for T=2,4,16 I need to change the value for Threadnum, right??

ShallMate commented 1 year ago

That's true

Hamza3226 commented 1 year ago

Thanks for the information, I will try to implement it using these suggestions and will get back to you if it works.

ShallMate commented 1 year ago

Okay, good luck to you