aes128 completely done.

ish. done-ish. it's entirely untested. CTR should work as i modeled it after PoC, and CBC *probably* works as it's straightforward, but I have no idea about the GCM. TODO.
This commit is contained in:
2022-04-29 02:49:33 -04:00
parent 9027750325
commit 0203f8b0d8
19 changed files with 479 additions and 280 deletions

View File

@@ -0,0 +1,9 @@
package aesCommon
// GetByteLen returns the length of *bytes* of an aesBitSize.
func (a *aesBitSize) GetByteLen() (l int) {
l = int(*a) / 8
return
}