Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,558 for Seal (0.07 sec)

  1. cmd/testdata/decryptObjectInfo.json.zst

    X-Minio-Internal-Server-Side-Encryption-S3-Kms-Sealed-Key":"IAAfAJjZ2dY7iCAom9rP/UK/5mmg/gpSloOs8Xjy5gYKtTDfL==","X-Minio-Internal-Server-Side-Encryption-S3-Sealed-Key":"IAAfAN+0R4CsC3ibYvamkvm9KIg+hidIQ==","X-Minio-Internal-Server-Side-Encryption-Seal-Algorithm":"DAREv2-HMAC-SHA256","content-type":"text/plain"}},{"Bucket":"buck1","Name":"go_113/src/cmd/go/testdata/mod/rsc.io_breaker_v1.0.0.txt","UserDef":{"X-Minio-Internal-Server-Side-Encryption-Iv":"HaaoKKQdysUQRnLF1tKF+a0BiM=","X-Minio-Intern...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Oct 29 16:34:20 UTC 2020
    - 164K bytes
    - Viewed (0)
  2. internal/crypto/sse_test.go

    		Metadata: map[string]string{
    			"X-Minio-Internal-Server-Side-Encryption-Sealed-Key":     "IAAfAMBdYor5tf/UlVaQvwYlw5yKbPBeQqfygqsfHqhu1wHD9KDAP4bw38AhL12prFTS23JbbR9Re5Qv26ZnlQ==",
    			"X-Minio-Internal-Server-Side-Encryption-Seal-Algorithm": "DAREv2-HMAC-SHA256",
    			"X-Minio-Internal-Server-Side-Encryption-Iv":             "coVfGS3I/CTrqexX5vUN+PQPoP9aUFiPYYrSzqTWfBA=",
    		},
    		ExpectedErr: nil,
    	},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/crypto/chacha20poly1305/xchacha20poly1305.go

    	return NonceSizeX
    }
    
    func (*xchacha20poly1305) Overhead() int {
    	return Overhead
    }
    
    func (x *xchacha20poly1305) Seal(dst, nonce, plaintext, additionalData []byte) []byte {
    	if len(nonce) != NonceSizeX {
    		panic("chacha20poly1305: bad nonce length passed to Seal")
    	}
    
    	// XChaCha20-Poly1305 technically supports a 64-bit counter, so there is no
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 09 20:10:44 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. src/crypto/cipher/benchmark_test.go

    	for i := 0; i < b.N; i++ {
    		out = aesgcm.Seal(out[:0], nonce[:], buf, ad[:])
    	}
    }
    
    func benchmarkAESGCMOpen(b *testing.B, buf []byte, keySize int) {
    	b.ReportAllocs()
    	b.SetBytes(int64(len(buf)))
    
    	var key = make([]byte, keySize)
    	var nonce [12]byte
    	var ad [13]byte
    	aes, _ := aes.NewCipher(key[:])
    	aesgcm, _ := cipher.NewGCM(aes)
    	var out []byte
    
    	ct := aesgcm.Seal(nil, nonce[:], buf[:], ad[:])
    
    	b.ResetTimer()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 28 19:13:50 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305.go

    	return Overhead
    }
    
    func (c *chacha20poly1305) Seal(dst, nonce, plaintext, additionalData []byte) []byte {
    	if len(nonce) != NonceSize {
    		panic("chacha20poly1305: bad nonce length passed to Seal")
    	}
    
    	if uint64(len(plaintext)) > (1<<38)-64 {
    		panic("chacha20poly1305: plaintext too large")
    	}
    
    	return c.seal(dst, nonce, plaintext, additionalData)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 09 20:10:44 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  6. cmd/storage-datatypes_test.go

    42tymK0szRgGvAxBNcXyHXYooe9dQpeeEJWgKUa/8R61oCy1mFwIg==", "X-Minio-Internal-Server-Side-Encryption-S3-Sealed-Key": "IAAfAPFYRDkHVirJBJxBixNj3PLWt78dFuUTyTLIdLG820J7XqLPBO4gpEEEWw/DoTsJIb+apnaem+rKtQ1h3Q==", "X-Minio-Internal-Server-Side-Encryption-Seal-Algorithm": "DAREv2-HMAC-SHA256", "content-type": "application/octet-stream", "etag": "20000f00e2c3709dc94905c6ce31e1cadbd1c064e14acdcd44cf0ac2db777eeedd88d639fcd64de16851ade8b21a9a1a"}, Parts: []ObjectPartInfo{{ETag: "", Number: 1, Size: 3430, ActualSize:...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  7. src/crypto/cipher/gcm_test.go

    			return err
    		}
    		nonce := make([]byte, 12)
    		if _, err := io.ReadFull(rand.Reader, nonce); err != nil {
    			return err
    		}
    		want := generic.Seal(nil, nonce, pt, ad)
    		got := asm.Seal(nil, nonce, pt, ad)
    		if !bytes.Equal(want, got) {
    			return errors.New("incorrect Seal output")
    		}
    		got, err = asm.Open(nil, nonce, want, ad)
    		if err != nil {
    			return errors.New("authentication failed")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 15:27:49 UTC 2023
    - 35K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_noasm.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !amd64 || !gc || purego
    
    package chacha20poly1305
    
    func (c *chacha20poly1305) seal(dst, nonce, plaintext, additionalData []byte) []byte {
    	return c.sealGeneric(dst, nonce, plaintext, additionalData)
    }
    
    func (c *chacha20poly1305) open(dst, nonce, ciphertext, additionalData []byte) ([]byte, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 534 bytes
    - Viewed (0)
  9. cmd/handler-utils.go

    var validSSEReplicationHeaders = map[string]string{
    	"X-Minio-Internal-Server-Side-Encryption-Sealed-Key":     "X-Minio-Replication-Server-Side-Encryption-Sealed-Key",
    	"X-Minio-Internal-Server-Side-Encryption-Seal-Algorithm": "X-Minio-Replication-Server-Side-Encryption-Seal-Algorithm",
    	"X-Minio-Internal-Server-Side-Encryption-Iv":             "X-Minio-Replication-Server-Side-Encryption-Iv",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. internal/crypto/key_test.go

    		ShouldPass: false,
    	}, // 4
    }
    
    func TestSealUnsealKey(t *testing.T) {
    	for i, test := range sealUnsealKeyTests {
    		key := GenerateKey(test.SealExtKey[:], rand.Reader)
    		sealedKey := key.Seal(test.SealExtKey[:], test.SealIV, test.SealDomain, test.SealBucket, test.SealObject)
    		if err := key.Unseal(test.UnsealExtKey[:], sealedKey, test.UnsealDomain, test.UnsealBucket, test.UnsealObject); err == nil && !test.ShouldPass {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 02 00:13:57 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top