anchor.diff:      {ok, Ssh#ssh{decrypt_keys = K,
   		 decrypt_block_size = 16,
                    decrypt_ctx = State}};
  +decrypt_init(#ssh{decrypt = 'aes192-ctr', role = client} = Ssh) ->
  +	IV = hash(Ssh, "B", 128),
  +    <<K:24/binary>> = hash(Ssh, "D", 192),
  +    State = crypto:stream_init(aes_ctr, K, IV),
  +    {ok, Ssh#ssh{decrypt_keys = K,
  +		 decrypt_block_size = 16,
  +                 decrypt_ctx = State}};
  +decrypt_init(#ssh{decrypt = 'aes256-ctr', role = client} = Ssh) ->
  +	IV = hash(Ssh, "B", 128),
  +    <<K:32/binary>> = hash(Ssh, "D", 256),
  +    State = crypto:stream_init(aes_ctr, K, IV),
  +    {ok, Ssh#ssh{decrypt_keys = K,
  +		 decrypt_block_size = 16,
  +                 decrypt_ctx = State}};
   decrypt_init(#ssh{decrypt = 'aes128-ctr', role = server} = Ssh) ->
   	IV = hash(Ssh, "A", 128),
       <<K:16/binary>> = hash(Ssh, "C", 128),
  +    State = crypto:stream_init(aes_ctr, K, IV),
  +    {ok, Ssh#ssh{decrypt_keys = K,
  +		 decrypt_block_size = 16,
  +                 decrypt_ctx = State}};
  +decrypt_init(#ssh{decrypt = 'aes192-ctr', role = server} = Ssh) ->
  +	IV = hash(Ssh, "A", 128),
  +    <<K:24/binary>> = hash(Ssh, "C", 192),
  +    State = crypto:stream_init(aes_ctr, K, IV),
  +    {ok, Ssh#ssh{decrypt_keys = K,
  +		 decrypt_block_size = 16,
  +                 decrypt_ctx = State}};
  +decrypt_init(#ssh{decrypt = 'aes256-ctr', role = server} = Ssh) ->
  +	IV = hash(Ssh, "A", 128),
  +    <<K:32/binary>> = hash(Ssh, "C", 256),
       State = crypto:stream_init(aes_ctr, K, IV),
       {ok, Ssh#ssh{decrypt_keys = K,
   		 decrypt_block_size = 16,
  
positive.code: decrypt(#ssh{decrypt = 'aes128-ctr',
              decrypt_ctx = State0} = Ssh, Data) ->
      {State, Enc} = crypto:stream_decrypt(State0,Data),
      {Ssh#ssh{decrypt_ctx = State}, Enc}.
  
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
negative.code: supported_algorithms(mac) ->
      same(
        select_crypto_supported(
  	[{'hmac-sha2-256', [{hashs,sha256}]},
  	 {'hmac-sha2-512', [{hashs,sha512}]},
  	 {'hmac-sha1',     [{hashs,sha}]}
  	]
         ));
  