iPXE
sha256_block Union Reference

An SHA-256 data block. More...

#include <sha256.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-256 data block.

Definition at line 26 of file sha256.h.

Field Documentation

◆ byte

uint8_t sha256_block::byte[64]

Raw bytes.

Definition at line 28 of file sha256.h.

Referenced by sha256_update().

◆ dword

uint32_t sha256_block::dword[16]

Raw dwords.

Definition at line 30 of file sha256.h.

◆ pad

uint8_t sha256_block::pad[56]

Padding.

Definition at line 34 of file sha256.h.

◆ len

uint64_t sha256_block::len

Length in bits.

Definition at line 36 of file sha256.h.

◆ [struct]

struct { ... } sha256_block::final

Final block structure.


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