Old fashion design for PC-104
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright � 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 23/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: LgMD5.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of LgMD5.h
//----------------------------------------------------------------------------
#ifndef __LG__MD5__H__INCLUDED__
#define __LG__MD5__H__INCLUDED__
#pragma once
#ifndef uint8
#define uint8 unsigned char
#endif
#ifndef uint32
#define uint32 unsigned long int
#endif
class CLgHashMD5 {public: typedef BYTE DIGGEST[16];
public: void Start(); void Update( PBYTE pData, INT nCount ); void Finish( DIGGEST );
public: typedef struct MD5_CONTEXT { uint32 total[2]; uint32 state[4]; uint8 buffer[64]; }MD5_CONTEXT;
private: MD5_CONTEXT m_Context;};
#endif
|