|
|||
|
|||
|


Public Member Functions | |
| ModuleRIPEMD160 (InspIRCd *Me) | |
| virtual | ~ModuleRIPEMD160 () |
| virtual const char * | OnRequest (Request *request) |
| Called whenever a Request class is sent to your module by another module. | |
| virtual Version | GetVersion () |
| Returns the version number of a Module. | |
Private Member Functions | |
| void | MDinit (dword *MDbuf, unsigned int *key) |
| void | compress (dword *MDbuf, dword *X) |
| void | MDfinish (dword *MDbuf, byte *strptr, dword lswlen, dword mswlen) |
| byte * | RMD (byte *message, dword length, unsigned int *key) |
Private Attributes | |
| unsigned int * | currkey |
| const char * | chars |
Definition at line 152 of file m_ripemd160.cpp.
|
|
Definition at line 445 of file m_ripemd160.cpp. References ModuleManager::Attach(), I_OnRequest, InspIRCd::Modules, ModuleManager::PublishInterface(), and Module::ServerInstance. |
|
|
Definition at line 452 of file m_ripemd160.cpp. References InspIRCd::Modules, Module::ServerInstance, and ModuleManager::UnpublishInterface(). |
|
||||||||||||
|
Definition at line 179 of file m_ripemd160.cpp. References FF, FFF, GG, GGG, HH, HHH, II, III, JJ, and JJJ. Referenced by MDfinish(), and RMD(). |
|
|
Returns the version number of a Module. The method should return a Version object with its version information assigned via Version::Version Reimplemented from Module. Definition at line 495 of file m_ripemd160.cpp. References API_VERSION, VF_SERVICEPROVIDER, and VF_VENDOR. |
|
||||||||||||||||||||
|
Definition at line 377 of file m_ripemd160.cpp. References compress(). Referenced by RMD(). |
|
||||||||||||
|
Definition at line 155 of file m_ripemd160.cpp. References DEBUG, LogManager::Log(), InspIRCd::Logs, and Module::ServerInstance. Referenced by RMD(). |
|
|
Called whenever a Request class is sent to your module by another module. Please see the documentation of Request::Send() for further information. The Request sent can always be assumed to be non-NULL, you should not change the request object or its data. Your method may return arbitary data in the char* result which the requesting module may be able to use for pre-determined purposes (e.g. the results of an SQL query, etc).
Reimplemented from Module. Definition at line 458 of file m_ripemd160.cpp. References chars, currkey, DEBUG, HashRequest::GetHashData(), Request::GetId(), HashRequest::GetKeyData(), HashRequest::GetOutputs(), LogManager::Log(), InspIRCd::Logs, MAXBUF, RMD(), RMDsize, and Module::ServerInstance. |
|
||||||||||||||||
|
Definition at line 407 of file m_ripemd160.cpp. References BYTES_TO_DWORD, compress(), DEBUG, LogManager::Log(), InspIRCd::Logs, MDfinish(), MDinit(), RMDsize, and Module::ServerInstance. Referenced by OnRequest(). |
|
|
Definition at line 441 of file m_ripemd160.cpp. Referenced by OnRequest(). |
|
|
Definition at line 440 of file m_ripemd160.cpp. Referenced by OnRequest(). |