setverdict(fail,"*** "&__SCOPE__&": FAIL: Failed to compute RES/XRES");
return;
}
}
setverdict(pass,"Received AUTHENTICATION_REQUEST NAS message");
}// End of function f_await_authentication_request
// Send invalid response for AUTHENTICATION_RESPONSE
vc_ng_nas_security_params_type.AuthParams.XRES:=vc_ng_nas_security_params_type.AuthParams.XRESxor4bvc_ng_nas_security_params_type.AuthParams.XRES;// Invalidate the authentication response value by flipping all bits with the value of the 7th byte of XRES