lzma_check_state Struct Reference

Structure to hold internal state of the check being calculated. More...

#include <check.h>


Data Fields

union {
   uint8_t   u8 [64]
   uint32_t   u32 [16]
   uint64_t   u64 [8]
buffer
 Buffer to hold the final result and a temporary buffer for SHA256.
union {
   uint32_t   crc32
   uint64_t   crc64
   struct {
      uint32_t   state [8]
 Internal state.
      uint64_t   size
 Size of the message excluding padding.
   }   sha256
state
 Check-specific data.


Detailed Description

Structure to hold internal state of the check being calculated.

Note:
This is not in the public API because this structure may change in future if new integrity check algorithms are added.

Field Documentation

union { ... } lzma_check_state::buffer

Buffer to hold the final result and a temporary buffer for SHA256.

Referenced by lzma_block_buffer_encode(), lzma_check_finish(), lzma_sha256_finish(), and lzma_sha256_update().

Size of the message excluding padding.

union { ... } lzma_check_state::state

Check-specific data.


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

Generated on Fri Sep 4 21:55:23 2020 for XZ Utils by  doxygen 1.5.6