Everest submodule proof-of-concept #406

Open
gilles-peskine-arm wants to merge 5 commits from gilles-peskine-arm/everest-submodule-crypto into development
gilles-peskine-arm commented 2025-08-04 08:16:01 -05:00 (Migrated from github.com)

Move drivers/everest to a submodule and allow it to be missing.

Without everest, the project can be distributed under either the Apache 2.0 license or the GNU GPL 2.0-or-later license. With everest, only Apache is allowed. Addresses https://github.com/Mbed-TLS/TF-PSA-Crypto/issues/405.

Status: proof of concept, for CI and design review.

PR checklist

Please remove the segment/s on either side of the | symbol as appropriate, and add any relevant link/s to the end of the line.
If the provided content is part of the present PR remove the # symbol.

Move `drivers/everest` to a submodule and allow it to be missing. Without everest, the project can be distributed under either the Apache 2.0 license or the GNU GPL 2.0-or-later license. With everest, only Apache is allowed. Addresses https://github.com/Mbed-TLS/TF-PSA-Crypto/issues/405. Status: proof of concept, for CI and design review. ## PR checklist Please remove the segment/s on either side of the | symbol as appropriate, and add any relevant link/s to the end of the line. If the provided content is part of the present PR remove the # symbol. - [ ] **changelog** TODO - [x] **framework PR** not required - [x] **mbedtls development PR** https://github.com/Mbed-TLS/mbedtls/pull/10343 - [x] **mbedtls 3.6 PR** not required because: new feature - **tests** provided
This pull request has changes conflicting with the target branch.
  • .gitmodules
  • core/CMakeLists.txt
  • drivers/CMakeLists.txt
  • drivers/everest/CMakeLists.txt
  • drivers/everest/Makefile.inc
  • drivers/everest/include/tf-psa-crypto/private/everest/Hacl_Curve25519.h
  • drivers/everest/include/tf-psa-crypto/private/everest/kremlib.h
  • drivers/everest/include/tf-psa-crypto/private/everest/x25519.h
  • drivers/everest/library/x25519.c
  • drivers/everest~refs_heads_gilles-peskine-arm_everest-submodule-crypto
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'gilles-peskine-arm/everest-submodule-crypto:gilles-peskine-arm/everest-submodule-crypto'
git switch 'gilles-peskine-arm/everest-submodule-crypto'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'development'
git merge --no-ff 'gilles-peskine-arm/everest-submodule-crypto'
git switch 'gilles-peskine-arm/everest-submodule-crypto'
git rebase 'development'
git switch 'development'
git merge --ff-only 'gilles-peskine-arm/everest-submodule-crypto'
git switch 'gilles-peskine-arm/everest-submodule-crypto'
git rebase 'development'
git switch 'development'
git merge --no-ff 'gilles-peskine-arm/everest-submodule-crypto'
git switch 'development'
git merge --squash 'gilles-peskine-arm/everest-submodule-crypto'
git switch 'development'
git merge --ff-only 'gilles-peskine-arm/everest-submodule-crypto'
git switch 'development'
git merge 'gilles-peskine-arm/everest-submodule-crypto'
git push origin 'development'
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-Mbed-TLS/TF-PSA-Crypto!406
No description provided.