Data Structures | Macros | Functions | Variables
md4.h File Reference

MD4 algorithm. More...

#include <stdint.h>
#include <ipxe/crypto.h>

Go to the source code of this file.

Data Structures

struct  md4_digest
 An MD4 digest. More...
union  md4_block
 An MD4 data block. More...
struct  md4_digest_data
 MD4 digest and data block. More...
union  md4_digest_data_dwords
 MD4 digest and data block. More...
struct  md4_context
 An MD4 context. More...


#define MD4_CTX_SIZE   sizeof ( struct md4_context )
 MD4 context size. More...
#define MD4_BLOCK_SIZE   sizeof ( union md4_block )
 MD4 block size. More...
#define MD4_DIGEST_SIZE   sizeof ( struct md4_digest )
 MD4 digest size. More...


struct md4_digest_data __attribute__ ((packed))


struct md4_digest digest
 Digest of data already processed. More...
union md4_block data
 Accumulated data. More...
union md4_digest_data_dwords __attribute__
size_t len
 Amount of accumulated data. More...
union md4_digest_data_dwords ddd
 Digest and accumulated data. More...
struct digest_algorithm md4_algorithm
 MD4 algorithm. More...

Detailed Description

MD4 algorithm.

Definition in file md4.h.

Macro Definition Documentation


#define MD4_CTX_SIZE   sizeof ( struct md4_context )

MD4 context size.

Definition at line 66 of file md4.h.


#define MD4_BLOCK_SIZE   sizeof ( union md4_block )

MD4 block size.

Definition at line 69 of file md4.h.


#define MD4_DIGEST_SIZE   sizeof ( struct md4_digest )

MD4 digest size.

Definition at line 72 of file md4.h.

Function Documentation



◆ __attribute__()

struct md4_digest_data __attribute__ ( (packed)  )

Variable Documentation

◆ digest

struct md4_digest digest

Digest of data already processed.

Definition at line 12 of file md4.h.

◆ data

union md4_block data

Accumulated data.

Definition at line 14 of file md4.h.

◆ __attribute__

◆ len

size_t len

Amount of accumulated data.

Definition at line 12 of file md4.h.

◆ ddd

Digest and accumulated data.

Definition at line 14 of file md4.h.

◆ md4_algorithm

struct digest_algorithm md4_algorithm

MD4 algorithm.

Definition at line 261 of file md4.c.

Referenced by md4_test_exec(), mschapv2_hash_hash(), mschapv2_password_hash(), and ntlm_key().