Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MbedTLS v3 version support #39

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

Conversation

NewUse
Copy link

@NewUse NewUse commented Dec 10, 2024

Add support for mbedtls v3.x and should be compatible with version 2.2+
Is not tested enough yet and could incompatible with current cmake scripts.

correct type
update till actual versions
update to new cmake version
Update to supported versions.
update to cirrus available VMs
update for freebsd v14
@NewUse NewUse marked this pull request as ready for review December 14, 2024 01:12
Add mbedtls v3 check on Ubuntu 24.04
Add python to build new mbedtls version
changed mbedtls version to 3.5.2
@NewUse NewUse marked this pull request as draft December 14, 2024 10:28
add verbose output on test failure
Copy link
Author

@NewUse NewUse Dec 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test are failing somewhere in pgs_decrypt function at 514 line after my attempt to port to version 3 of mbedtls library @chux0519 if you'll have same time, please look at my modifications and yours test and correct some of them, please:) My C programming knowledges are really very poor

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have fix it :) Thanks to chatgpt :)

Try to fit old tests
revert last commit
Fix AES implementation
revert previous changes and update pgs_cryptor_decrypt_gcm function
update pgs_cryptor_encrypt_gcm function for correct error handeling
update enc and dec gcm functions for version 3
revert all changes to 1st version
Fixed gcm for mbedtls v3 implementation.
Fixed mbedtls version 3 implementation.
@NewUse NewUse marked this pull request as ready for review December 15, 2024 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant