iPXE
Data Structures | Macros | Functions | Variables
des.h File Reference

DES algorithm. More...

#include <ipxe/crypto.h>

Go to the source code of this file.

Data Structures

union  des_dword
 A DES 32-bit dword value. More...
 
union  des_block
 A DES 64-bit block. More...
 
union  des_round_key
 A DES round key. More...
 
struct  des_context
 DES context. More...
 

Macros

#define DES_BLOCKSIZE   sizeof ( union des_block )
 DES blocksize. More...
 
#define DES_ROUNDS   16
 Number of DES rounds. More...
 
#define DES_CTX_SIZE   sizeof ( struct des_context )
 DES context size. More...
 

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 

Variables

struct cipher_algorithm des_algorithm
 Basic DES algorithm. More...
 
struct cipher_algorithm des_ecb_algorithm
 
struct cipher_algorithm des_cbc_algorithm
 

Detailed Description

DES algorithm.

Definition in file des.h.

Macro Definition Documentation

◆ DES_BLOCKSIZE

#define DES_BLOCKSIZE   sizeof ( union des_block )

DES blocksize.

Definition at line 49 of file des.h.

◆ DES_ROUNDS

#define DES_ROUNDS   16

Number of DES rounds.

Definition at line 76 of file des.h.

◆ DES_CTX_SIZE

#define DES_CTX_SIZE   sizeof ( struct des_context )

DES context size.

Definition at line 85 of file des.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

Variable Documentation

◆ des_algorithm

struct cipher_algorithm des_algorithm

Basic DES algorithm.

Definition at line 676 of file des.c.

Referenced by mschapv2_challenge_response().

◆ des_ecb_algorithm

struct cipher_algorithm des_ecb_algorithm

Referenced by des_test_exec().

◆ des_cbc_algorithm

struct cipher_algorithm des_cbc_algorithm

Referenced by des_test_exec().