Commit 5b863dc
committed
AES bitsliced implementation added
AES bitsliced implementation that is cache attack safe.
Configure with:
--enable-aes-bitslice
or define:
WC_AES_BITSLICE
HAVE_AES_ECB
HAVE_AES_DIRECT
Very slow for CBC, CFB, OFB and any mode that uses a previous encrypt
block to calculate current.
CTR, GCM, XTS can parallelize the data and be much faster.
Added AES-ECB test to test.c.1 parent 2ee9402 commit 5b863dc
4 files changed
Lines changed: 1549 additions & 365 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2492 | 2492 | | |
2493 | 2493 | | |
2494 | 2494 | | |
| 2495 | + | |
| 2496 | + | |
| 2497 | + | |
| 2498 | + | |
| 2499 | + | |
| 2500 | + | |
| 2501 | + | |
| 2502 | + | |
| 2503 | + | |
| 2504 | + | |
2495 | 2505 | | |
2496 | 2506 | | |
2497 | 2507 | | |
| |||
9542 | 9552 | | |
9543 | 9553 | | |
9544 | 9554 | | |
| 9555 | + | |
9545 | 9556 | | |
9546 | 9557 | | |
9547 | 9558 | | |
| |||
0 commit comments