diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-07-27 16:43:11 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-07-27 16:43:11 +0200 |
commit | 9a2369d426b23f77884b01666370140d10b41c19 (patch) | |
tree | 075830ece81547905f07cf77a68fa4071bab1ef9 /ncr.c | |
parent | 3e9e7a872a76e085499b15089e16ad8c3a2d68fd (diff) | |
download | kernel-crypto-9a2369d426b23f77884b01666370140d10b41c19.tar.gz kernel-crypto-9a2369d426b23f77884b01666370140d10b41c19.tar.xz kernel-crypto-9a2369d426b23f77884b01666370140d10b41c19.zip |
Implemented Diffie Hellman Key exchange.
Diffstat (limited to 'ncr.c')
-rw-r--r-- | ncr.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -106,7 +106,7 @@ struct ncr_master_key_st st; dprintk(0, KERN_DEBUG, "Master key was previously initialized.\n"); } - dprintk(0, KERN_INFO, "Intializing master key.\n"); + dprintk(0, KERN_INFO, "Initializing master key.\n"); master_key.type = NCR_KEY_TYPE_SECRET; @@ -159,10 +159,8 @@ ncr_ioctl(struct ncr_lists* lst, struct file *filp, return ncr_master_key_set(arg); case NCRIO_KEY_GENERATE_PAIR: return ncr_key_generate_pair(&lst->key, arg); -#if 0 case NCRIO_KEY_DERIVE: return ncr_key_derive(&lst->key, arg); -#endif default: return -EINVAL; } |