summaryrefslogtreecommitdiff
path: root/lib/lib5.c
diff options
context:
space:
mode:
authorBenedict <benedict@0xb8000.de>2017-02-02 00:32:26 +0100
committerBenedict <benedict@0xb8000.de>2017-02-21 13:00:27 +0100
commit1fd84c7dc70a0a6e6d8651fafa50c51dd697ae77 (patch)
treeaf5de3c7952e071c8e27800c41d9f945fa86c9e7 /lib/lib5.c
parent9dcc7348ad53cab8fd9396699de0177bac6729d5 (diff)
added random stuff which hasn't beend added because yeah
Diffstat (limited to 'lib/lib5.c')
-rw-r--r--lib/lib5.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/lib5.c b/lib/lib5.c
index 1eb25e3..3be330d 100644
--- a/lib/lib5.c
+++ b/lib/lib5.c
@@ -417,12 +417,6 @@ int rsa_decrpyt(int message, struct rsa_key *private)
return modulo((message^private->exponent), private->modulo);
}
-void die(char *message)
-{
- printf("%s\n", message);
- exit(1);
-}
-
int rsa_encrypt_bignum(BIGNUM *message, BIGNUM *res, struct rsa_key_bignum *public)
{
return BN_mod_exp(res, message, public->exponent, public->modulo, ctx);