|
UFO: Alien Invasion
|
An implementation of MD4 designed for use in the samba SMB authentication protocol. More...

Go to the source code of this file.
Macros | |
| #define | F(X, Y, Z) |
| #define | G(X, Y, Z) |
| #define | H(X, Y, Z) |
| #define | lshift(x, s) |
| #define | ROUND1(a, b, c, d, k, s) |
| #define | ROUND2(a, b, c, d, k, s) |
| #define | ROUND3(a, b, c, d, k, s) |
Functions | |
| static void | mdfour64 (uint32_t *M) |
| static void | copy64 (uint32_t *M, const unsigned char *in) |
| static void | copy4 (unsigned char *out, uint32_t x) |
| static void | mdfour_begin (struct mdfour *md) |
| static void | mdfour_tail (const unsigned char *in, int n) |
| static void | mdfour_update (struct mdfour *md, const unsigned char *in, int n) |
| static void | mdfour_result (struct mdfour *md, unsigned char *out) |
| static void | mdfour (unsigned char *out, const unsigned char *in, int n) |
| unsigned | Com_BlockChecksum (const void *buffer, int length) |
Variables | |
| static struct mdfour * | m |
An implementation of MD4 designed for use in the samba SMB authentication protocol.
Definition in file md4.cpp.
| #define F | ( | X, | |
| Y, | |||
| Z ) |
Definition at line 37 of file md4.cpp.
Referenced by Com_SHA2Process().
| #define G | ( | X, | |
| Y, | |||
| Z ) |
Definition at line 38 of file md4.cpp.
Referenced by Com_SHA2Process().
| #define H | ( | X, | |
| Y, | |||
| Z ) |
| #define ROUND1 | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| k, | |||
| s ) |
| #define ROUND2 | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| k, | |||
| s ) |
| #define ROUND3 | ( | a, | |
| b, | |||
| c, | |||
| d, | |||
| k, | |||
| s ) |
MD4-based checksum utility functions Copyright (C) 2000 Jeff Teunissen d2dee.nosp@m.k@pm.nosp@m.ail.n.nosp@m.et Author: Jeff Teunissen d2dee.nosp@m.k@pm.nosp@m.ail.n.nosp@m.et Date: 01 Jan 2000
Definition at line 202 of file md4.cpp.
References length, and mdfour().
Referenced by CM_AddMapTile(), and Com_GetScriptChecksum().
|
static |
Definition at line 107 of file md4.cpp.
Referenced by mdfour_result(), and mdfour_tail().
|
static |
Definition at line 101 of file md4.cpp.
Referenced by mdfour_tail(), and mdfour_update().
Definition at line 187 of file md4.cpp.
References mdfour_begin(), mdfour_result(), and mdfour_update().
Referenced by Com_BlockChecksum().
|
static |
Definition at line 125 of file md4.cpp.
References copy4(), copy64(), M, m, mdfour64(), and OBJZERO.
Referenced by mdfour_update().
start of edit by Forest 'LordHavoc' Hale commented out to prevent crashing when length is 0 if (n == 0) mdfour_tail(in, n); end of edit by Forest 'LordHavoc' Hale
Definition at line 152 of file md4.cpp.
References copy64(), M, m, mdfour64(), and mdfour_tail().
Referenced by mdfour().
|
static |
Definition at line 35 of file md4.cpp.
Referenced by CalculateMinsMaxs(), Check_FindCompositeSides(), CheckNodraws(), CheckPropagateParserContentFlags(), CL_EventAddMail(), CL_PrecacheCharacterModels(), Com_AddObjectLinks(), G_ReadItem(), GAME_InitializeBattlescape(), GLPositionTransform(), GLVectorTransform(), Grid_RecalcRouting(), Irc_Proto_Enqueue(), Matrix4x4_FromBonePose6s(), Matrix4x4_FromDoom3Joint(), Matrix4x4_FromOriginQuat(), Matrix4x4_ToBonePose6s(), Matrix4x4_ToOrigin3Quat4Float(), MatrixTranspose(), mdfour64(), mdfour_result(), mdfour_tail(), mdfour_update(), ParseBrush(), R_CreateSurfaceFlare(), R_Draw3DGlobe(), R_DrawFlareSurfaces(), R_DrawMaterialSurfaces(), R_ImageClearMaterials(), R_LoadMaterials(), R_Trace(), R_UpdateMaterial(), AABB::rotateAround(), RotatePointAroundVector(), StringToFilter(), SV_AddMissingTiles(), SV_FilterPacket(), SV_FitTile(), SV_TileMaskToString(), TEST_F(), UI_CloseWindowByRef(), UI_GeoscapeNodeZoomIn(), UI_GeoscapeNodeZoomOut(), UI_GetUIModel(), UI_ListUIModels_f(), UI_MaterialEditorNewStage_f(), UP_GetUnreadMails(), UP_MailClientClick_f(), UP_OpenMail_f(), UP_SetAllMailsRead_f(), and VectorRotate().