-
-
Notifications
You must be signed in to change notification settings - Fork 952
Add support for AEAD AES 128/256 GCM Ciphers (.NET 6.0 onward only) #1369
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
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
8b5c819
Init AeadCipher
scott-xu 4d160ca
Move AeadCipher to parent folder. Move EncryptBlock/DecryptBlock from…
scott-xu 7546a5a
simplify parameter name
scott-xu 270fb96
Implement AesGcmCipher
scott-xu 7a6b334
Merge branch 'develop' into aes-gcm-and-chacha20-poly1305
scott-xu 1059b68
Update README
scott-xu fe26b65
Remove protected IV from AeadCipher; Set offset to outbound sequence …
scott-xu 1b92a6a
Rename associatedData to packetLengthField
scott-xu 7377cbe
Use Span<byte> to avoid unnecessary allocations
scott-xu cdbe822
Use `Span` to improve performance when `IncrementCounter()`
scott-xu 65ad16a
Add `IsAead` property to `CipherInfo`. Include packet length field an…
scott-xu 3336d3d
Fix build
scott-xu 37a16bf
Fix UT
scott-xu 7debca4
Merge branch 'develop' into aesgcm
scott-xu e727959
Check `AesGcm.IsSupported` before add to the `Encryptions` collection.
scott-xu b0ccb0c
Merge branch 'aesgcm' of https://github.com/scott-xu/SSH.NET into aesgcm
scott-xu 6bdbfc0
Merge branch 'develop' into aesgcm
scott-xu e8ed4a2
Suppress CA1859 "Use concrete types when possible for improved perfor…
scott-xu 4228014
Merge branch 'develop' into aesgcm
scott-xu 7a24090
Merge branch 'develop' into aesgcm
scott-xu c532157
Update xml doc comments. Do not treat AesGcmCipher separately in Sess…
scott-xu a831f3d
Merge branch 'aesgcm' of https://github.com/scott-xu/SSH.NET into aesgcm
scott-xu 299a3f6
Fix build
scott-xu ebeb582
Fix build
scott-xu 46f9a6d
Update the comment as ChaCha20Poly1305 uses a separated key to encypt…
scott-xu 8aaabc4
Update src/Renci.SshNet/Security/Cryptography/Cipher.cs
scott-xu 0922306
Make `AesGcmCipher` internal.
scott-xu 71d5635
Merge branch 'aesgcm' of https://github.com/scott-xu/SSH.NET into aesgcm
scott-xu fb7884b
Fix nullable error in build
Rob-Hague 12b7c38
Merge branch 'fixbuild' into aesgcm
Rob-Hague ec34f71
typos
Rob-Hague File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.