Top Constructors Methods
org.bouncycastle.crypto.engines

public Class CryptoProWrapEngine

extends GOST28147WrapEngine
Class Inheritance
Imports
org.bouncycastle.crypto.CipherParameters, org.bouncycastle.crypto.modes.GCFBBlockCipher, org.bouncycastle.crypto.params.KeyParameter, .ParametersWithIV, .ParametersWithRandom, .ParametersWithSBox, .ParametersWithUKM, org.bouncycastle.util.Pack

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static boolean
bitSet(byte v, int bitNo)

private static byte[]
cryptoProDiversify(byte[] K, byte[] ukm, byte[] sBox)

public void
Inherited from org.bouncycastle.crypto.engines.GOST28147WrapEngine:
getAlgorithmNameunwrapwrap

Constructor Detail

CryptoProWrapEngineback to summary
public CryptoProWrapEngine()

Method Detail

bitSetback to summary
private static boolean bitSet(byte v, int bitNo)
cryptoProDiversifyback to summary
private static byte[] cryptoProDiversify(byte[] K, byte[] ukm, byte[] sBox)
initback to summary
public void init(boolean forWrapping, CipherParameters param)

Overrides org.bouncycastle.crypto.engines.GOST28147WrapEngine.init.

Implements org.bouncycastle.crypto.Wrapper.init.