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

CFB8 BufEncryptor/Decryptor? #1270

Closed
valaphee opened this issue Mar 4, 2023 · 1 comment
Closed

CFB8 BufEncryptor/Decryptor? #1270

valaphee opened this issue Mar 4, 2023 · 1 comment

Comments

@valaphee
Copy link

valaphee commented Mar 4, 2023

While trying to work with cfb8 in tokio codecs, I have the issue that I can't use the Decryptor/Encryptor decrypt, encrypt methods, as they require ownership, which after knowing that for generalization there are also BufEncryptor/Decryptor, for example like in cfb-mode is understandable.

But there seems to be no BufEncryptor/Decryptor for cfb8. Which theoretically would also work with modifying the AsyncStreamCipher, and use mut borrowing (which I had done here #1261)

The correct solution would be to implement BufEncryptor/Decryptor for the CFB8?

And the cfb8-mode crate doesn't belong to RustCrypto? (is version 0.0.0)

@valaphee valaphee closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2023
@newpavlov
Copy link
Member

See RustCrypto/block-modes#31

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

No branches or pull requests

2 participants