|
static ByteVector | cmac (const ByteVector &key, std::string crypto, const ByteVector &data, const ByteVector &iv={}, int padding_size=0) |
|
static ByteVector | cmac (const ByteVector &key, std::shared_ptr< SymmetricCipher > cipherMAC, const ByteVector &data, const ByteVector &lastIV={}, unsigned int padding_size=0, bool forceK2Use=false) |
| Return data part for the encrypted communication mode.
|
|
static ByteVector | cmac_iks (const std::string &iks_key_name, const ByteVector &data, const ByteVector &lastIv, unsigned int padding_size, const std::shared_ptr< RemoteCrypto > &remote_crypto) |
|
static ByteVector | shift_string (const ByteVector &buf, unsigned char xorparam=0x00) |
| Shift a string.
|
|
NIST SP 800-38B / ISO 9797-1:2011 MAC Algorithm 5