Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for new256 (0.37 sec)

  1. src/crypto/internal/mlkem768/mlkem768.go

    	dkB := dk.dk[:0]
    
    	for i := range s {
    		dkB = polyByteEncode(dkB, s[i])
    	}
    
    	for i := range t {
    		dkB = polyByteEncode(dkB, t[i])
    	}
    	dkB = append(dkB, ρ...)
    
    	H := sha3.New256()
    	H.Write(dkB[decryptionKeySize:])
    	dkB = H.Sum(dkB)
    
    	dkB = append(dkB, z[:]...)
    
    	if len(dkB) != len(dk.dk) {
    		panic("mlkem768: internal error: invalid decapsulation key size")
    	}
    
    	return dk
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  2. internal/crypto/header_test.go

    		},
    		Expected: true,
    	}, // 4
    	{
    		Header: http.Header{
    			"X-Amz-Server-Side-Encryption":                []string{"AES256"},
    			"X-Amz-Server-Side-Encryption-Aws-Kms-Key-Id": []string{""},
    		},
    		Expected: true,
    	}, // 5
    	{Header: http.Header{"X-Amz-Server-Side-Encryption": []string{"AES256"}}, Expected: false}, // 6
    }
    
    func TestKMSIsRequested(t *testing.T) {
    	for i, test := range kmsIsRequestedTests {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jul 13 14:52:15 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  3. cmd/encryption-v1_test.go

    			xhttp.AmzServerSideEncryptionCustomerAlgorithm: "AES256",
    			xhttp.AmzServerSideEncryptionCustomerKey:       "XAm0dRrJsEsyPb1UuFNezv1bl9hxuYsgUVC/MUctE2k=",
    			xhttp.AmzServerSideEncryptionCustomerKeyMD5:    "bY4wkxQejw9mUJfo72k53A==",
    		},
    		metadata: map[string]string{},
    	},
    	{
    		header: map[string]string{
    			xhttp.AmzServerSideEncryptionCustomerAlgorithm: "AES256",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  4. pkg/serviceaccount/openidmetadata_test.go

    	defer s.Close()
    
    	want := Configuration{
    		Issuer:        exampleIssuer,
    		JWKSURI:       jwksURI,
    		ResponseTypes: []string{"id_token"},
    		SubjectTypes:  []string{"public"},
    		SigningAlgs:   []string{"ES256", "RS256"},
    	}
    
    	reqURL := s.URL + "/.well-known/openid-configuration"
    
    	resp, err := http.Get(reqURL)
    	if err != nil {
    		t.Fatalf("Get(%s) = %v, %v want: <response>, <nil>", reqURL, resp, err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 02 01:53:17 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  5. cmd/sftp-server.go

    	kexAlgoCurve25519SHA256LibSSH = "******@****.***"
    	kexAlgoCurve25519SHA256       = "curve25519-sha256"
    
    	chacha20Poly1305ID = "******@****.***"
    	gcm256CipherID     = "aes256******@****.***"
    	aes128cbcID        = "aes128-cbc"
    	tripledescbcID     = "3des-cbc"
    )
    
    var (
    	errSFTPPublicKeyBadFormat = errors.New("the public key provided could not be parsed")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. src/crypto/tls/testdata/Client-TLSv12-ClientCert-RSA-AES256-GCM-SHA384

    Roland Shoemaker <******@****.***> 1715710936 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. src/crypto/hmac/hmac_test.go

    			0x60, 0x61, 0x62, 0x63,
    		},
    		[]byte("Sample message for keylen=blocklen"),
    		"2d51b2f7750e410584662e38f133435f4c4fd42a",
    		sha1.Size,
    		sha1.BlockSize,
    	},
    	{
    		sha256.New224,
    		[]byte{
    			0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
    			0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
    			0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
    			0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 18 18:38:14 UTC 2020
    - 21.8K bytes
    - Viewed (0)
  8. src/runtime/gc_test.go

    	// further move the stack.
    	new2 := uintptr(unsafe.Pointer(new))
    
    	t.Logf("old stack pointer %x, new stack pointer %x", old, new2)
    	if new2 == old {
    		// Check that we didn't screw up the test's escape analysis.
    		if cls := runtime.GCTestPointerClass(unsafe.Pointer(new)); cls != "stack" {
    			t.Fatalf("test bug: new (%#x) should be a stack pointer, not %s", new2, cls)
    		}
    		// This was a real failure.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/crypto/sha256/sha256_test.go

    	}
    }
    
    func TestSize(t *testing.T) {
    	c := New()
    	if got := c.Size(); got != Size {
    		t.Errorf("Size = %d; want %d", got, Size)
    	}
    	c = New224()
    	if got := c.Size(); got != Size224 {
    		t.Errorf("New224.Size = %d; want %d", got, Size224)
    	}
    }
    
    func TestBlockSize(t *testing.T) {
    	c := New()
    	if got := c.BlockSize(); got != BlockSize {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 21:21:42 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  10. internal/http/headers.go

    	AmzServerSideEncryptionCopyCustomerKeyMD5    = "X-Amz-Copy-Source-Server-Side-Encryption-Customer-Key-Md5"
    
    	AmzEncryptionAES = "AES256"
    	AmzEncryptionKMS = "aws:kms"
    
    	// Signature v2 related constants
    	AmzSignatureV2 = "Signature"
    	AmzAccessKeyID = "AWSAccessKeyId"
    
    	// Response request id.
    	AmzRequestID     = "x-amz-request-id"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top