anchor.diff:                            rekey_key = PubKeyB,
                             key = Key2A, iv = IV2A},
                       %%
  -                    StartCleartext = [R2B, R3B, <<RekeyInterval:32>>],
  +                    StartCleartext = [R2B, R3B, <<RekeyCount:32>>],
                       StartMsgLen = TagLen + iolist_size(StartCleartext),
                       StartAAD = <<StartMsgLen:32>>,
                       {StartCiphertext, StartTag} =
  
positive.code:             end
      end.
  
  output_handler_send(Params, Seq, {_, Size, _} = Q) ->
      if
          ?CHUNK_SIZE < Size ->
              output_handler_send(Params, Seq, Q, ?CHUNK_SIZE);
          true ->
              case get_data(Params#params.dist_handle, Q) of
                  {_, 0, _} ->
                      {Params, Seq};
                  {_, Size, _} = Q_1 -> % Got no more
                      output_handler_send(Params, Seq, Q_1, Size);
                  Q_1 ->
                      output_handler_send(Params, Seq, Q_1)
              end
      end.
  
  output_handler_send(Params, Seq, Q, Size) ->
      {Cleartext, Q_1} = deq_iovec(Size, Q),
      case
          encrypt_and_send_chunk(Params, Seq, [?DATA_CHUNK, Cleartext])
  
negative.code:             end;
          Chunk when is_binary(Chunk) ->
              case Seq of
                  RekeyCount ->
                      %% This was one chunk too many without rekeying
                      error;
                  _ ->
  