Home
last modified time | relevance | path

Searched refs:unpadder (Results 1 – 6 of 6) sorted by relevance

/external/python/cryptography/tests/hazmat/primitives/
Dtest_padding.py30 unpadder = padding.PKCS7(size).unpadder()
32 unpadder.update(padded)
33 unpadder.finalize()
39 unpadder = padding.PKCS7(128).unpadder()
41 unpadder.update(u"abc")
84 unpadder = padding.PKCS7(size).unpadder()
85 result = unpadder.update(padded)
86 result += unpadder.finalize()
97 unpadder = padding.PKCS7(128).unpadder()
98 unpadder.update(b)
[all …]
/external/python/cryptography/tests/hypothesis/
Dtest_padding.py18 unpadder = p.unpadder()
22 assert unpadder.update(padded) + unpadder.finalize() == data
30 unpadder = a.unpadder()
34 assert unpadder.update(padded) + unpadder.finalize() == data
/external/python/cryptography/docs/hazmat/primitives/
Dpadding.rst32 >>> unpadder = padding.PKCS7(128).unpadder()
33 >>> data = unpadder.update(padded_data)
36 >>> data + unpadder.finalize()
50 .. method:: unpadder()
75 >>> unpadder = padding.ANSIX923(128).unpadder()
76 >>> data = unpadder.update(padded_data)
79 >>> data + unpadder.finalize()
93 .. method:: unpadder()
102 When calling ``padder()`` or ``unpadder()`` the result will conform to the
/external/python/cryptography/tests/wycheproof/
Dtest_aes.py38 unpadder = padding.PKCS7(128).unpadder()
41 computed_msg = unpadder.update(padded_msg) + unpadder.finalize()
46 unpadder.update(padded_msg) + unpadder.finalize()
/external/python/cryptography/src/cryptography/
Dfernet.py129 unpadder = padding.PKCS7(algorithms.AES.block_size).unpadder()
131 unpadded = unpadder.update(plaintext_padded)
133 unpadded += unpadder.finalize()
/external/python/cryptography/src/cryptography/hazmat/primitives/
Dpadding.py103 def unpadder(self): member in PKCS7
157 def unpadder(self): member in ANSIX923