Copyright © 2008 Motivity Telecom Inc., 2018 - 2026 SigScale Global Inc.
References
This module implements the MILENAGE algorithm set.
Within the security architecture of the 3GPP system there are eight security functions; f0, f1, f1*, f2, f3, f4, f5 and f5* used for authentication and key generation. The operation of these functions is to be specified by each operator and as such is not fully standardised. The algorithms implemented here follow the examples produced on request from 3GPP by ETSI SAGE Task Force and are based on the block cipher Rinjindael now known as Advanced Encryption Standard (AES).ak() = binary()
amf() = binary()
ck() = binary()
ik() = binary()
k() = binary()
mac() = binary()
op() = binary()
opc() = binary()
rand() = binary()
res() = binary()
sqn() = binary()
| f0/0 | Random challenge generating function. |
| f1/5 | Network authentication function. |
| 'f1*'/5 | Re-synchronisation message authentication function. |
| f2/3 | User authentication function. |
| f3/3 | Cipher key derivation function. |
| f4/3 | Integrity key derivation function. |
| f5/3 | Anonymity key derivation function. |
| 'f5*'/3 | Anonymity key derivation function for re-synchronisation. |
| f2345/3 | Computes response and keys. |
| opc/2 | Encode the Operator Variant Algorithm Configuration Field (OP). |
Random challenge generating function.
Generate a strongly random 128-bit value.f1(OPc, K, RAND, SQN, AMF) -> MAC_A
Network authentication function.
Takes as input the derived OPc, subscriber key K, random challenge RAND, sequence number SQN and authentication management field AMF. Returns the network authentication code MAC-A.'f1*'(OPc, K, RAND, SQN, AMF) -> MAC_S
Re-synchronisation message authentication function.
Takes as input the derived OPc, subscriber key K, random challenge RAND, sequence number SQN and authentication management field AMF. Returns the resynch authentication code MAC-S.User authentication function.
Cipher key derivation function.
Integrity key derivation function.
Anonymity key derivation function.
Anonymity key derivation function for re-synchronisation.
f2345(OPc, K, RAND) -> {RES, CK, IK, AK}
Computes response and keys.
Takes as input the derived OPc, subscriber key K and random challenge RAND. Returns response RES, confidentiality key CK, integrity key IK and anonymity key AK.Encode the Operator Variant Algorithm Configuration Field (OP).
Each operator chooses a value of OP to provide separation between the functionality of the algorithms when used by different operators. The value OPc is used as input for the security functions and is derived from OP and the subscriber key (K).Generated by EDoc