summaryrefslogtreecommitdiffstats
path: root/ncr.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-12 10:00:29 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-12 10:00:29 +0200
commit4b881d3153d178f83bd8cf7d5d7739a319be80c2 (patch)
treea0e980361155df61830e20e4dfe0ec9b2a7e20b1 /ncr.c
parentada6106692c72168dbe4defd2ec44f273c670e88 (diff)
downloadcryptodev-linux-4b881d3153d178f83bd8cf7d5d7739a319be80c2.tar.gz
cryptodev-linux-4b881d3153d178f83bd8cf7d5d7739a319be80c2.tar.xz
cryptodev-linux-4b881d3153d178f83bd8cf7d5d7739a319be80c2.zip
Removed the public key params get/set functionality. This can be achieved with import/export functionality and DER decoding.
Diffstat (limited to 'ncr.c')
-rw-r--r--ncr.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ncr.c b/ncr.c
index 228b54f..b760476 100644
--- a/ncr.c
+++ b/ncr.c
@@ -169,14 +169,6 @@ ncr_ioctl(struct ncr_lists* lst, struct file *filp,
#if 0
case NCRIO_KEY_DERIVE:
return ncr_key_derive(&lst->key, (void*)arg);
- case NCRIO_KEY_GET_PUBLIC:
- return ncr_key_get_public(&lst->key, (void*)arg);
- case NCRIO_KEY_SET_PUBLIC:
- return ncr_key_set_public(&lst->key, (void*)arg);
- case NCRIO_KEY_GET_PRIVATE:
- return ncr_key_get_private(&lst->key, (void*)arg);
- case NCRIO_KEY_SET_PRIVATE:
- return ncr_key_set_private(&lst->key, (void*)arg);
#endif
default:
return -EINVAL;