Discuss this help topic in SecureBlackbox Forum
Encrypts data in Authenticated Encryption with Associated Data (AEAD) mode.
Declaration
Parameters
- ADataIndex - the size of the associated data in bytes.
- ADataSize - the size of the actual data in the AssociatedData buffer.
- AssociatedData - a buffer containing the Associated Data. The associated data is included in the calculation of the authentication tag, but is not included in the encryption process itself, and is supposed to be distributed/established outside of the AEAD encryption scheme.
- InBuffer - buffer with data to be encrypted.
- InIndex - the offset of the data to be encrypted in InBuffer.
- InSize - the size of the data block (in InBuffer) to be encrypted.
- OutBuffer - buffer where the encrypted data should be stored.
- OutIndex - the fffset in OutBuffer, starting from which the data is written.
- OutSize - the amount of free space in OutBuffer, in bytes.
Description
Call this method to encrypt data in AEAD mode, when Mode is set to one of cmCCM or cmGCM.
Discuss this help topic in SecureBlackbox Forum