aboutsummaryrefslogtreecommitdiff
path: root/libcmix-crypto/rsa/rsa.c
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-09-08 14:10:48 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-09-08 14:10:48 +0200
commitf77ce5a0226014c811a46d8ab1ba8c9164768ed3 (patch)
tree77405cce94039217e3162b3772196e50ce01115b /libcmix-crypto/rsa/rsa.c
parent4f13051f763cab3d431847305eff913e4bf9d77a (diff)
downloadcmix-f77ce5a0226014c811a46d8ab1ba8c9164768ed3.tar.gz
cmix-f77ce5a0226014c811a46d8ab1ba8c9164768ed3.tar.bz2
cmix-f77ce5a0226014c811a46d8ab1ba8c9164768ed3.zip
Added null-rsa implementation.
Diffstat (limited to 'libcmix-crypto/rsa/rsa.c')
-rw-r--r--libcmix-crypto/rsa/rsa.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libcmix-crypto/rsa/rsa.c b/libcmix-crypto/rsa/rsa.c
new file mode 100644
index 0000000..61ade32
--- /dev/null
+++ b/libcmix-crypto/rsa/rsa.c
@@ -0,0 +1,11 @@
+#include "rsa.h"
+
+struct Api get_rsa_implementation()
+{
+ return (struct Api) {
+ &rsa_create_keypair,
+ &rsa_keypair_deleter,
+ &rsa_derive_shared_key,
+ &rsa_shared_key_deleter
+ };
+}