1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-27 17:08:14 +00:00

core/crypto: add missing field to Blake2b constructor

This commit is contained in:
Pavol Rusnak 2020-04-06 12:28:36 +00:00
parent f756bec0fe
commit f07ff17fad
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,7 @@ STATIC mp_obj_t mod_trezorcrypto_Blake2b_update(mp_obj_t self, mp_obj_t data);
/// self, /// self,
/// data: bytes = None, /// data: bytes = None,
/// outlen: int = blake2b.digest_size, /// outlen: int = blake2b.digest_size,
/// key: bytes = None,
/// personal: bytes = None, /// personal: bytes = None,
/// ) -> None: /// ) -> None:
/// """ /// """

View File

@ -64,6 +64,7 @@ class blake2b:
self, self,
data: bytes = None, data: bytes = None,
outlen: int = blake2b.digest_size, outlen: int = blake2b.digest_size,
key: bytes = None,
personal: bytes = None, personal: bytes = None,
) -> None: ) -> None:
""" """