The mobility management network element 90 provided in this embodiment may perform the foregoing authentication methods. Therefore, for technical effects that can be obtained by the mobility management network element 90, refer to the foregoing method embodiments. Details are not described herein again.
Optionally, an embodiment of this application further provides an apparatus (for example, the apparatus may be a chip system). The apparatus includes a processor configured to support a mobility management network element to implement the foregoing authentication methods, for example, determining a second key based on a first key, an identifier of a non-3GPP network, a classification identifier of the non-3GPP network. In a possible design, the apparatus further includes a memory. The memory is configured to store a program instruction and data that are required by the mobility management network element. Certainly, the memory may alternatively not be in the apparatus. When the apparatus is a chip system, the apparatus may include a chip, or may include a chip and another discrete device. This is not specifically limited in the embodiment of this application.
Alternatively, for example, if function modules are obtained through division performed in an integrated manner,