Home
last modified time | relevance | path

Searched refs:padBytes (Results 1 – 25 of 260) sorted by relevance

1234567891011

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/Internal/Cryptography/
H A DUniversalCryptoDecryptor.cs165 int padBytes = 0; in DepadBlock()
171 padBytes = block[offset + count - 1]; in DepadBlock()
174 if (padBytes <= 0 || padBytes > InputBlockSize) in DepadBlock()
191 padBytes = block[offset + count - 1]; in DepadBlock()
194 if (padBytes <= 0 || padBytes > InputBlockSize) in DepadBlock()
203 padBytes = block[offset + count - 1]; in DepadBlock()
206 if (padBytes <= 0 || padBytes > InputBlockSize) in DepadBlock()
210 for (int i = offset + count - padBytes; i < offset + count; i++) in DepadBlock()
212 if (block[i] != padBytes) in DepadBlock()
222 padBytes = 0; in DepadBlock()
[all …]
H A DUniversalCryptoEncryptor.cs43 int padBytes = InputBlockSize - (count % InputBlockSize); in PadBlock()
60 result = new byte[count + padBytes]; in PadBlock()
63 result[result.Length - 1] = (byte)padBytes; in PadBlock()
72 result = new byte[count + padBytes]; in PadBlock()
75 s_randomNumberGenerator.GetBytes(result, count + 1, padBytes - 1); in PadBlock()
76 result[result.Length - 1] = (byte)padBytes; in PadBlock()
85 result = new byte[count + padBytes]; in PadBlock()
90 result[i] = (byte)padBytes; in PadBlock()
99 if (padBytes == InputBlockSize) in PadBlock()
101 padBytes = 0; in PadBlock()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Core/System/Security/Cryptography/
H A DCapiSymmetricAlgorithm.cs171 int padBytes = 0; in DepadBlock()
177 padBytes = block[offset + count - 1]; in DepadBlock()
180 if (padBytes <= 0 || padBytes > InputBlockSize) { in DepadBlock()
197 if (padBytes <= 0 || padBytes > InputBlockSize) { in DepadBlock()
208 if (padBytes <= 0 || padBytes > InputBlockSize) { in DepadBlock()
214 if (block[i] != padBytes) { in DepadBlock()
225 padBytes = 0; in DepadBlock()
293 result = new byte[count + padBytes]; in PadBlock()
329 result[i] = (byte)padBytes; in PadBlock()
338 if (padBytes == InputBlockSize) { in PadBlock()
[all …]
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/docker/docker/vendor/github.com/coreos/etcd/wal/
H A Dencoder.go87 lenField, padBytes := encodeFrameSize(len(data))
92 if padBytes != 0 {
93 data = append(data, make([]byte, padBytes)...)
99 func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) {
102 padBytes = (8 - (dataBytes % 8)) % 8
103 if padBytes != 0 {
104 lenField |= uint64(0x80|padBytes) << 56
106 return lenField, padBytes
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/coreos/etcd/wal/
H A Dencoder.go87 lenField, padBytes := encodeFrameSize(len(data))
92 if padBytes != 0 {
93 data = append(data, make([]byte, padBytes)...)
99 func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) {
102 padBytes = (8 - (dataBytes % 8)) % 8
103 if padBytes != 0 {
104 lenField |= uint64(0x80|padBytes) << 56
106 return lenField, padBytes
/dports/databases/timescaledb-backup/timescaledb-backup-0.1.1/vendor/github.com/docker/docker/vendor/github.com/coreos/etcd/wal/
H A Dencoder.go87 lenField, padBytes := encodeFrameSize(len(data))
92 if padBytes != 0 {
93 data = append(data, make([]byte, padBytes)...)
99 func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) {
102 padBytes = (8 - (dataBytes % 8)) % 8
103 if padBytes != 0 {
104 lenField |= uint64(0x80|padBytes) << 56
106 return lenField, padBytes
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/docker/docker/vendor/github.com/coreos/etcd/wal/
H A Dencoder.go87 lenField, padBytes := encodeFrameSize(len(data))
92 if padBytes != 0 {
93 data = append(data, make([]byte, padBytes)...)
99 func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) {
102 padBytes = (8 - (dataBytes % 8)) % 8
103 if padBytes != 0 {
104 lenField |= uint64(0x80|padBytes) << 56
106 return lenField, padBytes
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/docker/docker/vendor/github.com/coreos/etcd/wal/
H A Dencoder.go87 lenField, padBytes := encodeFrameSize(len(data))
92 if padBytes != 0 {
93 data = append(data, make([]byte, padBytes)...)
99 func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) {
102 padBytes = (8 - (dataBytes % 8)) % 8
103 if padBytes != 0 {
104 lenField |= uint64(0x80|padBytes) << 56
106 return lenField, padBytes
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/docker/docker/vendor/github.com/coreos/etcd/wal/
H A Dencoder.go87 lenField, padBytes := encodeFrameSize(len(data))
92 if padBytes != 0 {
93 data = append(data, make([]byte, padBytes)...)
99 func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) {
102 padBytes = (8 - (dataBytes % 8)) % 8
103 if padBytes != 0 {
104 lenField |= uint64(0x80|padBytes) << 56
106 return lenField, padBytes
/dports/security/certmgr/certmgr-3.0.3/vendor/github.com/google/certificate-transparency-go/certificate-transparency-go-1.0.21/vendor/github.com/coreos/etcd/wal/
H A Dencoder.go87 lenField, padBytes := encodeFrameSize(len(data))
92 if padBytes != 0 {
93 data = append(data, make([]byte, padBytes)...)
99 func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) {
102 padBytes = (8 - (dataBytes % 8)) % 8
103 if padBytes != 0 {
104 lenField |= uint64(0x80|padBytes) << 56
106 return lenField, padBytes
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/docker/docker/moby-20.10.2/vendor/github.com/coreos/etcd/wal/
H A Dencoder.go87 lenField, padBytes := encodeFrameSize(len(data))
92 if padBytes != 0 {
93 data = append(data, make([]byte, padBytes)...)
99 func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) {
102 padBytes = (8 - (dataBytes % 8)) % 8
103 if padBytes != 0 {
104 lenField |= uint64(0x80|padBytes) << 56
106 return lenField, padBytes
/dports/sysutils/sensu-go/sensu-go-5.11.1/vendor/github.com/coreos/etcd/wal/
H A Dencoder.go87 lenField, padBytes := encodeFrameSize(len(data))
92 if padBytes != 0 {
93 data = append(data, make([]byte, padBytes)...)
99 func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) {
102 padBytes = (8 - (dataBytes % 8)) % 8
103 if padBytes != 0 {
104 lenField |= uint64(0x80|padBytes) << 56
106 return lenField, padBytes
/dports/security/vault/vault-1.8.2/vendor/go.etcd.io/etcd/wal/
H A Dencoder.go87 lenField, padBytes := encodeFrameSize(len(data))
92 if padBytes != 0 {
93 data = append(data, make([]byte, padBytes)...)
100 func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) {
103 padBytes = (8 - (dataBytes % 8)) % 8
104 if padBytes != 0 {
105 lenField |= uint64(0x80|padBytes) << 56
107 return lenField, padBytes
/dports/net-im/nextcloud-spreed-signaling/nextcloud-spreed-signaling-0.2.0/vendor/src/go.etcd.io/etcd/wal/
H A Dencoder.go87 lenField, padBytes := encodeFrameSize(len(data))
92 if padBytes != 0 {
93 data = append(data, make([]byte, padBytes)...)
100 func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) {
103 padBytes = (8 - (dataBytes % 8)) % 8
104 if padBytes != 0 {
105 lenField |= uint64(0x80|padBytes) << 56
107 return lenField, padBytes
/dports/devel/etcd33/etcd-3.3.23/vendor/github.com/coreos/etcd/wal/
H A Dencoder.go87 lenField, padBytes := encodeFrameSize(len(data))
92 if padBytes != 0 {
93 data = append(data, make([]byte, padBytes)...)
100 func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) {
103 padBytes = (8 - (dataBytes % 8)) % 8
104 if padBytes != 0 {
105 lenField |= uint64(0x80|padBytes) << 56
107 return lenField, padBytes
/dports/devel/etcd33/etcd-3.3.23/wal/
H A Dencoder.go87 lenField, padBytes := encodeFrameSize(len(data))
92 if padBytes != 0 {
93 data = append(data, make([]byte, padBytes)...)
100 func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) {
103 padBytes = (8 - (dataBytes % 8)) % 8
104 if padBytes != 0 {
105 lenField |= uint64(0x80|padBytes) << 56
107 return lenField, padBytes
/dports/www/gitea/gitea-1.16.5/vendor/go.etcd.io/etcd/server/v3/wal/
H A Dencoder.go87 lenField, padBytes := encodeFrameSize(len(data))
92 if padBytes != 0 {
93 data = append(data, make([]byte, padBytes)...)
100 func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) {
103 padBytes = (8 - (dataBytes % 8)) % 8
104 if padBytes != 0 {
105 lenField |= uint64(0x80|padBytes) << 56
107 return lenField, padBytes
/dports/sysutils/kubectl/kubernetes-1.22.2/vendor/go.etcd.io/etcd/server/v3/wal/
H A Dencoder.go87 lenField, padBytes := encodeFrameSize(len(data))
92 if padBytes != 0 {
93 data = append(data, make([]byte, padBytes)...)
100 func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) {
103 padBytes = (8 - (dataBytes % 8)) % 8
104 if padBytes != 0 {
105 lenField |= uint64(0x80|padBytes) << 56
107 return lenField, padBytes
/dports/www/minio-client/etcd-3.5.0/server/wal/
H A Dencoder.go87 lenField, padBytes := encodeFrameSize(len(data))
92 if padBytes != 0 {
93 data = append(data, make([]byte, padBytes)...)
100 func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) {
103 padBytes = (8 - (dataBytes % 8)) % 8
104 if padBytes != 0 {
105 lenField |= uint64(0x80|padBytes) << 56
107 return lenField, padBytes
/dports/devel/etcd34/etcd-3.4.18/wal/
H A Dencoder.go87 lenField, padBytes := encodeFrameSize(len(data))
92 if padBytes != 0 {
93 data = append(data, make([]byte, padBytes)...)
100 func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) {
103 padBytes = (8 - (dataBytes % 8)) % 8
104 if padBytes != 0 {
105 lenField |= uint64(0x80|padBytes) << 56
107 return lenField, padBytes
/dports/sysutils/terraform/terraform-1.0.11/vendor/go.etcd.io/etcd/wal/
H A Dencoder.go87 lenField, padBytes := encodeFrameSize(len(data))
92 if padBytes != 0 {
93 data = append(data, make([]byte, padBytes)...)
100 func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) {
103 padBytes = (8 - (dataBytes % 8)) % 8
104 if padBytes != 0 {
105 lenField |= uint64(0x80|padBytes) << 56
107 return lenField, padBytes
/dports/math/cgal/CGAL-5.3/include/CGAL/ImageIO/
H A Dbmpread_impl.h397 padBytes = 0; in readBitsUncompressed()
399 padBytes = 3; in readBitsUncompressed()
401 padBytes = 2; in readBitsUncompressed()
403 padBytes = 1; in readBitsUncompressed()
442 padBytes = 0; in readBitsUncompressed()
444 padBytes = 3; in readBitsUncompressed()
446 padBytes = 2; in readBitsUncompressed()
610 padBytes = 0; in readMaskBitsUncompressed()
612 padBytes = 3; in readMaskBitsUncompressed()
614 padBytes = 2; in readMaskBitsUncompressed()
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/vendor/github.com/docker/docker/vendor/github.com/coreos/etcd/wal/
H A Dencoder.go72 lenField, padBytes := encodeFrameSize(len(data))
77 if padBytes != 0 {
78 data = append(data, make([]byte, padBytes)...)
84 func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) {
87 padBytes = (8 - (dataBytes % 8)) % 8
88 if padBytes != 0 {
89 lenField |= uint64(0x80|padBytes) << 56
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/vendor/github.com/docker/swarmkit/vendor/github.com/coreos/etcd/wal/
H A Dencoder.go77 lenField, padBytes := encodeFrameSize(len(data))
82 if padBytes != 0 {
83 data = append(data, make([]byte, padBytes)...)
89 func encodeFrameSize(dataBytes int) (lenField uint64, padBytes int) {
92 padBytes = (8 - (dataBytes % 8)) % 8
93 if padBytes != 0 {
94 lenField |= uint64(0x80|padBytes) << 56
/dports/lang/gcc6-aux/gcc-6-20180516/libjava/classpath/gnu/javax/crypto/pad/
H A DBasePad.java145 byte[] padBytes; in test1BlockSize()
151 padBytes = pad(buffer, offset, i); in test1BlockSize()
152 if (((i + padBytes.length) % blockSize) != 0) in test1BlockSize()
160 System.arraycopy(padBytes, 0, buffer, offset + i, padBytes.length); in test1BlockSize()
163 if (padBytes.length != unpad(buffer, offset, i + padBytes.length)) in test1BlockSize()

1234567891011