summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2023-08-02 23:13:13 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-08-03 10:59:53 +0200
commite1d2809a4be25a710bf2b1d336221301477a2b64 (patch)
tree60e5924d77da36751eabc6992b2df2ebc179b7b9
parentinitial encrypted protocol support (diff)
downloadfreestyle-hid-e1d2809a4be25a710bf2b1d336221301477a2b64.tar
freestyle-hid-e1d2809a4be25a710bf2b1d336221301477a2b64.tar.gz
freestyle-hid-e1d2809a4be25a710bf2b1d336221301477a2b64.tar.bz2
freestyle-hid-e1d2809a4be25a710bf2b1d336221301477a2b64.tar.lz
freestyle-hid-e1d2809a4be25a710bf2b1d336221301477a2b64.tar.xz
freestyle-hid-e1d2809a4be25a710bf2b1d336221301477a2b64.tar.zst
freestyle-hid-e1d2809a4be25a710bf2b1d336221301477a2b64.zip
-rw-r--r--AUTHORS1
-rw-r--r--freestyle_hid/_freestyle_encryption.py6
2 files changed, 6 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index a537672..e53f694 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -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)