- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 99 for 32 (0.01 seconds)
-
internal/crypto/key_test.go
} } var generateKeyTests = []struct { ExtKey [32]byte Random io.Reader ShouldPass bool }{ {ExtKey: [32]byte{}, Random: nil, ShouldPass: true}, // 0 {ExtKey: [32]byte{}, Random: rand.Reader, ShouldPass: true}, // 1 {ExtKey: [32]byte{}, Random: shortRandom(32), ShouldPass: true}, // 2 {ExtKey: [32]byte{}, Random: shortRandom(31), ShouldPass: false}, // 3 }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 6.7K bytes - Click Count (0) -
internal/crypto/key.go
// It must never be stored in plaintext. type ObjectKey [32]byte // GenerateKey generates a unique ObjectKey from a 256 bit external key // and a source of randomness. If random is nil the default PRNG of the // system (crypto/rand) is used. func GenerateKey(extKey []byte, random io.Reader) (key ObjectKey) { if random == nil { random = rand.Reader } if len(extKey) != 32 { // safety check
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 16 14:27:42 GMT 2025 - 6.2K bytes - Click Count (0) -
cmd/encryption-v1_test.go
}, { ObjectKey: [32]byte{}, ObjectInfo: ObjectInfo{ETag: "916516b396f0f4d4f2a0e7177557bec4-738"}, ETag: "916516b396f0f4d4f2a0e7177557bec4-738", }, { ObjectKey: [32]byte{}, ObjectInfo: ObjectInfo{ETag: "916516b396f0f4d4f2a0e7177557bec4-Q"}, ETag: "", ShouldFail: true, // Q is not a number }, { ObjectKey: [32]byte{},Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19.9K bytes - Click Count (0) -
src/cmd/asm/internal/asm/testdata/riscv64validation.s
VSLLVI $32, V2, V3 // ERROR "unsigned immediate 32 must be in range [0, 31]" VSLLVI $-1, V2, V3 // ERROR "unsigned immediate -1 must be in range [0, 31]" VSRLVV X10, V2, V3 // ERROR "expected vector register in vs1 position" VSRLVX V1, V2, V3 // ERROR "expected integer register in rs1 position" VSRLVI $32, V2, V3 // ERROR "unsigned immediate 32 must be in range [0, 31]"
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Nov 13 12:17:37 GMT 2025 - 42.1K bytes - Click Count (0) -
internal/crypto/metadata_test.go
MetaIV: base64.StdEncoding.EncodeToString(make([]byte, 32)), MetaAlgorithm: "", MetaSealedKeyS3: "", MetaKeyID: "", MetaDataEncryptionKey: "", }, DataKey: []byte{}, KeyID: "", SealedKey: SealedKey{}, }, // 6 { ExpectedErr: Errorf("The internal sealed key for SSE-S3 is invalid"), Metadata: map[string]string{ MetaIV: base64.StdEncoding.EncodeToString(make([]byte, 32)), MetaAlgorithm: SealAlgorithm, MetaSealedKeyS3: "",
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 18.7K bytes - Click Count (0) -
internal/grid/msg.go
h = h[:len(h)-hashLen] } // Extract subroute if any. if m.Flags&FlagSubroute != 0 { if len(h) < 32 { return nil, nil, fmt.Errorf("want subroute len 32, got %v", len(h)) } subID := (*[32]byte)(h[len(h)-32:]) sub = (*subHandlerID)(subID) // Add if more modifications to h is needed h = h[:len(h)-32] } return sub, h, nil } // setZeroPayloadFlag will clear or set the FlagPayloadIsZero if
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jul 25 21:07:21 GMT 2024 - 7.6K bytes - Click Count (0) -
internal/hash/crc.go
if len2 <= 0 { return crc1 } even := make([]uint64, 32) // even-power-of-two zeros operator odd := make([]uint64, 32) // odd-power-of-two zeros operator // put operator for one zero bit in odd odd[0] = uint64(poly) // CRC-32 polynomial row := uint64(1) for n := 1; n < 32; n++ { odd[n] = row row <<= 1 } // put operator for two zero bits in even
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jan 20 14:49:07 GMT 2025 - 5.8K bytes - Click Count (0) -
src/cmd/asm/internal/asm/testdata/armv6.s
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Oct 23 15:18:14 GMT 2024 - 4.7K bytes - Click Count (0) -
internal/grid/benchmark_test.go
"fmt" "math/rand" "runtime" "strconv" "sync/atomic" "testing" "time" "github.com/minio/minio/internal/logger/target/testlogger" ) func BenchmarkRequests(b *testing.B) { for n := 2; n <= 32; n *= 2 { b.Run("servers="+strconv.Itoa(n), func(b *testing.B) { benchmarkGridRequests(b, n) }) } } func benchmarkGridRequests(b *testing.B, n int) { defer testlogger.T.SetErrorTB(b)()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.5K bytes - Click Count (0) -
internal/crypto/sse-c.go
return true } return false } // ParseHTTP parses the SSE-C headers and returns the SSE-C client key // on success. SSE-C copy headers are ignored. func (ssec) ParseHTTP(h http.Header) (key [32]byte, err error) { if h.Get(xhttp.AmzServerSideEncryptionCustomerAlgorithm) != xhttp.AmzEncryptionAES { return key, ErrInvalidCustomerAlgorithm } if h.Get(xhttp.AmzServerSideEncryptionCustomerKey) == "" {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.2K bytes - Click Count (0)