EAX constructor

EAX(
  1. BlockCipher underlyingCipher
)

Implementation

EAX(this.underlyingCipher)
    : _ctr = CTRStreamCipher(underlyingCipher),
      _cMac = CMac(underlyingCipher, underlyingCipher.blockSize * 8),
      _macSize = underlyingCipher.blockSize ~/ 2;