mirror of
https://github.com/openkmip/pykmip
synced 2025-12-24 04:04:20 +00:00
pep8 fixes
This commit is contained in:
@@ -269,7 +269,8 @@ class CryptographyEngine(api.CryptographicEngine):
|
||||
)
|
||||
cipher_algorithm = self._symmetric_key_algorithms.get(algorithm)
|
||||
try:
|
||||
# ARC4 and other non-block cipher algorithms will raise TypeError exceptions
|
||||
# ARC4 and other non-block cipher algorithms will
|
||||
# raise TypeError exceptions
|
||||
c = cmac.CMAC(cipher_algorithm(key), backend=default_backend())
|
||||
c.update(data)
|
||||
mac_data = c.finalize()
|
||||
|
||||
Reference in New Issue
Block a user