golang.org/x/crypto/openpgp/packet.CipherFunction.KeySize (method)
10 uses
golang.org/x/crypto/openpgp/packet (current package)
packet.go#L485: func (cipher CipherFunction) KeySize() int {
private_key.go#L245: key := make([]byte, pk.cipher.KeySize())
symmetric_key_encrypted.go#L42: if ske.CipherFunc.KeySize() == 0 {
symmetric_key_encrypted.go#L74: key := make([]byte, ske.CipherFunc.KeySize())
symmetric_key_encrypted.go#L91: if l, cipherKeySize := len(plaintextKey), cipherFunc.KeySize(); l != cipherFunc.KeySize() {
symmetric_key_encrypted.go#L105: keySize := cipherFunc.KeySize()
symmetrically_encrypted.go#L48: keySize := c.KeySize()
symmetrically_encrypted.go#L257: if c.KeySize() != len(key) {
golang.org/x/crypto/openpgp
write.go#L322: symKey := make([]byte, cipher.KeySize())
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |