diff options
Diffstat (limited to '')
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | freestyle_hid/_freestyle_encryption.py | 6 |
2 files changed, 6 insertions, 1 deletions
@@ -18,6 +18,7 @@ Dorian Scholz Jim Sifferle L. Guruprasad Leonard Lausen +MPM1107 Mathieu Grivois Muhammad Kaisar Arkhan Naokazu Terada diff --git a/freestyle_hid/_freestyle_encryption.py b/freestyle_hid/_freestyle_encryption.py index eb04303..0461cb8 100644 --- a/freestyle_hid/_freestyle_encryption.py +++ b/freestyle_hid/_freestyle_encryption.py @@ -1,5 +1,9 @@ -class SpeckEncrypt(): +# SPDX-FileCopyrightText: 2023 The freestyle-hid Authors +# +# SPDX-License-Identifier: Apache-2.0 + +class SpeckEncrypt: def __init__(self, key): # Perform key expansion and store the round keys self.key = key & ((2 ** 128) - 1) |