rathena/src/common/des.hpp
Aleos 2ab298076c
Cleaned up header guard names (#3395)
* Fixes #3385.
* Updated the header guard names to C++ standards.
Thanks to @elfring's suggestion!
2018-08-10 15:57:50 -04:00

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 */