Files
oikos/vendor/github.com/youmark/pkcs8/cipher_3des.go
dtoro febc153b7f
Some checks failed
ci / build-test (push) Has been cancelled
ci / docker-build (push) Has been cancelled
ci / web (push) Has been cancelled
Desktop App / Build Linux (amd64) (push) Has been cancelled
Desktop App / Attach to Release (push) Has been cancelled
fix: add involves edge from task to agent:nomos at creation
Plus sync vendor directory for Docker build compatibility.
2026-08-11 22:03:12 +02:00

25 lines
421 B
Go

package pkcs8
import (
"crypto/des"
"encoding/asn1"
)
var (
oidDESEDE3CBC = asn1.ObjectIdentifier{1, 2, 840, 113549, 3, 7}
)
func init() {
RegisterCipher(oidDESEDE3CBC, func() Cipher {
return TripleDESCBC
})
}
// TripleDESCBC is the 168-bit key 3DES cipher in CBC mode.
var TripleDESCBC = cipherWithBlock{
ivSize: des.BlockSize,
keySize: 24,
newBlock: des.NewTripleDESCipher,
oid: oidDESEDE3CBC,
}