Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 53 for p256 (0.26 sec)

  1. src/crypto/x509/platform_test.go

    			windowsErr: "x509: certificate specifies an incompatible key usage",
    		},
    	}
    
    	leafKey, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
    	if err != nil {
    		t.Fatalf("ecdsa.GenerateKey failed: %s", err)
    	}
    
    	for _, tc := range tests {
    		tc := tc
    		t.Run(tc.name, func(t *testing.T) {
    			t.Parallel()
    			parent := testRoot
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 17:18:29 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. pilot/cmd/pilot-agent/options/options.go

    	eccSigAlgEnv        = env.Register("ECC_SIGNATURE_ALGORITHM", "", "The type of ECC signature algorithm to use when generating private keys").Get()
    	eccCurvEnv          = env.Register("ECC_CURVE", "P256", "The elliptic curve to use when ECC_SIGNATURE_ALGORITHM is set to ECDSA").Get()
    	fileMountedCertsEnv = env.Register("FILE_MOUNTED_CERTS", false, "").Get()
    	credFetcherTypeEnv  = env.Register("CREDENTIAL_FETCHER_TYPE", security.JWT,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 09 19:21:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. src/crypto/internal/nistec/fiat/generate.go

    		Prefix:   "p224",
    		FiatType: "[4]uint64",
    		BytesLen: 28,
    	},
    	// The P-256 fiat implementation is used only on 32-bit architectures, but
    	// the uint32 fiat code is for some reason slower than the uint64 one. That
    	// suggests there is a wide margin for improvement.
    	{
    		Element:  "P256Element",
    		Prime:    "2^256 - 2^224 + 2^192 + 2^96 - 1",
    		Prefix:   "p256",
    		FiatType: "[4]uint64",
    		BytesLen: 32,
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  4. pkg/serviceaccount/openidmetadata.go

    		// updated to support the same key sizes. Today we only support RS256.
    		return jose.RS256, nil
    	case *ecdsa.PublicKey:
    		switch pk.Curve {
    		case elliptic.P256():
    			return jose.ES256, nil
    		case elliptic.P384():
    			return jose.ES384, nil
    		case elliptic.P521():
    			return jose.ES512, nil
    		default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 12 00:23:31 UTC 2020
    - 9.4K bytes
    - Viewed (0)
  5. src/image/color/ycbcr_test.go

    	}
    	return nil
    }
    
    // TestYCbCrRoundtrip tests that a subset of RGB space can be converted to YCbCr
    // and back to within 2/256 tolerance.
    func TestYCbCrRoundtrip(t *testing.T) {
    	for r := 0; r < 256; r += 7 {
    		for g := 0; g < 256; g += 5 {
    			for b := 0; b < 256; b += 3 {
    				r0, g0, b0 := uint8(r), uint8(g), uint8(b)
    				y, cb, cr := RGBToYCbCr(r0, g0, b0)
    				r1, g1, b1 := YCbCrToRGB(y, cb, cr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 07:51:17 UTC 2016
    - 7.3K bytes
    - Viewed (0)
  6. src/runtime/duff_s390x.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "textflag.h"
    
    // s390x can copy/zero 1-256 bytes with a single instruction,
    // so there's no need for these, except to satisfy the prototypes
    // in stubs.go.
    
    TEXT runtime·duffzero(SB),NOSPLIT|NOFRAME,$0-0
    	MOVD	$0, 2(R0)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 23:41:02 UTC 2019
    - 507 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/s390x/ggen.go

    		p = pp.Append(p, s390x.AMOVD, obj.TYPE_CONST, 0, cnt/256, obj.TYPE_REG, ireg, 0)
    		p = pp.Append(p, s390x.ACLEAR, obj.TYPE_CONST, 0, 256, obj.TYPE_MEM, reg, off)
    		pl := p
    		p = pp.Append(p, s390x.AADD, obj.TYPE_CONST, 0, 256, obj.TYPE_REG, reg, 0)
    		p = pp.Append(p, s390x.ABRCTG, obj.TYPE_REG, ireg, 0, obj.TYPE_BRANCH, 0, 0)
    		p.To.SetTarget(pl)
    		cnt = cnt % 256
    	}
    
    	// Generate remaining clear instructions without a loop.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 19 15:59:22 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/sizeof_test.go

    		_32bit uintptr     // size on 32bit platforms
    		_64bit uintptr     // size on 64bit platforms
    	}{
    		{Sym{}, 32, 64},
    		{Type{}, 64, 104},
    		{Map{}, 12, 24},
    		{Forward{}, 20, 32},
    		{Func{}, 32, 56},
    		{Struct{}, 12, 24},
    		{Interface{}, 0, 0},
    		{Chan{}, 8, 16},
    		{Array{}, 12, 16},
    		{FuncArgs{}, 4, 8},
    		{ChanArgs{}, 4, 8},
    		{Ptr{}, 4, 8},
    		{Slice{}, 4, 8},
    	}
    
    	for _, tt := range tests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 17:08:44 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. test/heapsampling.go

    // license that can be found in the LICENSE file.
    
    // Test heap sampling logic.
    
    package main
    
    import (
    	"fmt"
    	"math"
    	"runtime"
    )
    
    var a16 *[16]byte
    var a512 *[512]byte
    var a256 *[256]byte
    var a1k *[1024]byte
    var a16k *[16 * 1024]byte
    var a17k *[17 * 1024]byte
    var a18k *[18 * 1024]byte
    
    // This test checks that heap sampling produces reasonable results.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 27 21:36:06 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  10. src/math/big/sqrt_test.go

    		{"4.0", "2.0"},
    
    		{"1p512", "1p256"},
    		{"4p1024", "2p512"},
    		{"9p2048", "3p1024"},
    
    		{"1p-1024", "1p-512"},
    		{"4p-2048", "2p-1024"},
    		{"9p-4096", "3p-2048"},
    	} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 12:54:00 UTC 2019
    - 4.8K bytes
    - Viewed (0)
Back to top