dherrada
a3d5adb43c
Did _eve, fontio, framebufferio, and frequencyio
2020-05-07 11:56:46 -04:00
dherrada
2ebe3035df
Did board, digitalio, displayio
2020-05-07 10:54:09 -04:00
Daniel Pollard
84c806a4be
updated descriptions and build variable
2020-05-07 12:42:46 +10:00
spkuehl
af55af216a
Fix type in RTC documentation.
2020-05-06 14:11:11 -05:00
Sean Cross
b168784fa0
aesio: add basic AES encryption and decryption
...
This adds initial support for an AES module named aesio. This
implementation supports only a subset of AES modes, namely
ECB, CBC, and CTR modes.
Example usage:
```
>>> import aesio
>>>
>>> key = b'Sixteen byte key'
>>> cipher = aesio.AES(key, aesio.MODE_ECB)
>>> output = bytearray(16)
>>> cipher.encrypt_into(b'Circuit Python!!', output)
>>> output
bytearray(b'E\x14\x85\x18\x9a\x9c\r\x95>\xa7kV\xa2`\x8b\n')
>>>
```
This key is 16-bytes, so it uses AES128. If your key is 24- or 32-
bytes long, it will switch to AES192 or AES256 respectively.
This has been tested with many of the official NIST test vectors,
such as those used in `pycryptodome` at
39626a5b01/lib/Crypto/SelfTest/Cipher/test_vectors/AES
CTR has not been tested as NIST does not provide test vectors for it.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-06 17:40:06 +08:00
Daniel Pollard
8961dd9fe7
changed build variables as per advice
2020-05-06 09:05:14 +10:00
Daniel Pollard
bfa5cd9c13
refactor countio based on feedback
2020-05-05 15:23:38 +10:00
Dan Halbert
e1366d78b1
trivial change to force rebuild
2020-05-04 23:05:47 -04:00
Dan Halbert
b7836aeac6
address review comments
2020-05-04 19:51:08 -04:00
Dan Halbert
bae7a5e433
make translate again
2020-05-04 17:26:59 -04:00
Dan Halbert
d6c6f9f4f0
add PacketBuffer .incoming_ and .outgoing_packet_length
2020-05-04 15:59:45 -04:00
dherrada
0e465e63b9
Did audiopwmio, bitbangio, and _bleio
2020-05-01 18:23:27 -04:00
Scott Shawcroft
242063e1d0
Merge pull request #2838 from spkuehl/UART_sharedbinding_fix
...
Fix #2814 Corrected UART output.
2020-05-01 11:05:24 -07:00
spkuehl
a3a2dd0f70
Corrected UART output.
2020-04-30 19:14:51 -05:00
dherrada
d65e851044
Did audioio, audiomixer, audiomp3
2020-04-30 13:06:09 -04:00
Dan Halbert
46298ddcb4
PacketBuffer doc fixes
2020-04-30 00:36:01 -04:00
Dan Halbert
f3078511a6
further cleanup and bug fixing
2020-04-29 23:18:08 -04:00
Dan Halbert
180f5c6a94
Merge remote-tracking branch 'adafruit/master' into ringbuf-fixes
2020-04-29 22:11:22 -04:00
Dan Halbert
3d62f87e29
back to '.packet_size' for compatiblity
2020-04-29 22:10:56 -04:00
Dan Halbert
84cee1ab8d
rename and improve PacketBuffer packet length property
2020-04-29 17:49:31 -04:00
dherrada
7ff9b9bc80
Did first 3
2020-04-29 17:36:28 -04:00
dherrada
a2a32fea1a
Added newlines after every ellipsis
2020-04-29 15:55:06 -04:00
dherrada
093461e816
Fixed indentation
2020-04-29 15:45:19 -04:00
dherrada
deccdcc1d6
Did the same for the rest of busio
2020-04-29 15:20:05 -04:00
dherrada
93d1e53c66
Hopefully fixed whitespace issues
2020-04-29 14:19:04 -04:00
dherrada
c7b721f4f1
Fixed some more whitespace
2020-04-28 19:22:03 -04:00
dherrada
aacca61598
Fixed whitespace on audiocore
2020-04-28 18:56:19 -04:00
dherrada
c3897d0add
Fixed whitespace in analogio
2020-04-28 18:43:40 -04:00
dherrada
724dcda3ec
Fixed whitespace in busio
2020-04-28 18:39:58 -04:00
Scott Shawcroft
755d404edf
Merge remote-tracking branch 'adafruit/master' into lower_power
2020-04-27 16:45:10 -07:00
dherrada
829da5c127
Added inline pyi to audiomp3
2020-04-27 17:29:50 -04:00
dherrada
8330471068
Added inline pyi to audiomixer
2020-04-27 17:20:40 -04:00
dherrada
1363e6e724
Added inline pyi to audiocore
2020-04-27 17:02:48 -04:00
dherrada
088b5b1785
Added inline pyi to audiocore
2020-04-27 16:49:12 -04:00
dherrada
e96235d0cf
Added inline pyi to audiobusio
2020-04-27 16:35:03 -04:00
dherrada
8344fce994
Added inline pyi to analogio
2020-04-27 13:06:47 -04:00
dherrada
27e085ec36
Added pyi to OneWire.c
2020-04-25 15:36:16 -04:00
dherrada
e7874277ab
Fixed empty lines
2020-04-25 15:35:24 -04:00
dherrada
7070fe1995
Added inline pyi to UART.c
2020-04-25 15:25:31 -04:00
dherrada
28430a9919
Added inline pyi to I2C.c
2020-04-25 15:07:58 -04:00
dherrada
55bdee688f
Reorganized pyi again
2020-04-23 16:14:17 -04:00
dherrada
855c2033b5
Reogranized pyi in spi.c
2020-04-23 15:35:20 -04:00
dherrada
a18b991ca9
Added pyi to SPI.c
2020-04-22 15:22:34 -04:00
Jeff Epler
b87af3b071
ulab: Update from upstream
...
Closes : #2787
2020-04-22 09:04:12 -05:00
Dan Halbert
77cd93ac2d
merge from adafruit
2020-04-21 17:47:51 -04:00
Dan Halbert
38ec3bc574
further ringbuf cleanup
2020-04-21 17:38:20 -04:00
Jeff Epler
507e17fbf1
displayio: Fix "bus type" problem introduced at 8cba145c9029
...
When allocate_display_bus_or_raise was factored out, the assignment
of the bus's Python type was lost. Restore it.
This would have affected displays of any type other than RGBMatrix, when
they were created dynamically. Boards with displays configured in flash
were unaffected.
Closes : #2792
2020-04-21 13:48:34 -05:00
Scott Shawcroft
bebf27e733
Merge remote-tracking branch 'adafruit/master' into lower_power
...
This isn't perfect and needs a bit more testing.
2020-04-20 18:25:13 -07:00
Jeff Epler
898c09c35e
RGBMatrix: nonessential change to kick Actions
2020-04-19 09:10:08 -05:00
Jeff Epler
9bfe6b7197
framebufferio: update copyright information
2020-04-17 18:44:07 -05:00