golang.org/x/crypto/openpgp/packet.PrivateKey.cipher (field)

6 uses

	golang.org/x/crypto/openpgp/packet (current package)
		private_key.go#L32: 	cipher        CipherFunction
		private_key.go#L111: 		pk.cipher = CipherFunction(buf[0])
		private_key.go#L125: 		blockSize := pk.cipher.blockSize()
		private_key.go#L127: 			return errors.UnsupportedError("unsupported cipher in private key: " + strconv.Itoa(int(pk.cipher)))
		private_key.go#L245: 	key := make([]byte, pk.cipher.KeySize())
		private_key.go#L247: 	block := pk.cipher.new(key)