processAADBytes method

  1. @override
void processAADBytes(
  1. Uint8List inp,
  2. int inpOff,
  3. int len
)
override

Processes further AAD.

Must not be used after en-/decryption of data has begun.

Implementation

@override
void processAADBytes(Uint8List inp, int inpOff, int len) {
  if (_aadFinished) {
    throw StateError('Must not be used when en-/decryption '
        'of data had begun.');
  }
  _cMac.update(inp, inpOff, len);
}