diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1995-12-17 19:12:09 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1995-12-17 19:12:09 +0000 |
commit | 15cdb6b1a582ffe5054eb5a61d3c18e0084b3d29 (patch) | |
tree | 9c70c67602affbe42c1d011c8bf9e402e7a6377a /kerberosIV/des/set_key.c | |
parent | b28bf2659e2e74cdda5e9b360ee403aea2c16a7f (diff) |
Change name of des_set_key to des_set_key_schedule as to not interfere with
different implementation used by multiple binaries
Diffstat (limited to 'kerberosIV/des/set_key.c')
-rw-r--r-- | kerberosIV/des/set_key.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kerberosIV/des/set_key.c b/kerberosIV/des/set_key.c index 8b46c1ce27b..87bb1597f75 100644 --- a/kerberosIV/des/set_key.c +++ b/kerberosIV/des/set_key.c @@ -1,4 +1,4 @@ -/* $Id: set_key.c,v 1.1 1995/12/14 06:52:43 tholo Exp $ */ +/* $Id: set_key.c,v 1.2 1995/12/17 19:12:07 tholo Exp $ */ /* Copyright (C) 1993 Eric Young - see README for more details */ /* set_key.c v 1.4 eay 24/9/91 @@ -95,7 +95,7 @@ static char shifts2[16]={0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0}; * return -1 if key parity error, * return -2 if illegal weak key. */ -int des_set_key(des_cblock (*key), struct des_ks_struct *schedule) +int des_set_key_schedule(des_cblock (*key), struct des_ks_struct *schedule) { register u_int32_t c,d,t,s; register unsigned char *in; @@ -175,5 +175,5 @@ int des_set_key(des_cblock (*key), struct des_ks_struct *schedule) int des_key_sched(des_cblock *key, des_key_schedule schedule) { - return(des_set_key(key, (struct des_ks_struct *)schedule)); + return(des_set_key_schedule(key, (struct des_ks_struct *)schedule)); } |