Skip to content

aes: add initial AES module #2823

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 31 additions & 2 deletions locale/ID.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-04 19:52-0400\n"
"POT-Creation-Date: 2020-05-06 17:47+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -434,6 +434,10 @@ msgstr "buffers harus mempunyai panjang yang sama"
msgid "Bytes must be between 0 and 255."
msgstr ""

#: shared-bindings/aesio/aes.c
msgid "CBC blocks must be multiples of 16 bytes"
msgstr ""

#: py/objtype.c
msgid "Call super().__init__() before accessing native object."
msgstr ""
Expand Down Expand Up @@ -671,6 +675,10 @@ msgstr ""
msgid "Drive mode not used when direction is input."
msgstr ""

#: shared-bindings/aesio/aes.c
msgid "ECB only operates on 16 bytes at a time"
msgstr ""

#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/ps2io/Ps2.c
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
Expand All @@ -682,7 +690,7 @@ msgstr "Channel EXTINT sedang digunakan"
msgid "Error in regex"
msgstr "Error pada regex"

#: shared-bindings/microcontroller/Pin.c
#: shared-bindings/aesio/aes.c shared-bindings/microcontroller/Pin.c
#: shared-bindings/neopixel_write/__init__.c shared-bindings/pulseio/PulseOut.c
#: shared-bindings/terminalio/Terminal.c
msgid "Expected a %q"
Expand Down Expand Up @@ -809,6 +817,11 @@ msgstr ""
msgid "I2C operation not supported"
msgstr "operasi I2C tidak didukung"

#: shared-bindings/aesio/aes.c
#, c-format
msgid "IV must be %d bytes long"
msgstr ""

#: py/persistentcode.c
msgid ""
"Incompatible .mpy file. Please update all .mpy files. See http://adafru.it/"
Expand Down Expand Up @@ -988,6 +1001,10 @@ msgstr ""
msgid "Invalid word/bit length"
msgstr ""

#: shared-bindings/aesio/aes.c
msgid "Key must be 16, 24, or 32 bytes long"
msgstr ""

#: py/compile.c
msgid "LHS of keyword arg must be an id"
msgstr "LHS dari keyword arg harus menjadi sebuah id"
Expand Down Expand Up @@ -1121,6 +1138,10 @@ msgstr ""
msgid "No hardware support on pin"
msgstr "Tidak ada dukungan hardware untuk pin"

#: shared-bindings/aesio/aes.c
msgid "No key was specified"
msgstr ""

#: ports/stm/common-hal/pulseio/PWMOut.c
msgid "No more timers available on this pin."
msgstr ""
Expand Down Expand Up @@ -1302,6 +1323,10 @@ msgstr "sistem file (filesystem) bersifat Read-only"
msgid "Refresh too soon"
msgstr ""

#: shared-bindings/aesio/aes.c
msgid "Requested AES mode is unsupported"
msgstr ""

#: ports/atmel-samd/common-hal/audioio/AudioOut.c
msgid "Right channel unsupported"
msgstr "Channel Kanan tidak didukung"
Expand Down Expand Up @@ -1366,6 +1391,10 @@ msgstr ""
msgid "Slices not supported"
msgstr ""

#: shared-bindings/aesio/aes.c
msgid "Source and destination buffers must be the same length"
msgstr ""

#: extmod/modure.c
msgid "Splitting with sub-captures"
msgstr "Memisahkan dengan menggunakan sub-captures"
Expand Down
33 changes: 31 additions & 2 deletions locale/circuitpython.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-04 20:38-0400\n"
"POT-Creation-Date: 2020-05-06 17:47+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -429,6 +429,10 @@ msgstr ""
msgid "Bytes must be between 0 and 255."
msgstr ""

#: shared-bindings/aesio/aes.c
msgid "CBC blocks must be multiples of 16 bytes"
msgstr ""

#: py/objtype.c
msgid "Call super().__init__() before accessing native object."
msgstr ""
Expand Down Expand Up @@ -660,6 +664,10 @@ msgstr ""
msgid "Drive mode not used when direction is input."
msgstr ""

#: shared-bindings/aesio/aes.c
msgid "ECB only operates on 16 bytes at a time"
msgstr ""

#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/ps2io/Ps2.c
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
Expand All @@ -671,7 +679,7 @@ msgstr ""
msgid "Error in regex"
msgstr ""

