Jakob Unterwurzacher
|
5df7ee815d
|
stupidgcm: stupidChacha20poly1305: use byte array for key
Follow what golang.org/x/crypto/chacha20poly1305 does
for easier integration in the next commit.
|
2021-09-07 18:13:54 +02:00 |
|
Jakob Unterwurzacher
|
3ba74ac4fc
|
stupidgcm: add testWipe test
After looking at the cover profile, this was the only untested
code except panic cases.
|
2021-09-02 10:17:01 +02:00 |
|
Jakob Unterwurzacher
|
961b8ca438
|
stupidgcm: deduplicate tests 2/2
Deduplicate the cipher setup that was identical
for all tests for each cipher.
|
2021-09-02 10:04:38 +02:00 |
|
Jakob Unterwurzacher
|
676a4ceb87
|
stupidgcm: deduplicate tests 1/2
Pull the code shared between chacha and gcm into
generic functions.
|
2021-09-02 09:57:20 +02:00 |
|