processAADBytes method

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

Processes the additional authentication data

Implementation

@override
void processAADBytes(Uint8List inp, int inpOff, int len) {
  var block = Uint8List(16);
  for (var i = 0; i < len; i += 16) {
    block.fillRange(0, 16, 0);
    block.setAll(
        0, inp.sublist(inpOff + i, inpOff + min(i + 16, len) as int));
    _gHASHBlock(_x, block);
  }
}