summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/des/des.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/des/des.h')
-rw-r--r--src/lib/libcrypto/des/des.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/des/des.h b/src/lib/libcrypto/des/des.h
index 2db9748cb4..6b8a7ee11b 100644
--- a/src/lib/libcrypto/des/des.h
+++ b/src/lib/libcrypto/des/des.h
@@ -147,14 +147,14 @@ void des_ecb_encrypt(const_des_cblock *input,des_cblock *output,
147 Data is a pointer to 2 unsigned long's and ks is the 147 Data is a pointer to 2 unsigned long's and ks is the
148 des_key_schedule to use. enc, is non zero specifies encryption, 148 des_key_schedule to use. enc, is non zero specifies encryption,
149 zero if decryption. */ 149 zero if decryption. */
150void des_encrypt(DES_LONG *data,des_key_schedule ks, int enc); 150void des_encrypt1(DES_LONG *data,des_key_schedule ks, int enc);
151 151
152/* This functions is the same as des_encrypt() except that the DES 152/* This functions is the same as des_encrypt1() except that the DES
153 initial permutation (IP) and final permutation (FP) have been left 153 initial permutation (IP) and final permutation (FP) have been left
154 out. As for des_encrypt(), you should not use this function. 154 out. As for des_encrypt1(), you should not use this function.
155 It is used by the routines in the library that implement triple DES. 155 It is used by the routines in the library that implement triple DES.
156 IP() des_encrypt2() des_encrypt2() des_encrypt2() FP() is the same 156 IP() des_encrypt2() des_encrypt2() des_encrypt2() FP() is the same
157 as des_encrypt() des_encrypt() des_encrypt() except faster :-). */ 157 as des_encrypt1() des_encrypt1() des_encrypt1() except faster :-). */
158void des_encrypt2(DES_LONG *data,des_key_schedule ks, int enc); 158void des_encrypt2(DES_LONG *data,des_key_schedule ks, int enc);
159 159
160void des_encrypt3(DES_LONG *data, des_key_schedule ks1, 160void des_encrypt3(DES_LONG *data, des_key_schedule ks1,