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

Dev #27

Merged
merged 12 commits into from
Jan 21, 2024
Merged

Dev #27

merged 12 commits into from
Jan 21, 2024

Conversation

nd1012
Copy link
Owner

@nd1012 nd1012 commented Jan 21, 2024

No description provided.

* Build target is .NET 8 now
* SHA3 hash/MAC algorithms are now not the default anymore and being used as .NET replacements only
+ Added Shake128/256 hash algorithms as .NET replacements
- Fixed all SHA3 algorithms are considered to be post-quantum-safe
* Separated base classes for asymmetric algorithms in PQC and non-PQC implementations (which have different serialization helpers)
+ Added Ed25519 and Ed448 asymmetric signature algorithms
+ Added `BouncyCastleAsymmetricNonPqcPrivate/PublicSignatureKeyBase2` to support a signer which requires a context constructor parameter
* Asymmetric key data is PKCS#8 now
* Using AES-256-GCM AEAD (128 bit MAC) as default crypto algorithm for PAKE now
* Default key exchange algorithm is NTRU now
+ Added ECDH algorithm as replacement for the .NET variant from wan24-Crypto
+ Added ECDSA algorithm as replacement for the .NET variant from wan24-Crypto
+ Added `BcEllipticCurves` ECDH and ECDSA elliptic curve helper
+ Added X25519 and X448 asymmetric key exchange algorithms
+ Added own serialization logic for FrodoKEM and NTRU and enabled the algorithms to be available per default
+ Added `CryptoEnvironment.(UpdateDefaultOptionsAfter)RemoveUnsupportedAlgorithms`
- Fixed wrong asymmetric PQC key data serialization
- Fixed PQC key exchange derive key from encapsulated secret methods had to clone the provided information (they'll be cleared from Bouncy Castle)
@nd1012 nd1012 added bug Something isn't working enhancement New feature or request labels Jan 21, 2024
@nd1012 nd1012 self-assigned this Jan 21, 2024
@nd1012 nd1012 merged commit 5892422 into main Jan 21, 2024
1 check passed
@nd1012 nd1012 deleted the dev branch January 21, 2024 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant