bcrypt and null kdf done, work on ciphers next (then keytypes)
This commit is contained in:
1
cipher/aes/aes128/cbc/TODO
Normal file
1
cipher/aes/aes128/cbc/TODO
Normal file
@@ -0,0 +1 @@
|
||||
TODO
|
||||
5
cipher/aes/aes128/cbc/consts.go
Normal file
5
cipher/aes/aes128/cbc/consts.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package cbc
|
||||
|
||||
const (
|
||||
Name string = "aes128-cbc"
|
||||
)
|
||||
10
cipher/aes/aes128/consts.go
Normal file
10
cipher/aes/aes128/consts.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package aes128
|
||||
|
||||
import (
|
||||
`r00t2.io/sshkeys/cipher/aes`
|
||||
)
|
||||
|
||||
const (
|
||||
KeySize int = 16 // in bytes; AES128 is so named for its 128-bit key, thus: 128 / 8 = 16
|
||||
KdfKeySize int = KeySize + aes.IvSize
|
||||
)
|
||||
1
cipher/aes/aes128/ctr/TODO
Normal file
1
cipher/aes/aes128/ctr/TODO
Normal file
@@ -0,0 +1 @@
|
||||
TODO
|
||||
5
cipher/aes/aes128/ctr/consts.go
Normal file
5
cipher/aes/aes128/ctr/consts.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package ctr
|
||||
|
||||
const (
|
||||
Name string = "aes128-ctr"
|
||||
)
|
||||
1
cipher/aes/aes128/gcm/TODO
Normal file
1
cipher/aes/aes128/gcm/TODO
Normal file
@@ -0,0 +1 @@
|
||||
TODO
|
||||
5
cipher/aes/aes128/gcm/consts.go
Normal file
5
cipher/aes/aes128/gcm/consts.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package gcm
|
||||
|
||||
const (
|
||||
Name string = "aes128-gcm@openssh.com"
|
||||
)
|
||||
1
cipher/aes/aes192/cbc/TODO
Normal file
1
cipher/aes/aes192/cbc/TODO
Normal file
@@ -0,0 +1 @@
|
||||
TODO
|
||||
5
cipher/aes/aes192/cbc/consts.go
Normal file
5
cipher/aes/aes192/cbc/consts.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package cbc
|
||||
|
||||
const (
|
||||
Name string = "aes192-cbc"
|
||||
)
|
||||
10
cipher/aes/aes192/consts.go
Normal file
10
cipher/aes/aes192/consts.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package aes192
|
||||
|
||||
import (
|
||||
`r00t2.io/sshkeys/cipher/aes`
|
||||
)
|
||||
|
||||
const (
|
||||
KeySize int = 24 // in bytes; AES182 is so named for its 192-bit key, thus: 192 / 8 = 24
|
||||
KdfKeySize int = KeySize + aes.IvSize
|
||||
)
|
||||
1
cipher/aes/aes192/ctr/TODO
Normal file
1
cipher/aes/aes192/ctr/TODO
Normal file
@@ -0,0 +1 @@
|
||||
TODO
|
||||
5
cipher/aes/aes192/ctr/consts.go
Normal file
5
cipher/aes/aes192/ctr/consts.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package ctr
|
||||
|
||||
const (
|
||||
Name string = "aes192-ctr"
|
||||
)
|
||||
1
cipher/aes/aes192/gcm/TODO
Normal file
1
cipher/aes/aes192/gcm/TODO
Normal file
@@ -0,0 +1 @@
|
||||
TODO
|
||||
5
cipher/aes/aes192/gcm/consts.go
Normal file
5
cipher/aes/aes192/gcm/consts.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package gcm
|
||||
|
||||
const (
|
||||
Name string = "aes192-gcm@openssh.com"
|
||||
)
|
||||
1
cipher/aes/aes256/cbc/TODO
Normal file
1
cipher/aes/aes256/cbc/TODO
Normal file
@@ -0,0 +1 @@
|
||||
TODO
|
||||
5
cipher/aes/aes256/cbc/consts.go
Normal file
5
cipher/aes/aes256/cbc/consts.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package cbc
|
||||
|
||||
const (
|
||||
Name string = "aes256-cbc"
|
||||
)
|
||||
10
cipher/aes/aes256/consts.go
Normal file
10
cipher/aes/aes256/consts.go
Normal 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
|
||||
)
|
||||
1
cipher/aes/aes256/ctr/TODO
Normal file
1
cipher/aes/aes256/ctr/TODO
Normal file
@@ -0,0 +1 @@
|
||||
TODO
|
||||
5
cipher/aes/aes256/ctr/consts.go
Normal file
5
cipher/aes/aes256/ctr/consts.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package ctr
|
||||
|
||||
const (
|
||||
Name string = "aes256-ctr"
|
||||
)
|
||||
1
cipher/aes/aes256/gcm/TODO
Normal file
1
cipher/aes/aes256/gcm/TODO
Normal file
@@ -0,0 +1 @@
|
||||
TODO
|
||||
5
cipher/aes/aes256/gcm/consts.go
Normal file
5
cipher/aes/aes256/gcm/consts.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package gcm
|
||||
|
||||
const (
|
||||
Name string = "aes256-gcm@openssh.com"
|
||||
)
|
||||
10
cipher/aes/consts.go
Normal file
10
cipher/aes/consts.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package aes
|
||||
|
||||
import (
|
||||
`crypto/aes`
|
||||
)
|
||||
|
||||
const (
|
||||
BlockSize int = aes.BlockSize
|
||||
IvSize int = aes.BlockSize
|
||||
)
|
||||
Reference in New Issue
Block a user