-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove unused circular dependency and also rewrite IV handl…
…ing to not require lazy_static * Remove unused circular dependency * Change IV to a const array and remove lazy_static dependency The old code was taking a copy of IV. Instead, we can just use `GenericArray::from` to convert the `u8` array into a `GenericArray`. This approach has the same cost without the need for `lazy_static`.
- Loading branch information
1 parent
721b287
commit 30aea2e
Showing
3 changed files
with
3 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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 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 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