Skip to content

Commit 6d76421

Browse files
committed
code format
1 parent 4149661 commit 6d76421

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_atecc/adafruit_atecc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ def sha_digest(self, message: bytearray = None) -> bytearray:
455455
assert len(digest) == 32, "SHA response length does not match expected length."
456456
self.idle()
457457
return digest
458-
458+
459459
def ecdh(self, slot_num: int, public_key: bytearray, mode: int = 0x0C) -> bytearray:
460460
"""
461461
Performs ECDH key agreement operation.
@@ -470,7 +470,7 @@ def ecdh(self, slot_num: int, public_key: bytearray, mode: int = 0x0C) -> bytear
470470
self.wakeup()
471471
# Send ECDH command (opcode 0x43)
472472
self._send_command(OP_ECDH, mode, slot_num, public_key)
473-
time.sleep(EXEC_TIME[OP_ECDH] / 1000)
473+
time.sleep(EXEC_TIME[OP_ECDH] / 1000)
474474

475475
response = bytearray(32) # shared secret
476476
self._get_response(response)

0 commit comments

Comments
 (0)