gnu.crypto.assembly

Class ModeStage

class ModeStage extends Stage

An IMode Stage in a Cascade Cipher chain.

Such a stage wraps an implementation of a Block Cipher Mode of Operation (IMode) to allow inclusion of such an instance in a cascade of block ciphers.

Version: $Revision: 1.3 $

Constructor Summary
ModeStage(IMode mode, Direction forwardDirection)
Method Summary
SetblockSizes()
intcurrentBlockSize()
voidinitDelegate(Map attributes)
voidresetDelegate()
booleanselfTest()
voidupdateDelegate(byte[] in, int inOffset, byte[] out, int outOffset)

Constructor Detail

ModeStage

ModeStage(IMode mode, Direction forwardDirection)

Method Detail

blockSizes

public Set blockSizes()

currentBlockSize

public int currentBlockSize()

initDelegate

void initDelegate(Map attributes)

resetDelegate

void resetDelegate()

selfTest

public boolean selfTest()

updateDelegate

void updateDelegate(byte[] in, int inOffset, byte[] out, int outOffset)
Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.