来自3GPP国际规范 sim卡鉴权
3GPP 鉴权的逻辑代码。 包括f1, f1*, f2, f3, f4, f5 和 f5*函数。
Algorithm f1
* Computes network authentication code MAC-A from key K, random
* challenge RAND, sequence number SQN and authentication management
* field AMF.
Algorithms f2-f5
* Takes key K and random challenge RAND, and returns response RES,
* confidentiality key CK, integrity key IK and anonymity key AK.
Algorithm f1*
* Computes resynch authentication code MAC-S from key K, random
* challenge RAND, sequence number SQN and authentication management
* field AMF.
Algorithm f5*
* Takes key K and random challenge RAND, and returns resynch
* anonymity key AK.
1