diff options
author | eathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-11 20:43:49 +0000 |
---|---|---|
committer | eathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-11 20:43:49 +0000 |
commit | 6ab4ccb4d3d6cb959776d4800bcd5e92b3dd7ac2 (patch) | |
tree | 7902ad9440868427e0c7b60eea139d38f5a635ee /src/common/des.h | |
parent | 4d4d4040ef1ae13f72bca2ca060e869d2d914754 (diff) | |
download | hercules-6ab4ccb4d3d6cb959776d4800bcd5e92b3dd7ac2.tar.gz hercules-6ab4ccb4d3d6cb959776d4800bcd5e92b3dd7ac2.tar.bz2 hercules-6ab4ccb4d3d6cb959776d4800bcd5e92b3dd7ac2.tar.xz hercules-6ab4ccb4d3d6cb959776d4800bcd5e92b3dd7ac2.zip |
* Merged changes up to eAthena 15014.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15063 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/des.h')
-rw-r--r-- | src/common/des.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/common/des.h b/src/common/des.h new file mode 100644 index 000000000..e42136436 --- /dev/null +++ b/src/common/des.h @@ -0,0 +1,15 @@ +// Copyright (c) Athena Dev Teams - Licensed under GNU GPL +// For more information, see LICENCE in the main folder +#ifndef _DES_H_ +#define _DES_H_ + + +/// One 64-bit block. +typedef struct BIT64 { uint8_t b[8]; } BIT64; + + +void des_decrypt_block(BIT64* block); +void des_decrypt(unsigned char* data, size_t size); + + +#endif // _DES_H_ |