diff options
author | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-04-19 21:31:43 +0000 |
commit | 6b691a5c85ddc4e407e32781841fee5c029506cd (patch) | |
tree | 436f1127406e1cacfe83dfcbfff824d89c47d834 /crypto/des/ede_enc.c | |
parent | 3edd7ed15de229230f74c79c3d71e7c9c674cf4f (diff) |
Change functions to ANSI C.
Diffstat (limited to 'crypto/des/ede_enc.c')
-rw-r--r-- | crypto/des/ede_enc.c | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/crypto/des/ede_enc.c b/crypto/des/ede_enc.c index 9f75dd1037..2d3ceae198 100644 --- a/crypto/des/ede_enc.c +++ b/crypto/des/ede_enc.c @@ -58,15 +58,9 @@ #include "des_locl.h" -void des_ede3_cbc_encrypt(input, output, length, ks1, ks2, ks3, ivec, enc) -des_cblock (*input); -des_cblock (*output); -long length; -des_key_schedule ks1; -des_key_schedule ks2; -des_key_schedule ks3; -des_cblock (*ivec); -int enc; +void des_ede3_cbc_encrypt(des_cblock (*input), des_cblock (*output), + long length, des_key_schedule ks1, des_key_schedule ks2, + des_key_schedule ks3, des_cblock (*ivec), int enc) { register DES_LONG tin0,tin1; register DES_LONG tout0,tout1,xor0,xor1; @@ -175,14 +169,9 @@ int enc; } #ifdef undef /* MACRO */ -void des_ede2_cbc_encrypt(input, output, length, ks1, ks2, ivec, enc) -des_cblock (*input); -des_cblock (*output); -long length; -des_key_schedule ks1; -des_key_schedule ks2; -des_cblock (*ivec); -int enc; +void des_ede2_cbc_encrypt(des_cblock (*input), des_cblock (*output), + long length, des_key_schedule ks1, des_key_schedule ks2, + des_cblock (*ivec), int enc) { des_ede3_cbc_encrypt(input,output,length,ks1,ks2,ks1,ivec,enc); } |