open5gs/lib/crypt
Sukchan Lee 79d46be086 Introduced Subscription identifier de-concealing
o Generate the private key as below.
   $ openssl genpkey -algorithm X25519 -out /etc/open5gs/hnet/curve25519-1.key
   $ openssl ecparam -name prime256v1 -genkey -conv_form compressed -out /etc/open5gs/hnet/secp256r1-2.key

 o The private and public keys can be viewed with the command.
   The public key is used when creating the SIM.
   $ openssl pkey -in /etc/open5gs/hnet/curve25519-1.key -text
   $ openssl ec -in /etc/open5gs/hnet/secp256r1-2.key -conv_form compressed -text

In ausf/udm.yaml

 hnet:
    o Home network public key identifier(PKI) value : 1
      Protection scheme identifier : ECIES scheme profile A
    - id: 1
      scheme: 1
      key: /etc/open5gs/hnet/curve25519-1.key

    o Home network public key identifier(PKI) value : 2
      Protection scheme identifier : ECIES scheme profile B
    - id: 2
      scheme: 2
      key: /etc/open5gs/hnet/secp256r1-2.key

    o Home network public key identifier(PKI) value : 3
      Protection scheme identifier : ECIES scheme profile A
    - id: 3
      scheme: 1
      key: /etc/open5gs/hnet/curve25519-1.key

    o Home network public key identifier(PKI) value : 4
      Protection scheme identifier : ECIES scheme profile B
    - id: 4
      scheme: 2
      key: /etc/open5gs/hnet/secp256r1-2.key

Related to #1779
2022-12-24 20:22:45 +09:00
..
curve25519-donna.c Introduced Subscription identifier de-concealing 2022-12-24 20:22:45 +09:00
ecc.c Introduced Subscription identifier de-concealing 2022-12-24 20:22:45 +09:00
ecc.h Introduced Subscription identifier de-concealing 2022-12-24 20:22:45 +09:00
kasumi.c Rename Project to Open5GS 2019-10-27 17:41:14 +09:00
kasumi.h Rename Project to Open5GS 2019-10-27 17:41:14 +09:00
meson.build Introduced Subscription identifier de-concealing 2022-12-24 20:22:45 +09:00
milenage.c Improve Milenage library for [R1-R5] (#1153) 2021-09-01 19:38:36 +09:00
milenage.h Rename Project to Open5GS 2019-10-27 17:41:14 +09:00
ogs-aes-cmac.c License update 2020-11-12 20:58:08 -05:00
ogs-aes-cmac.h License update 2020-11-12 20:58:08 -05:00
ogs-aes.c License update 2020-11-12 20:58:08 -05:00
ogs-aes.h License update 2020-11-12 20:58:08 -05:00
ogs-base64.c Introduced Subscription identifier de-concealing 2022-12-24 20:22:45 +09:00
ogs-base64.h Introduced Subscription identifier de-concealing 2022-12-24 20:22:45 +09:00
ogs-crypt.h Introduced Subscription identifier de-concealing 2022-12-24 20:22:45 +09:00
ogs-kdf.c Introduced Subscription identifier de-concealing 2022-12-24 20:22:45 +09:00
ogs-kdf.h Introduced Subscription identifier de-concealing 2022-12-24 20:22:45 +09:00
ogs-sha1-hmac.c License update 2020-11-12 20:58:08 -05:00
ogs-sha1-hmac.h License update 2020-11-12 20:58:08 -05:00
ogs-sha1.c License update 2020-11-12 20:58:08 -05:00
ogs-sha1.h License update 2020-11-12 20:58:08 -05:00
ogs-sha2-hmac.c License update 2020-11-12 20:58:08 -05:00
ogs-sha2-hmac.h License update 2020-11-12 20:58:08 -05:00
ogs-sha2.c License update 2020-11-12 20:58:08 -05:00
ogs-sha2.h License update 2020-11-12 20:58:08 -05:00
snow-3g.c Use talloc for all memory pool (#1263) 2022-01-04 08:29:18 +09:00
snow-3g.h Rename Project to Open5GS 2019-10-27 17:41:14 +09:00
zuc.c Use talloc for all memory pool (#1263) 2022-01-04 08:29:18 +09:00
zuc.h Rename Project to Open5GS 2019-10-27 17:41:14 +09:00