CMAC

CMAC, also known as OMAC1

Constructors

this
this(BlockCipher cipher)

Members

Functions

addData
void addData(const(ubyte)* input, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
clone
MessageAuthenticationCode clone()
Undocumented in source. Be warned that the author may not have intended to support it.
finalResult
void finalResult(ubyte* mac)
Undocumented in source. Be warned that the author may not have intended to support it.
keySchedule
void keySchedule(const(ubyte)* key, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
keySpec
KeyLengthSpecification keySpec()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

name
string name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
outputLength
size_t outputLength [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

polyDouble
SecureVector!ubyte polyDouble(SecureVector!ubyte input)

CMAC's polynomial doubling operation

Variables

m_B
SecureVector!ubyte m_B;
m_P
SecureVector!ubyte m_P;
Undocumented in source.
m_buffer
SecureVector!ubyte m_buffer;
Undocumented in source.
m_cipher
Unique!BlockCipher m_cipher;
Undocumented in source.
m_position
size_t m_position;
m_state
SecureVector!ubyte m_state;
Undocumented in source.

Inherited Members

From MessageAuthenticationCode

verifyMac
bool verifyMac(const(ubyte)* mac, size_t length)

Verify a MAC.

clone
MessageAuthenticationCode clone()

Get a new object representing the same algorithm as this

name
string name [@property getter]

Get the name of this algorithm.

Meta