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

[Encryption]: add support for aes-256-ctr #2726

Merged
merged 21 commits into from
Nov 21, 2022
Merged

[Encryption]: add support for aes-256-ctr #2726

merged 21 commits into from
Nov 21, 2022

Conversation

Milerius
Copy link
Collaborator

@Milerius Milerius commented Nov 14, 2022

Description

fix #2701

  • Modify C++ Code
  • C++ unit tests update
  • Swift/Android/Wasm update

How to test

Run C++ unit tests
Run wasm tests
Run kotlin tests
Run swift tests

@Milerius Milerius changed the title [WIP/Encryption]: add support for aes-256-ctr [Encryption]: add support for aes-256-ctr Nov 15, 2022
@Milerius Milerius marked this pull request as ready for review November 15, 2022 08:16
src/Keystore/AESParameters.cpp Outdated Show resolved Hide resolved
src/Keystore/EncryptionParameters.h Outdated Show resolved Hide resolved
src/Keystore/EncryptionParameters.h Show resolved Hide resolved
@miloserdow
Copy link
Contributor

Let's add AES-CBC tests as well

@Milerius
Copy link
Collaborator Author

Let's add AES-CBC tests as well

That's not the goal of this pull request. Only adding aes 256 ctr is the purpose for this pr

optout21
optout21 previously approved these changes Nov 18, 2022
include/TrustWalletCore/TWStoredKey.h Show resolved Hide resolved
src/Keystore/AESParameters.cpp Outdated Show resolved Hide resolved
src/Keystore/AESParameters.cpp Outdated Show resolved Hide resolved
src/Keystore/AESParameters.h Outdated Show resolved Hide resolved
src/Keystore/AESParameters.h Outdated Show resolved Hide resolved
src/Keystore/AESParameters.h Outdated Show resolved Hide resolved
@Milerius Milerius merged commit 69b2da9 into master Nov 21, 2022
@Milerius Milerius deleted the m/aes_256_ctr branch November 21, 2022 05:58
DeanDonkov pushed a commit to changex-app/wallet-core that referenced this pull request Apr 7, 2023
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.

[Keystore] Allow keystore to select different encryption algorithms
4 participants