diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-07-12 10:00:29 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-07-12 10:00:29 +0200 |
commit | 4b881d3153d178f83bd8cf7d5d7739a319be80c2 (patch) | |
tree | a0e980361155df61830e20e4dfe0ec9b2a7e20b1 /ncr.c | |
parent | ada6106692c72168dbe4defd2ec44f273c670e88 (diff) | |
download | cryptodev-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.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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; |