About the encryption algorithm in free5gc

Is the elliptic curve encryption algorithm applied to SUPI in FREE5GC? Why not use other asymmetric encryption algorithms?

Yes, we applied the elliptic curve algorithm to SUPI in free5gc UDM.

Below is an example of the encryption function we use.

import (
"crypto/elliptic"
)
c := elliptic.P256().Params()

The reason why we use the elliptic curve algorithm instead of other asymmetric encryption is that ECC can reach the same level of security when using shorter key.