iPXE
Data Structures | Defines | Functions | Variables
md5.h File Reference

MD5 algorithm. More...

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

Go to the source code of this file.

Data Structures

struct  md5_digest
 An MD5 digest. More...
union  md5_block
 An MD5 data block. More...
struct  md5_digest_data
 MD5 digest and data block. More...
union  md5_digest_data_dwords
 MD5 digest and data block. More...
struct  md5_context
 An MD5 context. More...

Defines

#define MD5_CTX_SIZE   sizeof ( struct md5_context )
 MD5 context size.
#define MD5_DIGEST_SIZE   sizeof ( struct md5_digest )
 MD5 digest size.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
struct md5_digest_data __attribute__ ((packed))

Variables

struct md5_digest digest
 Digest of data already processed.
union md5_block data
 Accumulated data.
union md5_digest_data_dwords __attribute__
size_t len
 Amount of accumulated data.
union md5_digest_data_dwords ddd
 Digest and accumulated data.
struct digest_algorithm md5_algorithm
 MD5 algorithm.

Detailed Description

MD5 algorithm.

Definition in file md5.h.


Define Documentation

#define MD5_CTX_SIZE   sizeof ( struct md5_context )

MD5 context size.

Definition at line 66 of file md5.h.

Referenced by ntlm_key(), ntlm_response(), and tkip_kie_mic().

#define MD5_DIGEST_SIZE   sizeof ( struct md5_digest )

MD5 digest size.

Definition at line 69 of file md5.h.

Referenced by http_digest_authenticate(), and http_digest_final().


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )
struct md5_digest_data __attribute__ ( (packed)  )

Variable Documentation

Digest of data already processed.

Definition at line 48 of file md5.h.

union md5_block data

Accumulated data.

Definition at line 50 of file md5.h.

Amount of accumulated data.

Definition at line 65 of file md5.h.

Digest and accumulated data.

Definition at line 67 of file md5.h.