mmcloughlin / addchain

Cryptographic Addition Chain Generation in Go
BSD 3-Clause "New" or "Revised" License
184 stars 14 forks source link

code: better variable names #118

Open armfazh opened 3 years ago

armfazh commented 3 years ago

it is noisy to get variables named in binary _100 or _101. Better to follow a standard rule, such as i4 or any other counter in decimal or hex. or at least, allow the user to specify the format desired.

mmcloughlin commented 3 years ago

Yeah I chose that to match https://briansmith.org/ecc-inversion-addition-chains-01. But yes it's not the best for code generation. I think your request could be covered under #94.

How did you generate code from the output? By hand?

armfazh commented 3 years ago

manually, it was a tedious task.