Skip to content
Unstable

Changes

Summary

  1. smdpp: es9p testsuite (details)
  2. smdpp: add es2p test suite (details)
  3. smdpp: es9p pure asn1 support (details)
  4. smdpp: proper headers for native code (details)
Commit 0081e4fe8b6b31837f2bbe72345478e14a6ce71c by ewild
smdpp: es9p testsuite

Implemented parts conform to sgp 23 v1.13-v1.15
Certs are from https://www.gsma.com/solutions-and-impact/technologies/esim/wp-content/uploads/2021/07/SGP.26_v1.5-17-July-2025_files_v3.zip
the invalid ones are generated using smdpp/generate_all_test_certificates.py

Change-Id: I3ba163d9155a3b019214dbccc3c8031dfd7deb6b
The file was addedsmdpp/rsp_client.cpp
The file was addedsmdpp/sgp26/DPpb/PK_S_SM_DPpb_ECDSA_BRP.pem
The file was addedsmdpp/sgp26/DPpb/SK_S_SM_DP2pb_ECDSA_BRP.pem
The file was addedsmdpp/gen_links.sh
The file was addedsmdpp/sgp26/DPtls/CERT_S_SM_DP4_TLS.der
The file was addedsmdpp/sgp26/DPtls/CERT_S_SM_DP_TLS.csr.cnf
The file was addedsmdpp/logger.h
The file was addedsmdpp/sgp26/eUICC/eUICC-ext.cnf
The file was modified.checkpatch.conf
The file was addedsmdpp/sgp26/DPtls/CERT_S_SM_DP8_TLS.der
The file was addedsmdpp/sgp26/DPauth/CERT_S_SM_DP2auth_ECDSA_BRP.der
The file was addedsmdpp/sgp26/DPpb/CERT_S_SM_DPpb_ECDSA_BRP.der
The file was addedsmdpp/sgp26/DPpb/SK_S_SM_DP2pb_ECDSA_NIST.pem
The file was addedsmdpp/smdpp_Tests.ttcn
The file was addedsmdpp/sgp26/DPauth/CERT_S_SM_DP2auth_ECDSA_NIST.der
The file was addedsmdpp/sgp26/DPpb/CERT_S_SM_DP2pb_ECDSA_NIST.der
The file was addedsmdpp/sgp26/eUICC/PK_EUICC_ECDSA_NIST.pem
The file was addedsmdpp/smdpp_Tests.default
The file was addedsmdpp/sgp26/DPauth/CERT_S_SM_DPauth_ECDSA_NIST.der
The file was addedsmdpp/InvalidTestCases/CERT_EUICC_ECDSA_NIST_UNMATCHED_EID.pem
The file was addedsmdpp/package.yml
The file was addedsmdpp/InvalidTestCases/CERT_EUICC_ECDSA_NIST_INVALID_EID.der
The file was addedsmdpp/sgp26/DPtls/SK_S_SM_DP_TLS_NIST.pem
The file was addedsmdpp/sgp26/eUICC/CERT_EUICC_ECDSA_NIST.der
The file was addedsmdpp/sgp26/EUM/EUM-csr.cnf
The file was addedsmdpp/sgp26/DPpb/PK_S_SM_DP2pb_ECDSA_BRP.pem
The file was addedsmdpp/sgp26/CertificateIssuer/SK_CI_ECDSA_BRP.pem
The file was addedsmdpp/sgp26/CertificateIssuer/CERT_CI_ECDSA_BRP.der
The file was addedsmdpp/sgp26/DPpb/CERT_S_SM_DP2pb_ECDSA_BRP.der
The file was addedsmdpp/sgp26/DPpb/SK_S_SM_DPpb_ECDSA_BRP.pem
The file was addedsmdpp/bsp_crypto.h
The file was addedsmdpp/sgp26/eUICC/eUICC-csr.cnf
The file was addedsmdpp/sgp26/DPtls/SK_S_SM_DP_TLS_BRP.pem
The file was addedsmdpp/sgp26/DPauth/SK_S_SM_DP2auth_ECDSA_NIST.pem
The file was addedsmdpp/InvalidTestCases/CERT_EUM_ECDSA_NIST_INVALID.der
The file was addedsmdpp/sgp26/DPtls/PK_S_SM_DP8_TLS.pem
The file was addedsmdpp/sgp26/EUM/SK_EUM_ECDSA_NIST.pem
The file was addedsmdpp/sgp26/DPtls/PK_S_SM_DP_TLS_BRP.pem
The file was addedsmdpp/sgp26/EUM/PK_EUM_ECDSA_BRP.pem
The file was addedsmdpp/generate_all_test_certificates.py
The file was addedsmdpp/sgp26/eUICC/SK_EUICC_ECDSA_NIST.pem
The file was addedsmdpp/sgp26/DPtls/CERT_S_SM_DP2_TLS.ext.cnf
The file was addedsmdpp/sgp26/DPtls/SK_S_SM_DP2_TLS_NIST.pem
The file was addedsmdpp/InvalidTestCases/CERT_EUICC_ECDSA_NIST_EXPIRED.der
The file was addedsmdpp/InvalidTestCases/CERT_EUM_ECDSA_NIST_EXPIRED.der
The file was addedsmdpp/sgp26/DPauth/PK_S_SM_DP2auth_ECDSA_NIST.pem
The file was addedsmdpp/sgp26/DPtls/CERT_S_SM_DP4_TLS.csr.cnf
The file was addedsmdpp/sgp26/DPauth/CERT_S_SM_DPauth_ECDSA_BRP.der
The file was addedsmdpp/sgp26/DPtls/CERT_S_SM_DP_TLS_NIST.der
The file was addedsmdpp/sgp26/DPtls/PK_S_SM_DP4_TLS.pem
The file was addedsmdpp/sgp26/DPtls/CERT_S_SM_DP8_TLS.ext.cnf
The file was addedsmdpp/sgp26/DPtls/CERT_S_SM_DP2_TLS.der
The file was addedsmdpp/InvalidTestCases/CERT_EUICC_ECDSA_NIST_INVALID_EID.pem
The file was addedsmdpp/sgp26/DPtls/PK_S_SM_DP2_TLS_NIST.pem
The file was addedsmdpp/sgp26/DPauth/SK_S_SM_DPauth_ECDSA_NIST.pem
The file was addedsmdpp/sgp26/DPauth/PK_S_SM_DPauth_ECDSA_NIST.pem
The file was addedsmdpp/sgp26/DPtls/CERT_S_SM_DP2_TLS.csr.cnf
The file was addedsmdpp/sgp26/EUM/SK_EUM_ECDSA_BRP.pem
The file was addedsmdpp/sgp26/eUICC/PK_EUICC_ECDSA_BRP.pem
The file was addedsmdpp/InvalidTestCases/CERT_UNKNOWN_CI_ECDSA_NIST.der
The file was addedsmdpp/sgp26/EUM/CERT_EUM_ECDSA_BRP.der
The file was addedsmdpp/sgp26/DPauth/PK_S_SM_DP2auth_ECDSA_BRP.pem
The file was addedsmdpp/helpers.h
The file was addedsmdpp/sgp26/CertificateIssuer/CERT_CI_ECDSA_NIST.pem
The file was addedsmdpp/sgp26/DPtls/CERT_S_SM_DP_TLS.ext.cnf
The file was addedsmdpp/sgp26/DPtls/CERT_S_SM_DP_TLS_BRP.der
The file was addedsmdpp/sgp26/DPtls/PK_S_SM_DP_TLS_NIST.pem
The file was addedsmdpp/sgp26/DPauth/PK_S_SM_DPauth_ECDSA_BRP.pem
The file was addedsmdpp/InvalidTestCases/CERT_EUICC_ECDSA_NIST_UNMATCHED_EID.der
The file was addedsmdpp/sgp26/DPtls/SK_S_SM_DP8_TLS.pem
The file was addedsmdpp/smdpp_Tests.cfg
The file was addedsmdpp/smdpp_Tests_Functions.cc
The file was addedsmdpp/sgp26/DPauth/SK_S_SM_DPauth_ECDSA_BRP.pem
The file was addedsmdpp/sgp26/EUM/EUM-ext.cnf
The file was addedsmdpp/sgp26/CertificateIssuer/SK_CI_ECDSA_NIST.pem
The file was addedsmdpp/sgp26/DPpb/PK_S_SM_DPpb_ECDSA_NIST.pem
The file was addedsmdpp/sgp26/DPpb/SK_S_SM_DPpb_ECDSA_NIST.pem
The file was addedsmdpp/sgp26/CertificateIssuer/CERT_CI_ECDSA_NIST.der
The file was addedsmdpp/sgp26/CertificateIssuer/CERT_CI_ECDSA_BRP.pem
The file was addedsmdpp/.clang-format
The file was addedsmdpp/InvalidTestCases/CERT_EUM_ECDSA_NIST_UNKNOWN_CI.der
The file was addedsmdpp/sgp26/EUM/PK_EUM_ECDSA_NIST.pem
The file was addedsmdpp/sgp26/DPpb/PK_S_SM_DP2pb_ECDSA_NIST.pem
The file was addedsmdpp/sgp26/DPtls/SK_S_SM_DP4_TLS.pem
The file was addedsmdpp/sgp26/eUICC/SK_EUICC_ECDSA_BRP.pem
The file was addedsmdpp/InvalidTestCases/CERT_EUICC_ECDSA_NIST_INVALID.der
The file was addedsmdpp/sgp26/EUM/CERT_EUM_ECDSA_NIST.der
The file was addedsmdpp/sgp26/DPauth/SK_S_SM_DP2auth_ECDSA_BRP.pem
The file was addedsmdpp/sgp26/DPtls/CERT_S_SM_DP4_TLS.ext.cnf
The file was addedsmdpp/sgp26/CertificateIssuer/CI-csr.cnf
The file was addedsmdpp/sgp26/eUICC/CERT_EUICC_ECDSA_BRP.der
The file was addedsmdpp/bsp_crypto.cpp
The file was modifiedMakefile
The file was addedsmdpp/sgp26/DPtls/CERT_S_SM_DP8_TLS.csr.cnf
The file was addedsmdpp/regen_makefile.sh
The file was addedsmdpp/sgp26/DPpb/CERT_S_SM_DPpb_ECDSA_NIST.der
Commit 23b1dec1f947321b8579002d5a9b9658e8b6722b by ewild
smdpp: add es2p test suite

