Module ocs_eap_aka

This library module implements functions for EAP authentication using 3GPP Authentication and Key Agreement (AKA) in the ocs application.

Copyright © 2019 - 2026 SigScale Global Inc.

References

Description

This library module implements functions for EAP authentication using 3GPP Authentication and Key Agreement (AKA) in the ocs application.

Function Index

prf/1Pseudo-Random number Function (PRF).
g/1*Calculate message digest.
compressed_imsi/1Compress or decompress an IMSI.
encrypt_imsi/3Create an encrypted temporary identity.
decrypt_imsi/2Decrypt a temporary identity.
encrypt_key/4Encrypt the Pairwise Master Key (PMK) according to RFC2548 section 2.4.2 for use as String in a MS-MPPE-Recv-Key or MS-MPPE-Send-Key attribute.

Function Details

prf/1

prf(MK) -> Result

Pseudo-Random number Function (PRF).

Generates a digest indistinguisable from random as described in RFC4187 section 7.

g/1 *

g(XKEY) -> Digest

Calculate message digest.

A modified SHA-1 as described in RFC4187 section 7.

compressed_imsi/1

compressed_imsi(IMSI) -> IMSI

Compress or decompress an IMSI.

See 3GPP 33.402 14.1 Temporary identity generation.

encrypt_imsi/3

encrypt_imsi(Tag, CompressedIMSI, Key) -> Pseudonym

Create an encrypted temporary identity.

See 3GPP 33.402 14.1 Temporary identity generation.

decrypt_imsi/2

decrypt_imsi(Pseudonym, Keys) -> CompressedIMSI

Decrypt a temporary identity.

See 3GPP 33.402 14.1 Temporary identity generation.

encrypt_key/4

encrypt_key(Secret, RequestAuthenticator, Salt, Key) -> Ciphertext

Encrypt the Pairwise Master Key (PMK) according to RFC2548 section 2.4.2 for use as String in a MS-MPPE-Recv-Key or MS-MPPE-Send-Key attribute.


Generated by EDoc