Skip to content

Commit

Permalink
Added ref10 shen_ed25519_ref code, which includes code that can repla…
Browse files Browse the repository at this point in the history
…ce crypto-ops with a version straight from Bernstein's ref 10
  • Loading branch information
ShenNoether authored and ShenNoether committed Aug 23, 2015
1 parent 0d70fdc commit 0a4bc84
Show file tree
Hide file tree
Showing 174 changed files with 23,117 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/crypto/shen_ed25519_ref/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

CC=gcc
CFLAGS=-O2 -Wall

OBJS= fe25519.o ge25519.o sc25519.o sha512-blocks.o sha512-hash.o ed25519.o randombytes.o verify.o
test: test.o $(OBJS)
gcc -o $@ $^

clean:
rm -f *.o test
2 changes: 2 additions & 0 deletions src/crypto/shen_ed25519_ref/api.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#define CRYPTO_BYTES 32
#define CRYPTO_SCALARBYTES 32
872 changes: 872 additions & 0 deletions src/crypto/shen_ed25519_ref/crypto-ops-data.c

Large diffs are not rendered by default.

Loading

0 comments on commit 0a4bc84

Please sign in to comment.