-
Notifications
You must be signed in to change notification settings - Fork 232
Closed
Description
Migrating to 2018 edition is a long overdue and since it's a good chance to introduce breaking changes, I propose to use this issue to discuss them. Right now I have the following list of changes:
- Migrate to 2018 edition and bump MSRV to
1.361.41 (needed forgeneric-arrayv0.14) - Update
generic-arraytov0.13v0.14. - Release
crypto-mac v0.8which usessubtle v2. (see Release a 0.8.0 version? #35) - Rename
crypto_mac::Mac::inputanddigest::Digest::inputmethods toupdate. - Rename
digest::Inputtodigest::Update. - Remove
digest::Resettrait in favor of reworkedFixedResulttrait. See this comment. - Deprecate
block-cipher-traitand useblock-ciphercrate instead Rename block-cipher-trait to block-cipher on the next breaking change #28. - Introduce a new
NewBlockCiphertrait (stream-cipher: add FromBlockCipher trait (fixes #32) #164). - Add
stream_cipher::FromBlockCiphertrait. - Add
impl_write!macro tocrypto-mac. Find solution for buffer-to-buffer cipher operations Consider supporting buffer-to-buffer cipher operations #31Add(closed as wontfix, see *::new to should return Result<T, E> #47)try_newmethods- Rename
MacResulttype to something likeCode/Outputand renamecodemethod tointo_bytesfor consistency with theuniversal-hashcrate. Add macro for implementing(dup of above)io::Writetocrypto-macsimilarly to thedigestcrate.- Bump
opaque-debugto v0.2 Support variable length AEAD Nonces aead: support variable-length nonces #65(EDIT: solved by making ciphers generic over theirNonceSize)- Rename
crypto_mac::Mac::result,digest::Digest::result, anduniversal_hash::UniversalHash::resultto::finalizeor::finish
I may have forgotten some changes I had in mind. Feel free to suggest other public API changes.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels