Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remedy some GCC warnings #9

Open
wants to merge 1 commit into
base: monero
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions crypto_sign/ed25519/amd64-64-24k/ge25519_scalarmult_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ static const ge25519_niels ge25519_base_multiples_niels[] = {
};

/* d */
#ifdef SMALLTABLES
static const fe25519 ecd = {{0x75EB4DCA135978A3, 0x00700A4D4141D8AB, 0x8CC740797779E898, 0x52036CEE2B6FFE73}};
#endif

void ge25519_scalarmult_base(ge25519_p3 *r, const sc25519 *s)
{
Expand Down
2 changes: 1 addition & 1 deletion crypto_sign/ed25519/amd64-64-24k/sc25519.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void sc25519_mul_shortsc(sc25519 *r, const sc25519 *x, const shortsc25519 *y);
/* Convert s into a representation of the form \sum_{i=0}^{63}r[i]2^(4*i)
* with r[i] in {-8,...,7}
*/
void sc25519_window4(signed char r[85], const sc25519 *s);
void sc25519_window4(signed char r[64], const sc25519 *s);

void sc25519_slide(signed char r[256], const sc25519 *s, int swindowsize);

Expand Down