Skinny-C
 All Data Structures Files Functions Variables Groups Pages
Data Fields
MantisCTRCtx_t Struct Reference

Data Fields

MantisKey_t ks
 
unsigned char counter [MANTIS_BLOCK_SIZE]
 
unsigned char ecounter [MANTIS_BLOCK_SIZE]
 
unsigned offset
 

Detailed Description

Internal state information for Mantis in CTR mode

Definition at line 29 of file mantis-ctr.c.

Field Documentation

unsigned char MantisCTRCtx_t::counter[MANTIS_BLOCK_SIZE]

Counter value for the next block

Definition at line 35 of file mantis-ctr.c.

unsigned char MantisCTRCtx_t::ecounter[MANTIS_BLOCK_SIZE]

Encrypted counter value for encrypting the current block

Definition at line 38 of file mantis-ctr.c.

MantisKey_t MantisCTRCtx_t::ks

Key schedule for Mantis

Definition at line 32 of file mantis-ctr.c.

unsigned MantisCTRCtx_t::offset

Offset into ecounter where the previous request left off

Definition at line 41 of file mantis-ctr.c.


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