summaryrefslogtreecommitdiffstats
path: root/ncr-int.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-27 16:43:11 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-27 16:43:11 +0200
commit9a2369d426b23f77884b01666370140d10b41c19 (patch)
tree075830ece81547905f07cf77a68fa4071bab1ef9 /ncr-int.h
parent3e9e7a872a76e085499b15089e16ad8c3a2d68fd (diff)
downloadcryptodev-linux-9a2369d426b23f77884b01666370140d10b41c19.tar.gz
cryptodev-linux-9a2369d426b23f77884b01666370140d10b41c19.tar.xz
cryptodev-linux-9a2369d426b23f77884b01666370140d10b41c19.zip
Implemented Diffie Hellman Key exchange.
Diffstat (limited to 'ncr-int.h')
-rw-r--r--ncr-int.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ncr-int.h b/ncr-int.h
index 2598967..2af794f 100644
--- a/ncr-int.h
+++ b/ncr-int.h
@@ -110,7 +110,11 @@ void ncr_deinit_lists(struct ncr_lists *lst);
int ncr_ioctl(struct ncr_lists*, struct file *filp,
unsigned int cmd, unsigned long arg);
-
+
+/* key derivation */
+int ncr_key_derive(struct list_sem_st* key_lst, void __user* arg);
+
+/* key handling */
int ncr_key_init(struct list_sem_st*, void __user* arg);
int ncr_key_deinit(struct list_sem_st*, void __user* arg);
int ncr_key_export(struct list_sem_st* key_lst,void __user* arg);