anchor.diff:          ]).
   
   %% New interface
  --export([crypto_init/4, crypto_init/3, crypto_init/2, 
  -         crypto_update/2, crypto_update/3,
  -         crypto_one_shot/5
  +-export([crypto_init/4, crypto_init/3,
  +         crypto_update/2,
  +         crypto_one_shot/5,
  +         crypto_init_dyn_iv/3,
  +         crypto_update_dyn_iv/3
           ]).
   
   
  
positive.code:         Data ->
              ng_crypto_update_nif(State, Data, iolist_to_binary(IV))
      end.
  
  
  %%%----------------------------------------------------------------
  %%%
  
negative.code:     end.
  
  
  %%%----------------------------------------------------------------
  -spec crypto_update_dyn_iv(State, Data, IV) -> Result | ng_crypto_error()
                                                     when State :: crypto_state(),
                                                          Data :: iodata(),
                                                          IV :: iodata(),
                                                          Result :: binary() .
  crypto_update_dyn_iv(State, Data0, IV) ->
      %% When State is from State = crypto_init(Cipher, Key, undefined, EncryptFlag)
      case iolist_to_binary(Data0) of
          <<>> ->
  