
* Fixes #3385. * Updated the header guard names to C++ standards. Thanks to @elfring's suggestion!
16 lines
358 B
C++
16 lines
358 B
C++
// Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
|
|
// For more information, see LICENCE in the main folder
|
|
|
|
#ifndef DES_HPP
|
|
#define DES_HPP
|
|
|
|
#include "cbasetypes.hpp"
|
|
|
|
/// 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_HPP */
|