@Override
  public void verifyMac() throws GeneralSecurityException {
    byte[] other = hmacComputation.computeMac();
    if (!tag.equals(Bytes.copyFrom(other))) {
      throw new GeneralSecurityException("invalid MAC");
    }
  }
An implementation of streaming HMAC verification. Uses ChunkedHmacComputation implementation
under the hood. Not thread-safe, thread safety must be ensured by the caller if objects of this
class are accessed concurrently.
java_src/src/main/java/com/google/crypto/tink/mac/internal/ChunkedHmacVerification.java