QUERY · ISSUE
Pico AES CCM Mode
enhancement
I would like to have the possibility to perform encryption using the aes ccm mode on a raspberry pi pico w.
This encryption is required for BTHome project.
I have successfully compiled the micropython with user c module examples and an example for native module as mpy, but I would still need an example in order to create a .mpy module using mbedtls ccm.
Thanks in advance.
CANDIDATE · ISSUE
Cryptolib throws ValueError
bug
Port, board and/or hardware
rp2
MicroPython version
MicroPython v1.22.2 on 2024-02-22; Raspberry Pi Pico W with RP2040
MicroPython v1.24.0-preview.11.g1705bc52a on 2024-06-01; Raspberry Pi Pico with RP2040
Reproduction
cipher = cryptolib.aes(ubinascii.unhexlify(key), 6, iv)
Expected behaviour
A working AES instance
Observed behaviour
Traceback (most recent call last):
File "<stdin>", line 34, in <module>
File "<stdin>", line 20, in main
ValueError: mode
Additional Information
No, I've provided everything above.
Code of Conduct
Yes, I agree