<PackageReference Include="BouncyCastle.Cryptography" Version="2.5.1" />
OcbBlockCipher
An implementation of RFC 7253 on The OCB
Authenticated-Encryption Algorithm.
protected static void OCB_extend(
byte[]
block,
int pos)
protected static int OCB_ntz(
long x)
protected static int ShiftLeft(
byte[]
block,
byte[]
output)
protected static void Xor(
byte[]
block,
byte[]
val)
protected virtual void Clear(
byte[]
bs)
public virtual int DoFinal(
byte[]
output,
int outOff)
protected virtual byte[]
GetLSub(
int n)
public virtual byte[]
GetMac()
public virtual int ProcessByte(
byte input,
byte[]
output,
int outOff)
public virtual int ProcessBytes(
byte[]
input,
int inOff,
int len,
byte[]
output,
int outOff)
public virtual void Reset()
protected virtual void Reset(
bool clearMac)