Yawning Angel
|
4dad034d9d
Use `golang.org/x/crypto/blake2b`.
|
1 year ago |
Yawning Angel
|
7f657ddbe3
Add `IsHardwareAccelerated()`.
|
2 years ago |
Yawning Angel
|
e9323463bc
Misc cleanup:
|
2 years ago |
Yawning Angel
|
2f5983641c
Pick the optimal bitsliced implementation based on pointer size.
|
2 years ago |
Yawning Angel
|
8bd96ae53e
Implement the bitsliced 64 bit Pass 1/Pass 2. #2
|
2 years ago |
Yawning Angel
|
a1f3a92dd8
Add initial support for the bsaes 64 bit variant. #2
|
2 years ago |
Yawning Angel
|
7cb7b5456d
Fix a shadowing issue.
|
2 years ago |
Yawning Angel
|
66f2d11b16
Don't bother calling Pass 1/Pass 2 if the input is really short.
|
2 years ago |
Yawning Angel
|
be532f4ddf
Implement the bitsliced 32 bit Pass 1/Pass 2. #2
|
2 years ago |
Yawning Angel
|
bb07891f9d
Lay the groundwork for using multiple bitsliced AES implementations. #2
|
2 years ago |
Yawning Angel
|
62d357467c
Use `platformInit()` for target specific initialization. #2
|
2 years ago |
Yawning Angel
|
42bc1b0dcd
Remove the non-constant time warning from the package level doc.
|
2 years ago |
Yawning Angel
|
c8520fb280
Use a bitsliced constant time AES round function.
|
2 years ago |
Yawning Angel
|
deddc61482
Make the Encrypt/Decrypt API more like the AEAD one.
|
2 years ago |
Yawning Angel
|
fc9444d07b
Rename E4/E10 to AES4/AES10 for clarity.
|
2 years ago |
Yawning Angel
|
686b5edc7c
Use optimized assembly AES-core Pass 1/Pass 2 routines. #2
|
2 years ago |
Yawning Angel
|
51eb547080
Further "simplify" the aezCore() routine.
|
2 years ago |
Yawning Angel
|
8a4535f497
Likewise move finishing the Y calculation out of the pass 2 routine.
|
2 years ago |
Yawning Angel
|
6cc24c00f1
Move finishing the X calculation out of the pass 1 routine.
|
2 years ago |
Yawning Angel
|
6243841480
Don't expose the raw round function(s) to the AEZ core.
|
2 years ago |
Yawning Angel
|
ec1c72b5ea
Pass 1 also doesn't need d.
|
2 years ago |
Yawning Angel
|
7eb01da14c
Pass 1 doesn't need S either.
|
2 years ago |
Yawning Angel
|
312762db13
Pass 1 doesn't need delta.
|
2 years ago |
Yawning Angel
|
8d5c3fccf3
Merge the vector XORs with the round function calls.
|
2 years ago |
Yawning Angel
|
a00091b20e
Minor cleanups.
|
2 years ago |
Yawning Angel
|
150be62a60
Clean up the initialization routine a bit.
|
2 years ago |
Yawning Angel
|
fc48359347
Remove some unneeded copies in aezTiny(), added a memwipe().
|
2 years ago |
Yawning Angel
|
30852f7dd2
More comment changes, add a `Version` constant.
|
2 years ago |
Yawning Angel
|
d1719ccaf9
Add doc strings to the API, rename some parameters.
|
2 years ago |
Yawning Angel
|
9660886589
Minor cleanups.
|
2 years ago |