Integrated with es9p

Change-Id: I2865e016974d7d7a03e00a7795a42f573b147a4b
The file was modifiedsmdpp/smdpp_Tests_Functions.cc
The file was addedsmdpp/ES2Plus_Tests.cfg
The file was modifiedsmdpp/rsp_client.cpp
The file was addedsmdpp/ES2Plus_Tests.ttcn
The file was addedsmdpp/test_certs/CERT_MNO_ECDSA_NIST.pem
The file was modifiedsmdpp/smdpp_Tests.ttcn
The file was addedsmdpp/test_certs/SK_MNO_ECDSA_NIST.pem
Commit f2d980b5bc004567e2aa4c8e9e1ebc19b893f1d8 by ewild
smdpp: es9p pure asn1 support

Can be used instead of the json layer.

Change-Id: I1d824931bd6513d2320ba30df0f8193cd8352863
The file was modifiedsmdpp/smdpp_Tests.ttcn
The file was modifiedsmdpp/rsp_client.cpp
The file was modifiedsmdpp/smdpp_Tests_Functions.cc
Commit da74dd53ee8cf91e6205bb300afbdb9bea92a4a5 by ewild
smdpp: proper headers for native code

Change-Id: I9dcb3249fc712e2ddb2c7cf48d4fc54425848bc6
The file was modifiedsmdpp/logger.h
The file was removedsmdpp/bsp_crypto.cpp
The file was modifiedsmdpp/regen_makefile.sh
The file was removedsmdpp/rsp_client.cpp
The file was addedsmdpp/bsp_crypto.cc
The file was addedsmdpp/rsp_client.cc
The file was addedsmdpp/http_client.h
The file was modifiedsmdpp/helpers.h
The file was addedsmdpp/rsp_client.h
The file was modifiedsmdpp/smdpp_Tests_Functions.cc