-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Annotations for `nacl.bindings.crypto_secretstream` Mypy couldn't see that `state.tagbuf is not None` in `crypto_secretstream_xchacha20poly1305_pull`, so I used a cast. I _think_ it's correct to treat this as an `Optional[bytes]`, because the docstrings mark many cffi `unsigned char[]` types as `bytes`. I'd appreciate a sanity check though! * Annotations for `nacl.bindings.crypto_shorthash` * Annotations for `nacl.bindings.crypto_sign` * Annotations for `nacl.bindings.randombytes` * Annotations for `nacl.bindings.sodium_core` * Annotations for `nacl.bindings.utils` * The `bindings` module is done
- Loading branch information
1 parent
5629937
commit 910e1bb
Showing
7 changed files
with
80 additions
and
66 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
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
Oops, something went wrong.