# HG changeset patch # User Thomas Dixon # Date 1219289582 14400 # Node ID 02970e63257d9d22a1ffca0a3ec7b85a1329998a # Parent cd376996cdb3fd1f03cfd1feb812190f7dec1ec0 Fix stupid error with using uint instead of int in create* diff -r cd376996cdb3 -r 02970e63257d dcrypt/crypto/Crypto.d --- a/dcrypt/crypto/Crypto.d Wed Aug 20 20:08:07 2008 -0400 +++ b/dcrypt/crypto/Crypto.d Wed Aug 20 23:33:02 2008 -0400 @@ -17,11 +17,14 @@ import dcrypt.crypto.hashes.SHA384; import dcrypt.crypto.hashes.SHA512; +// Message authentication codes +public import dcrypt.crypto.MAC; +public import dcrypt.crypto.macs.HMAC; + // Params public import dcrypt.crypto.params.SymmetricKey; public import dcrypt.crypto.params.ParametersWithIV; - // Ciphers public import dcrypt.crypto.Cipher; public import dcrypt.crypto.BlockCipher; @@ -31,8 +34,8 @@ import dcrypt.crypto.ciphers.RC6; import dcrypt.crypto.ciphers.TEA; import dcrypt.crypto.ciphers.XTEA; +import dcrypt.crypto.ciphers.AES; import dcrypt.crypto.ciphers.RC4; -import dcrypt.crypto.ciphers.AES; // Block modes import dcrypt.crypto.modes.CBC; @@ -100,7 +103,7 @@ } } - static Cipher createCipher(uint cipher, uint mode=Modes.ECB, uint padding=Padding.None) { + static Cipher createCipher(uint cipher, int mode=Modes.ECB, int padding=Padding.None) { BlockCipher c = null, m = null; BlockCipherPadding p = null; diff -r cd376996cdb3 -r 02970e63257d dsss.conf --- a/dsss.conf Wed Aug 20 20:08:07 2008 -0400 +++ b/dsss.conf Wed Aug 20 23:33:02 2008 -0400 @@ -1,4 +1,3 @@ name = dcrypt [dcrypt] target = dcrypt -