In the method for establishing a session key, a network and a mobile
transfer codes between one another. The mobile and the network perform
mutual authentication based on the codes. Besides performing this mutual
authentication, the mobile and the network to establish the session key
based on the codes. In one embodiment, the messages forming part of the
intended session are sent with the codes, and form a basis upon which the
codes for authentication have been derived.