Skip to content

Some samples that provide 5G networks solution developers and integrators with a SUCI deconcealment function implemented in a Luna HSM using PQC.

License

Notifications You must be signed in to change notification settings

ThalesGroup/luna-pqc-suci-deconcealment-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Luna PQC SUCI Deconcealment Samples

This project provides sample code to perform 5G suci-deconcealment with pqc profile

Introduction

Luna PQC SUCI Deconcealment Samples provide sample codes for 5G crypto w/ ML-KEM-768 (SUCI-deconcealment) using cryptographic keys (X25519 and ML-KEM-768) on Luna Network HSMs with PQCFM.

These operations require to create partitions, register clients, initialize user roles, etc. These tasks can be performed using:

Minimum System Requirements

  • Operating System:
    • Linux RHEL 9 or similar
  • Thales software:
    • Client 10.7.1.
    • Appliance 7.7.1 or later.
    • Firmware 7.7.1 or later.
    • PQC FM 3.1.

Minimum Build Requirements

  • Development tools:

    • Linux:
      • gcc 11.3.1
      • cmake3 3.20.2.
      • common UNIX commands.
  • Pre-requisite software:

Build

This project uses cmake. Following variables can be used to configure the build. Uses find_package() for requred packages

  1. Build configuration
  • pqcfm_INCLUDES: (Required) /path/to/pqcfm-toolkit/include
  • OPENSSL_ROOT_DIR: (Optional) /path/to/openssl-prefix/
  • liboqs_INCLUDES: (Optional) /path/to/liboqs/includes/
  • liboqs_LIBRARY_STATIC: (Optional) /path/to/liboqs/lib64/liboqs.a
  1. Configure with cmake mkdir build && cd build cmake .. -Dpqcfm_INCLUDES=/root/630-000496-004_SW_LUNA_PQCFM_TOOLKIT_V3.1_CUSTOM_RELEASE/include -DCMAKE_BUILD_TYPE=Release -DOPENSSL_ROOT_DIR=/opt/openssl-3.4.1 -Dliboqs_INCLUDES=/opt/liboqs/include -Dliboqs_LIBRARY_STATIC=/opt/liboqs/lib64/liboqs.a

  2. make

Test

./sim_encrypt: To simulate encryption (suci-concealment) on 5G SIM ./hsm_decrypt: Decrypt ciphertext (suci-deconcealment) using Luna HSM /w PQC FM (Keys in HW) ./sw_decrypt: Decrypt ciphertext (suci-deconcealment) using OpenSSL (OpenSSL SW keys)

Contributing

If you are interested in contributing to this project, please read the Contributing guide.

License

This software is provided under a permissive license.

About

Some samples that provide 5G networks solution developers and integrators with a SUCI deconcealment function implemented in a Luna HSM using PQC.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •