Botan

OCB Mode

License
Botan is released under the Simplified BSD License (see LICENSE.md)

abstract class  OCBMode: botan.modes.aead.aead.AEADMode, botan.algo_base.transform.Transformation;

OCB Mode (base class for OCBEncryption and OCBDecryption). Note that OCB is patented, but is freely licensed in some circumstances.

@see "The OCB Authenticated-Encryption Algorithm" internet draft

http:
//tools.ietf.org/html/draft-irtf-cfrg-ocb-03 @see Free Licenses http://www.cs.ucdavis.edu/~rogaway/ocb/license.htm @see OCB home page http://www.cs.ucdavis.edu/~rogaway/ocb

protected this(BlockCipher cipher, size_t tag_size);

Parameters
BlockCipher cipher the 128-bit block cipher to use
size_t tag_size is how big the auth tag will be