The friendly Operating System for the Internet of Things
CBCModeContext Struct Reference

The context for processing the en-/decryption in the CBC-Mode with CTS. More...

Detailed Description

Parameters
spill1test1

Definition at line 79 of file cbcmode.h.

#include <crypto/cbcmode.h>

Data Fields

uint8_t spill1 [CBCMODE_MAX_BLOCK_SIZE]
 Spill-Block 1 for temporary usage.
 
uint8_t spill2 [CBCMODE_MAX_BLOCK_SIZE]
 Spill-Block 2 for temporary usage.
 
uint8_t bsize
 the blocksize currently used
 
uint16_t remaining
 how many more bytes of ciphertext do we need to recv
 
uint16_t completed
 how many bytes of plaintext we've deciphered. More...
 
uint8_t accum
 TRUE iff spill1 is the accumulator and spill2 holds prev cipher text. More...
 
uint8_t offset
 into the accumulator
 
uint8_t state
 state enum
 

Field Documentation

uint8_t CBCModeContext::accum

false o.w.

Definition at line 92 of file cbcmode.h.

uint16_t CBCModeContext::completed

Definition at line 89 of file cbcmode.h.


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