iPXE
sha1_block Union Reference

An SHA-1 data block. More...

#include <sha1.h>

Data Fields

uint8_t byte [64]
 Raw bytes.
uint32_t dword [16]
 Raw dwords.
struct { 
   uint8_t   pad [56] 
 Padding. More...
   uint64_t   len 
 Length in bits. More...
final
 Final block structure.

Detailed Description

An SHA-1 data block.

Definition at line 23 of file sha1.h.

Field Documentation

◆ byte

uint8_t sha1_block::byte[64]

Raw bytes.

Definition at line 25 of file sha1.h.

Referenced by sha1_update().

◆ dword

uint32_t sha1_block::dword[16]

Raw dwords.

Definition at line 27 of file sha1.h.

◆ pad

uint8_t sha1_block::pad[56]

Padding.

Definition at line 31 of file sha1.h.

◆ len

uint64_t sha1_block::len

Length in bits.

Definition at line 33 of file sha1.h.

◆ [struct]

struct { ... } sha1_block::final

Final block structure.


The documentation for this union was generated from the following file: