FiloSottile / FiloSottile/edwards25519

How to regenerate scalar_fiat.go?

Open
#46 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
188
Forks
39
PR merge metrics
No merged PRs in 30d

Description

Hi. The file claims to be auto-generated:

```
// Autogenerated: word_by_word_montgomery --lang Go --cmovznz-by-mul --relax-primitive-carry-to-bitwidth 32,64 --public-function-case camelCase --public-type-case camelCase --private-function-case camelCase --private-type-case camelCase --doc-text-before-function-name '' --doc-newline-before-package-declaration --doc-prepend-header 'Code generated by Fiat Cryptography. DO NOT EDIT.' --package-name edwards25519 Scalar 64 '2^252 + 27742317777372353535851937790883648493' mul add sub opp nonzero from_montgomery to_montgomery to_bytes from_bytes
```

I cannot find any instructions where to find this tool, or which version was used, or how to use it. Help?

Forwarded from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085809 and https://lists.debian.org/debian-go/2024/05/msg00017.html

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.