go_sshkeys/internal/ciphers/aesCommon/funcs_aesbitsize.go
brent s 0203f8b0d8
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.
2022-04-29 02:49:33 -04:00

10 lines
154 B
Go

package aesCommon
// GetByteLen returns the length of *bytes* of an aesBitSize.
func (a *aesBitSize) GetByteLen() (l int) {
l = int(*a) / 8
return
}