Skip to content
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.o
test
*.a
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ LIBS_PATH = -L.
LDLIBS = $(LIBS_PATH) -lrsa -lm

test: test.o librsa.a rsa.h

gcc test.c sha-256.c -o test $(LDLIBS)
librsa.a: rsa.o
ar rc librsa.a rsa.o
ranlib librsa.a

rsa.o: rsa.c rsa.h
gcc -c rsa.c
rsa.o: rsa.c rsa.h sha-256.c
gcc -c rsa.c sha-256.c

.PHONY: clean, all

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ Detailed descriptions of these functions are provided in the header file rsa.h.
I make no claim that any good encyrption practices are used here. Probably don't use this for any production purposes.

Created by Andrew Kiluk
This version edited by oskarvonephesos to include OAEP functionality among other things.
Loading