Added SHA-1, SHA-224, SHA-256, SHA-384 and SHA-512 support

This commit is contained in:
Lynix
2012-05-10 00:53:36 +02:00
parent d0bc1d908a
commit 68b238fc74
23 changed files with 1621 additions and 15 deletions

View File

@@ -2,6 +2,9 @@
// This file is part of the "Nazara Engine".
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <algorithm>
#include <Nazara/Core/Debug.hpp>
inline void NzByteSwap(void* buffer, unsigned int size)
{
nzUInt8* bytes = reinterpret_cast<nzUInt8*>(buffer);
@@ -36,3 +39,5 @@ inline nzEndianness NzGetPlatformEndianness()
return endianness;
#endif
}
#include <Nazara/Core/DebugOff.hpp>