iPXE
md5.h File Reference

MD5 algorithm. More...

#include <stdint.h>
#include <ipxe/crypto.h>
#include <ipxe/mdhash.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...

Macros

#define MD5_CTX_SIZE   MDHASH_CTX_SIZE ( struct md5_digest_data )
 MD5 context size.
#define MD5_BLOCK_SIZE   sizeof ( union md5_block )
 MD5 block size.
#define MD5_DIGEST_SIZE   sizeof ( struct md5_digest )
 MD5 digest size.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 FILE_SECBOOT (PERMITTED)

Variables

struct digest_algorithm md5_algorithm

Detailed Description

MD5 algorithm.

Definition in file md5.h.

Macro Definition Documentation

◆ MD5_CTX_SIZE

#define MD5_CTX_SIZE   MDHASH_CTX_SIZE ( struct md5_digest_data )

MD5 context size.

Definition at line 51 of file md5.h.

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

◆ MD5_BLOCK_SIZE

#define MD5_BLOCK_SIZE   sizeof ( union md5_block )

MD5 block size.

Definition at line 54 of file md5.h.

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

◆ MD5_DIGEST_SIZE

#define MD5_DIGEST_SIZE   sizeof ( struct md5_digest )

MD5 digest size.

Definition at line 57 of file md5.h.

Referenced by eap_rx_md5(), http_digest_authenticate(), http_digest_final(), and MDHASH_ALGORITHM().

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

Variable Documentation

◆ md5_algorithm