bcrypt and null kdf done, work on ciphers next (then keytypes)

This commit is contained in:
2022-04-25 04:27:24 -04:00
parent 91d5e99404
commit ff3f8243d1
43 changed files with 755 additions and 423 deletions

View File

@@ -0,0 +1 @@
TODO

View File

@@ -0,0 +1,5 @@
package cbc
const (
Name string = "aes256-cbc"
)

View File

@@ -0,0 +1,10 @@
package aes256
import (
`r00t2.io/sshkeys/cipher/aes`
)
const (
KeySize int = 32 // in bytes; AES256 is so named for its 256-bit key, thus: 256 / 8 = 32
KdfKeySize int = KeySize + aes.IvSize
)

View File

@@ -0,0 +1 @@
TODO

View File

@@ -0,0 +1,5 @@
package ctr
const (
Name string = "aes256-ctr"
)

View File

@@ -0,0 +1 @@
TODO

View File

@@ -0,0 +1,5 @@
package gcm
const (
Name string = "aes256-gcm@openssh.com"
)