iPXE
Data Structures | Macros | 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...
 

Macros

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

Functions

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

Variables

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

Detailed Description

MD5 algorithm.

Definition in file md5.h.

Macro Definition Documentation

◆ MD5_CTX_SIZE

#define MD5_CTX_SIZE   sizeof ( struct md5_context )

MD5 context size.

Definition at line 66 of file md5.h.

◆ MD5_DIGEST_SIZE

#define MD5_DIGEST_SIZE   sizeof ( struct md5_digest )

MD5 digest size.

Definition at line 69 of file md5.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ __attribute__()

struct md5_digest_data __attribute__ ( (packed)  )

Variable Documentation

◆ digest

struct md5_digest digest

Digest of data already processed.

Definition at line 12 of file md5.h.

◆ data

union md5_block data

Accumulated data.

Definition at line 14 of file md5.h.

◆ __attribute__

◆ len

size_t len

Amount of accumulated data.

Definition at line 12 of file md5.h.

◆ ddd

Digest and accumulated data.

Definition at line 14 of file md5.h.

◆ md5_algorithm

struct digest_algorithm md5_algorithm