mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -06:00
Linux/MacOSX: Solve compilation error linked to Camellia cipher addition.
This commit is contained in:
@@ -245,12 +245,12 @@ namespace VeraCrypt
|
||||
// Camellia
|
||||
void CipherCamellia::Decrypt (byte *data) const
|
||||
{
|
||||
camellia_decrypt (data, data, (uint64 *) ScheduledKey.Ptr());
|
||||
camellia_decrypt (data, data, ScheduledKey.Ptr());
|
||||
}
|
||||
|
||||
void CipherCamellia::Encrypt (byte *data) const
|
||||
{
|
||||
camellia_encrypt (data, data, (uint64 *) ScheduledKey.Ptr());
|
||||
camellia_encrypt (data, data, ScheduledKey.Ptr());
|
||||
}
|
||||
|
||||
size_t CipherCamellia::GetScheduledKeySize () const
|
||||
@@ -260,7 +260,7 @@ namespace VeraCrypt
|
||||
|
||||
void CipherCamellia::SetCipherKey (const byte *key)
|
||||
{
|
||||
camellia_set_key (key, (uint64 *) ScheduledKey.Ptr());
|
||||
camellia_set_key (key, ScheduledKey.Ptr());
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -51,6 +51,7 @@ OBJS += ../Crypto/Serpent.o
|
||||
OBJS += ../Crypto/Sha2.o
|
||||
OBJS += ../Crypto/Twofish.o
|
||||
OBJS += ../Crypto/Whirlpool.o
|
||||
OBJS += ../Crypto/Camellia.o
|
||||
|
||||
OBJS += ../Common/Crc.o
|
||||
OBJS += ../Common/Endian.o
|
||||
|
||||
Reference in New Issue
Block a user