- Added rsa_encrypt and rsa_decrypt example programs
diff --git a/programs/Makefile b/programs/Makefile
index c6db5b1..ceb0622 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -14,6 +14,7 @@
pkey/dh_genprime pkey/dh_server \
pkey/key_app \
pkey/mpi_demo pkey/rsa_genkey \
+ pkey/rsa_decrypt pkey/rsa_encrypt \
pkey/rsa_sign pkey/rsa_verify \
pkey/rsa_sign_pss pkey/rsa_verify_pss \
ssl/ssl_client1 ssl/ssl_client2 \
@@ -95,6 +96,14 @@
echo " CC pkey/rsa_verify_pss.c"
$(CC) $(CFLAGS) $(OFLAGS) pkey/rsa_verify_pss.c $(LDFLAGS) -o $@
+pkey/rsa_decrypt: pkey/rsa_decrypt.c ../library/libpolarssl.a
+ echo " CC pkey/rsa_decrypt.c"
+ $(CC) $(CFLAGS) $(OFLAGS) pkey/rsa_decrypt.c $(LDFLAGS) -o $@
+
+pkey/rsa_encrypt: pkey/rsa_encrypt.c ../library/libpolarssl.a
+ echo " CC pkey/rsa_encrypt.c"
+ $(CC) $(CFLAGS) $(OFLAGS) pkey/rsa_encrypt.c $(LDFLAGS) -o $@
+
random/gen_random: random/gen_random.c ../library/libpolarssl.a
echo " CC random/gen_random.c"
$(CC) $(CFLAGS) $(OFLAGS) random/gen_random.c $(LDFLAGS) -o $@