1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Linux/MacOSX: Solve compilation error linked to Camellia cipher addition.

This commit is contained in:
Mounir IDRASSI
2016-06-19 00:36:46 +02:00
parent 85cab3b85f
commit 45617a3285
3 changed files with 5 additions and 4 deletions

View File

@@ -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());
}