mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-12 09:38:08 +00:00
9 lines
172 B
Python
9 lines
172 B
Python
from typing import *
|
|
|
|
|
|
# extmod/modtrezorcrypto/modtrezorcrypto-crc.h
|
|
def crc32(data: bytes, crc: int = 0) -> int:
|
|
"""
|
|
Computes a CRC32 checksum of `data`.
|
|
"""
|