anchor.diff:  			#eap_aka_challenge{res = RES, checkcode = CheckCode, mac = MAC}
   					when ((CheckCode == undefined) or (CheckCode == <<>>)) ->
   				EapMessage2 = ocs_eap_codec:aka_clear_mac(EapMessage1),
  -				case ?HMAC_SHA(Kaut, EapMessage2) of
  +				case ?HMACN_SHA(Kaut, EapMessage2) of
   					MAC ->
   						EapPacket1 = #eap_packet{code = success, identifier = EapID},
   						EapMessage3 = ocs_eap_codec:eap_packet(EapPacket1),
  
positive.code: %% 3GPP TS 23.003 19.3.5 Pseudonym
  -define(TEMP_AKAp, $7).
  
  -dialyzer({[nowarn_function, no_match],
  		[vector/2, challenge/2, challenge1/4]}).
  -ifdef(OTP_RELEASE).
  	-define(HMAC_SHA(Key, Data),
  		case ?OTP_RELEASE of
  			OtpRelease when OtpRelease >= 23 ->
  				crypto:macN(hmac, sha256, Key, Data, 16);
  
negative.code: prf(_, _, N, P, _, Acc) when P > N ->
  	iolist_to_binary(lists:reverse(Acc));
  prf(K, S, N, P, T1, Acc) ->
  	T2 = ?HMAC_SHA(K, <<T1/binary, S/binary, P>>),
  	prf(K, S, N, P + 1, T2, [T2 | Acc]).
  
  %% @hidden
  