Add defaults to GCM.__init__ arguments (#6207)

This commit is contained in:
Huw Jones
2021-10-28 11:57:40 +01:00
committed by GitHub
parent 9f691d9c6e
commit ce7484f70b
2 changed files with 1 additions and 2 deletions

View File

@@ -12,7 +12,6 @@ cryptography.hazmat.primitives.asymmetric.dsa.AsymmetricVerificationContext
cryptography.hazmat.primitives.asymmetric.ec.AsymmetricVerificationContext
cryptography.hazmat.primitives.asymmetric.rsa.AsymmetricVerificationContext
cryptography.hazmat.primitives.ciphers.aead.AESCCM.__init__
cryptography.hazmat.primitives.ciphers.modes.GCM.__init__
cryptography.hazmat.primitives.cmac.CMAC.__init__
cryptography.hazmat.primitives.hashes.BLAKE2b.__init__
cryptography.hazmat.primitives.hashes.BLAKE2s.__init__

View File

@@ -67,7 +67,7 @@ class ECB(Mode):
def validate_for_algorithm(self, algorithm: CipherAlgorithm) -> None: ...
class GCM(Mode, ModeWithInitializationVector, ModeWithAuthenticationTag):
def __init__(self, initialization_vector: bytes, tag: bytes | None, min_tag_length: int | None) -> None: ...
def __init__(self, initialization_vector: bytes, tag: bytes | None = ..., min_tag_length: int | None = ...) -> None: ...
@property
def initialization_vector(self) -> bytes: ...
@property