Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for td2 (0.06 sec)

  1. pilot/pkg/security/trustdomain/bundle_test.go

    			trustDomainBundle: NewBundle("td1", []string{"td2", "some-td"}),
    			principals:        []string{"some-td/ns/foo/sa/bar"},
    			expect:            []string{"td1/ns/foo/sa/bar", "td2/ns/foo/sa/bar", "some-td/ns/foo/sa/bar"},
    		},
    		{
    			name:              "One principal match one alias",
    			trustDomainBundle: NewBundle("new-td", []string{"td2", "td3"}),
    			principals:        []string{"td1/ns/some-ns/sa/some-sa", "td2/ns/foo/sa/bar"},
    			expect: []string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 11 16:19:15 UTC 2021
    - 7.4K bytes
    - Viewed (0)
  2. src/crypto/aes/block.go

    	for r := 0; r < nr; r++ {
    		t0 = xk[k+0] ^ td0[uint8(s0>>24)] ^ td1[uint8(s3>>16)] ^ td2[uint8(s2>>8)] ^ td3[uint8(s1)]
    		t1 = xk[k+1] ^ td0[uint8(s1>>24)] ^ td1[uint8(s0>>16)] ^ td2[uint8(s3>>8)] ^ td3[uint8(s2)]
    		t2 = xk[k+2] ^ td0[uint8(s2>>24)] ^ td1[uint8(s1>>16)] ^ td2[uint8(s0>>8)] ^ td3[uint8(s3)]
    		t3 = xk[k+3] ^ td0[uint8(s3>>24)] ^ td1[uint8(s2>>16)] ^ td2[uint8(s1>>8)] ^ td3[uint8(s0)]
    		k += 4
    		s0, s1, s2, s3 = t0, t1, t2, t3
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. pkg/spiffe/spiffe.go

    // For example,
    // ExpandWithTrustDomains({"spiffe://td1/ns/def/sa/def"}, {"td1", "td2"}) returns
    //
    //	{"spiffe://td1/ns/def/sa/def", "spiffe://td2/ns/def/sa/def"}.
    //
    // ExpandWithTrustDomains({"spiffe://td1/ns/def/sa/a", "spiffe://td1/ns/def/sa/b"}, {"td2"}) returns
    //
    //	{"spiffe://td1/ns/def/sa/a", "spiffe://td2/ns/def/sa/a", "spiffe://td1/ns/def/sa/b", "spiffe://td2/ns/def/sa/b"}.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. pilot/pkg/security/trustdomain/bundle.go

    // with the current trust domain and its aliases.
    // For example, for a user "bar" in namespace "foo".
    // If the local trust domain is "td2" and its alias is "td1" (migrating from td1 to td2),
    // replaceTrustDomainAliases returns ["td2/ns/foo/sa/bar", "td1/ns/foo/sa/bar]].
    func (t Bundle) ReplaceTrustDomainAliases(principals []string) []string {
    	principalsIncludingAliases := []string{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 23 15:48:01 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. src/crypto/aes/aes_test.go

    	for i := 0; i < 256; i++ {
    		s := uint32(sbox1[i])
    		s9 := mul(s, 0x9)
    		sb := mul(s, 0xb)
    		sd := mul(s, 0xd)
    		se := mul(s, 0xe)
    		w := se<<24 | s9<<16 | sd<<8 | sb
    		td := [][256]uint32{td0, td1, td2, td3}
    		for j := 0; j < 4; j++ {
    			if x := td[j][i]; x != w {
    				t.Fatalf("td[%d][%d] = %#x, want %#x", j, i, x, w)
    			}
    			w = w<<24 | w>>8
    		}
    	}
    }
    
    // Test vectors are from FIPS 197:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 14:58:19 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. src/crypto/aes/const.go

    	0x81caaff3, 0x3eb968c4, 0x2c382434, 0x5fc2a340, 0x72161dc3, 0x0cbce225, 0x8b283c49, 0x41ff0d95,
    	0x7139a801, 0xde080cb3, 0x9cd8b4e4, 0x906456c1, 0x617bcb84, 0x70d532b6, 0x74486c5c, 0x42d0b857,
    }
    var td2 = [256]uint32{
    	0xa75051f4, 0x65537e41, 0xa4c31a17, 0x5e963a27, 0x6bcb3bab, 0x45f11f9d, 0x58abacfa, 0x03934be3,
    	0xfa552030, 0x6df6ad76, 0x769188cc, 0x4c25f502, 0xd7fc4fe5, 0xcbd7c52a, 0x44802635, 0xa38fb562,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 01 21:52:00 UTC 2018
    - 29.3K bytes
    - Viewed (0)
  7. pilot/pkg/model/push_context_test.go

    	ps := NewPushContext()
    	index := NewEndpointIndex(DisabledCache{})
    	env := &Environment{EndpointIndex: index}
    	ps.Mesh = &meshconfig.MeshConfig{TrustDomainAliases: []string{"td1", "td2"}}
    
    	services := []*Service{
    		{
    			Hostname: "svc-unset",
    			Ports:    allPorts,
    			Attributes: ServiceAttributes{
    				Namespace: "test1",
    			},
    		},
    		{
    			Hostname: "svc-public",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
Back to top