#: shared-bindings/microcontroller/Pin.c
#: shared-bindings/aesio/aes.c shared-bindings/microcontroller/Pin.c
#: shared-bindings/neopixel_write/__init__.c shared-bindings/pulseio/PulseOut.c
#: shared-bindings/terminalio/Terminal.c
msgid "Expected a %q"
Expand Down Expand Up @@ -798,6 +806,11 @@ msgstr ""
msgid "I2C operation not supported"
msgstr ""

#: shared-bindings/aesio/aes.c
#, c-format
msgid "IV must be %d bytes long"
msgstr ""

#: py/persistentcode.c
msgid ""
"Incompatible .mpy file. Please update all .mpy files. See http://adafru.it/"
Expand Down Expand Up @@ -977,6 +990,10 @@ msgstr ""
msgid "Invalid word/bit length"
msgstr ""

#: shared-bindings/aesio/aes.c
msgid "Key must be 16, 24, or 32 bytes long"
msgstr ""

#: py/compile.c
msgid "LHS of keyword arg must be an id"
msgstr ""
Expand Down Expand Up @@ -1110,6 +1127,10 @@ msgstr ""
msgid "No hardware support on pin"
msgstr ""

#: shared-bindings/aesio/aes.c
msgid "No key was specified"
msgstr ""

#: ports/stm/common-hal/pulseio/PWMOut.c
msgid "No more timers available on this pin."
msgstr ""
Expand Down Expand Up @@ -1287,6 +1308,10 @@ msgstr ""
msgid "Refresh too soon"
msgstr ""

#: shared-bindings/aesio/aes.c
msgid "Requested AES mode is unsupported"
msgstr ""

#: ports/atmel-samd/common-hal/audioio/AudioOut.c
msgid "Right channel unsupported"
msgstr ""
Expand Down Expand Up @@ -1350,6 +1375,10 @@ msgstr ""
msgid "Slices not supported"
msgstr ""

#: shared-bindings/aesio/aes.c
msgid "Source and destination buffers must be the same length"
msgstr ""

#: extmod/modure.c
msgid "Splitting with sub-captures"
msgstr ""
Expand Down
33 changes: 31 additions & 2 deletions locale/de_DE.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-04-26 14:46-0500\n"
"POT-Creation-Date: 2020-05-06 17:47+0800\n"
"PO-Revision-Date: 2020-04-30 17:01+0000\n"
"Last-Translator: Jeff Epler <[email protected]>\n"
"Language-Team: German <https://later.unpythonic.net/projects/circuitpython/"
Expand Down Expand Up @@ -440,6 +440,10 @@ msgstr "Der Puffer muss 16 Bytes lang sein"
msgid "Bytes must be between 0 and 255."
msgstr "Ein Bytes kann nur Werte zwischen 0 und 255 annehmen."

#: shared-bindings/aesio/aes.c
msgid "CBC blocks must be multiples of 16 bytes"
msgstr ""

#: py/objtype.c
msgid "Call super().__init__() before accessing native object."
msgstr "Rufe super().__init__() vor dem Zugriff auf ein natives Objekt auf."
Expand Down Expand Up @@ -671,6 +675,10 @@ msgstr "Die Rotation der Anzeige muss in 90-Grad-Schritten erfolgen"
msgid "Drive mode not used when direction is input."
msgstr "Drive mode wird nicht verwendet, wenn die Richtung input ist."

#: shared-bindings/aesio/aes.c
msgid "ECB only operates on 16 bytes at a time"
msgstr ""

#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/ps2io/Ps2.c
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
Expand All @@ -682,7 +690,7 @@ msgstr "EXTINT Kanal ist schon in Benutzung"
msgid "Error in regex"
msgstr "Fehler in regex"

#: shared-bindings/microcontroller/Pin.c
#: shared-bindings/aesio/aes.c shared-bindings/microcontroller/Pin.c
#: shared-bindings/neopixel_write/__init__.c shared-bindings/pulseio/PulseOut.c
#: shared-bindings/terminalio/Terminal.c
msgid "Expected a %q"
Expand Down Expand Up @@ -811,6 +819,11 @@ msgstr ""
msgid "I2C operation not supported"
msgstr "I2C-operation nicht unterstützt"

#: shared-bindings/aesio/aes.c
#, c-format
msgid "IV must be %d bytes long"
msgstr ""

#: py/persistentcode.c
msgid ""
"Incompatible .mpy file. Please update all .mpy files. See http://adafru.it/"
Expand Down Expand Up @@ -992,6 +1005,10 @@ msgstr "Ungültige wave Datei"
msgid "Invalid word/bit length"
msgstr ""

#: shared-bindings/aesio/aes.c
msgid "Key must be 16, 24, or 32 bytes long"
msgstr ""

