mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-07-05 06:05:16 -04:00
29 lines
309 B
Go
29 lines
309 B
Go
package crypto
|
|
|
|
type AesCBC struct {
|
|
}
|
|
|
|
type AesECB struct {
|
|
}
|
|
|
|
|
|
type TunnelKey [32]byte
|
|
type TunnelIV [16]byte
|
|
|
|
//
|
|
// tunnel aes base
|
|
//
|
|
type TunnelAes struct {
|
|
layerKey TunnelKey
|
|
ivKey TunnelKey
|
|
iv TunnelIV
|
|
}
|
|
|
|
type TunnelEncryption struct {
|
|
TunnelAes
|
|
}
|
|
|
|
type TunnelDecryption struct {
|
|
TunnelAes
|
|
}
|