Romain Dolbeau
|
b6534c2615
|
FAT now mount RO, to be tested more thoroughly
|
2021-03-21 11:12:30 -04:00 |
|
Romain Dolbeau
|
3335f1991a
|
save current status; can read label but not yet mount a partition...
|
2021-03-16 04:47:42 -04:00 |
|
Romain Dolbeau
|
aa8f136c04
|
error msg on timeout
|
2021-02-28 03:50:11 -05:00 |
|
Romain Dolbeau
|
cebda9e613
|
HW post-increment of counter in AES for GCM
|
2021-01-24 06:47:05 -05:00 |
|
Romain Dolbeau
|
60c5f7a767
|
aes256 ioctl
|
2021-01-23 09:15:08 -05:00 |
|
Romain Dolbeau
|
1bebc85b66
|
commit attempt at writing to sd-card, which has broken reading ?\!?
|
2021-01-11 09:35:56 -05:00 |
|
Romain Dolbeau
|
99e613497d
|
fix sdcard read (cleanup needed)
|
2021-01-10 13:13:04 -05:00 |
|
Romain Dolbeau
|
f568ad0bd3
|
can read some blocks from sd-card, but then something fails and the wrapper won't acknowledge the rd_addr handshake :-(
|
2021-01-10 10:37:16 -05:00 |
|
Romain Dolbeau
|
7a5479f766
|
add 5 MHz timecounter to rdfpga_trng
|
2021-01-10 03:29:28 -05:00 |
|
Romain Dolbeau
|
c0a8de2d3e
|
split DMA CTRL/ADDR to one per feature (GCM_R, AES_R, AES_W)
|
2021-01-09 17:43:28 -05:00 |
|
Romain Dolbeau
|
ff3e2deeb6
|
Add a secondary driver for a pretend-trng (it's a prng at this stage, the trng I found won't synthesize)
|
2021-01-09 15:57:03 -05:00 |
|
Romain Dolbeau
|
007add0015
|
new device name, trying to figure out how to have siblings device in the PROM
|
2021-01-09 13:37:43 -05:00 |
|
Romain Dolbeau
|
753ddd3106
|
DMA for cbc decrypt
|
2021-01-09 11:48:27 -05:00 |
|
Romain Dolbeau
|
20fbac086c
|
PIO decrypt of CBC
|
2021-01-09 09:02:43 -05:00 |
|
Romain Dolbeau
|
8e27ed97e6
|
pipeline AES DMAs
|
2021-01-09 08:17:46 -05:00 |
|
Romain Dolbeau
|
140fb92032
|
split AES DMA in two control registers (for future pipelining?)
|
2021-01-09 07:22:13 -05:00 |
|
Romain Dolbeau
|
a80fed802a
|
fix multi-session
|
2021-01-03 10:13:45 -05:00 |
|
Romain Dolbeau
|
766b7d1e06
|
try multi-sessions; there could be a race condition for keys, and device is too busy leading to failure...
|
2021-01-03 07:59:09 -05:00 |
|
Romain Dolbeau
|
0e570cc871
|
aes-256-cbc
|
2021-01-03 06:44:15 -05:00 |
|
Romain Dolbeau
|
6e3bf32634
|
Move CTRLs registers around, add 4 key registers/preliminary HW support for AES256
|
2021-01-03 06:12:29 -05:00 |
|
Romain Dolbeau
|
2eba35f890
|
DMA busmaster AES-128-CBC
|
2020-12-22 06:24:42 -05:00 |
|
Romain Dolbeau
|
7992fd2b94
|
cleanup
|
2020-12-21 11:13:22 -05:00 |
|
Romain Dolbeau
|
55b8b7697e
|
enable the XOR in HW for CBC mode, some R/W protect on registers
|
2020-12-21 09:03:57 -05:00 |
|
Romain Dolbeau
|
0f737c1064
|
switch driver code to basic aes128-cbc support, where openssl and devcrypto are in agreement
|
2020-12-21 06:59:44 -05:00 |
|
Romain Dolbeau
|
c7ecb4b128
|
Having a go at basic opencrypto/aes-ctr support, but it seems OpenSSL and /dev/crypto disagree on the interface :-(
|
2020-12-21 05:27:36 -05:00 |
|
Romain Dolbeau
|
8afe45ea54
|
Adding basic AES support (using AES block from https://github.com/mbgh/aes128-hdl)
|
2020-12-20 11:19:25 -05:00 |
|
Romain Dolbeau
|
fe5f869db0
|
new prom
|
2020-12-18 13:50:08 -05:00 |
|
Romain Dolbeau
|
62198d5494
|
12 bits of blocks in GCM DMA
|
2020-12-18 10:15:05 -05:00 |
|
Romain Dolbeau
|
6d4235c794
|
only alloc/map/load once per write()
|
2020-12-18 09:38:09 -05:00 |
|
Romain Dolbeau
|
9a5892be71
|
disable tracing
|
2020-12-18 09:25:17 -05:00 |
|
Romain Dolbeau
|
92c7751290
|
basic DMA support
|
2020-12-18 07:28:30 -05:00 |
|
Romain Dolbeau
|
71b1995dea
|
cleanup
|
2020-12-16 04:55:32 -05:00 |
|
Romain Dolbeau
|
0d2f75c7a6
|
Add write() support for I, much faster than going through ioctl 16 bytes at a time...
|
2020-12-13 18:17:59 +01:00 |
|
Romain Dolbeau
|
9ca5941af3
|
using 8 bytes functions seems a bit faster overall (but the host still use 32 bits transfers)
|
2020-12-13 17:25:50 +01:00 |
|
Romain Dolbeau
|
572c785840
|
NetBSD test code for prototype driver
|
2020-12-13 15:05:02 +01:00 |
|
Romain Dolbeau
|
292ac54e7f
|
NetBSD prototype driver
|
2020-12-13 15:04:11 +01:00 |
|