#: py/compile.c
msgid "LHS of keyword arg must be an id"
msgstr "LHS des Schlüsselwortarguments muss eine id sein"
Expand Down Expand Up @@ -1126,6 +1143,10 @@ msgstr "Keine Hardwareunterstützung am clk Pin"
msgid "No hardware support on pin"
msgstr "Keine Hardwareunterstützung an diesem Pin"

#: shared-bindings/aesio/aes.c
msgid "No key was specified"
msgstr ""

#: ports/stm/common-hal/pulseio/PWMOut.c
msgid "No more timers available on this pin."
msgstr ""
Expand Down Expand Up @@ -1311,6 +1332,10 @@ msgstr "Schreibgeschützte Objekt"
msgid "Refresh too soon"
msgstr "Zu früh neu geladen"

#: shared-bindings/aesio/aes.c
msgid "Requested AES mode is unsupported"
msgstr ""

#: ports/atmel-samd/common-hal/audioio/AudioOut.c
msgid "Right channel unsupported"
msgstr "Rechter Kanal wird nicht unterstützt"
Expand Down Expand Up @@ -1374,6 +1399,10 @@ msgstr "Slice und Wert (value) haben unterschiedliche Längen."
msgid "Slices not supported"
msgstr "Slices werden nicht unterstützt"

#: shared-bindings/aesio/aes.c
msgid "Source and destination buffers must be the same length"
msgstr ""

#: extmod/modure.c
msgid "Splitting with sub-captures"
msgstr "Splitting mit sub-captures"
Expand Down
33 changes: 31 additions & 2 deletions locale/en_US.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-04 19:52-0400\n"
"POT-Creation-Date: 2020-05-06 17:47+0800\n"
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down Expand Up @@ -429,6 +429,10 @@ msgstr ""
msgid "Bytes must be between 0 and 255."
msgstr ""

#: shared-bindings/aesio/aes.c
msgid "CBC blocks must be multiples of 16 bytes"
msgstr ""

#: py/objtype.c
msgid "Call super().__init__() before accessing native object."
msgstr ""
Expand Down Expand Up @@ -660,6 +664,10 @@ msgstr ""
msgid "Drive mode not used when direction is input."
msgstr ""

#: shared-bindings/aesio/aes.c
msgid "ECB only operates on 16 bytes at a time"
msgstr ""

#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/ps2io/Ps2.c
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
Expand All @@ -671,7 +679,7 @@ msgstr ""
msgid "Error in regex"
msgstr ""

#: shared-bindings/microcontroller/Pin.c
#: shared-bindings/aesio/aes.c shared-bindings/microcontroller/Pin.c
#: shared-bindings/neopixel_write/__init__.c shared-bindings/pulseio/PulseOut.c
#: shared-bindings/terminalio/Terminal.c
msgid "Expected a %q"
Expand Down Expand Up @@ -798,6 +806,11 @@ msgstr ""
msgid "I2C operation not supported"
msgstr ""

#: shared-bindings/aesio/aes.c
#, c-format
msgid "IV must be %d bytes long"
msgstr ""

#: py/persistentcode.c
msgid ""
"Incompatible .mpy file. Please update all .mpy files. See http://adafru.it/"
Expand Down Expand Up @@ -977,6 +990,10 @@ msgstr ""
msgid "Invalid word/bit length"
msgstr ""

#: shared-bindings/aesio/aes.c
msgid "Key must be 16, 24, or 32 bytes long"
msgstr ""

#: py/compile.c
msgid "LHS of keyword arg must be an id"
msgstr ""
Expand Down Expand Up @@ -1110,6 +1127,10 @@ msgstr ""
msgid "No hardware support on pin"
msgstr ""

#: shared-bindings/aesio/aes.c
msgid "No key was specified"
msgstr ""

#: ports/stm/common-hal/pulseio/PWMOut.c
msgid "No more timers available on this pin."
msgstr ""
Expand Down Expand Up @@ -1287,6 +1308,10 @@ msgstr ""
msgid "Refresh too soon"
msgstr ""

#: shared-bindings/aesio/aes.c
msgid "Requested AES mode is unsupported"
msgstr ""

#: ports/atmel-samd/common-hal/audioio/AudioOut.c
msgid "Right channel unsupported"
msgstr ""
Expand Down Expand Up @@ -1350,6 +1375,10 @@ msgstr ""
msgid "Slices not supported"
msgstr ""

#: shared-bindings/aesio/aes.c
msgid "Source and destination buffers must be the same length"
msgstr ""

#: extmod/modure.c
msgid "Splitting with sub-captures"
msgstr ""
Expand Down
Loading