diff options
Diffstat (limited to 'crypto/des/str2key.c')
-rw-r--r-- | crypto/des/str2key.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/crypto/des/str2key.c b/crypto/des/str2key.c index 7701580a8d..40f706beb7 100644 --- a/crypto/des/str2key.c +++ b/crypto/des/str2key.c @@ -60,9 +60,7 @@ extern int des_check_key; -void des_string_to_key(str, key) -const char *str; -des_cblock key; +void des_string_to_key(const char *str, des_cblock key) { des_key_schedule ks; int i,length; @@ -99,10 +97,7 @@ des_cblock key; des_set_odd_parity(key); } -void des_string_to_2keys(str, key1, key2) -const char *str; -des_cblock key1; -des_cblock key2; +void des_string_to_2keys(const char *str, des_cblock key1, des_cblock key2) { des_key_schedule ks; int i,length; |