mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
ModeWithNonce no longer exists.
This commit is contained in:
parent
4c999642f8
commit
44ff8ea41b
1 changed files with 0 additions and 2 deletions
|
|
@ -76,8 +76,6 @@ class API(object):
|
|||
assert evp_cipher != self._ffi.NULL
|
||||
if isinstance(mode, interfaces.ModeWithInitializationVector):
|
||||
iv_nonce = mode.initialization_vector
|
||||
elif isinstance(mode, interfaces.ModeWithNonce):
|
||||
iv_nonce = mode.nonce
|
||||
else:
|
||||
iv_nonce = self._ffi.NULL
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue