iPXE
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...
 

Macros

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

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
struct md4_digest_data __attribute__ ((packed))
 

Variables

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

◆ MD4_CTX_SIZE

#define MD4_CTX_SIZE   sizeof ( struct md4_context )

MD4 context size.

Definition at line 66 of file md4.h.

◆ MD4_DIGEST_SIZE

#define MD4_DIGEST_SIZE   sizeof ( struct md4_digest )

MD4 digest size.

Definition at line 69 of file md4.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ __attribute__()

struct md4_digest_data __attribute__ ( (packed)  )

Variable Documentation

◆ digest

uint8_t digest

◆ 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(), and ntlm_key().