Data Fields
sha256_block Union Reference

An SHA-256 data block. More...

#include <sha256.h>

Data Fields

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

Detailed Description

An SHA-256 data block.

Definition at line 25 of file sha256.h.

Field Documentation

◆ byte

uint8_t sha256_block::byte[64]

Raw bytes.

Definition at line 27 of file sha256.h.

Referenced by sha256_update().

◆ dword

uint32_t sha256_block::dword[16]

Raw dwords.

Definition at line 29 of file sha256.h.

◆ pad

uint8_t sha256_block::pad[56]


Definition at line 33 of file sha256.h.

◆ len

uint64_t sha256_block::len

Length in bits.

Definition at line 35 of file sha256.h.

◆ final

struct { ... } sha256_block::final

Final block structure.

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