Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 225 for sig2 (0.23 sec)

  1. src/crypto/ecdsa/ecdsa_legacy.go

    func Verify(pub *PublicKey, hash []byte, r, s *big.Int) bool {
    	if r.Sign() <= 0 || s.Sign() <= 0 {
    		return false
    	}
    	sig, err := encodeSignature(r.Bytes(), s.Bytes())
    	if err != nil {
    		return false
    	}
    	return VerifyASN1(pub, hash, sig)
    }
    
    func verifyLegacy(pub *PublicKey, hash []byte, sig []byte) bool {
    	rBytes, sBytes, err := parseSignature(sig)
    	if err != nil {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/os/signal/signal.go

    type handler struct {
    	mask [(numSig + 31) / 32]uint32
    }
    
    func (h *handler) want(sig int) bool {
    	return (h.mask[sig/32]>>uint(sig&31))&1 != 0
    }
    
    func (h *handler) set(sig int) {
    	h.mask[sig/32] |= 1 << uint(sig&31)
    }
    
    func (h *handler) clear(sig int) {
    	h.mask[sig/32] &^= 1 << uint(sig&31)
    }
    
    // Stop relaying the signals, sigs, to any channels previously registered to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/crypto/ecdsa/ecdsa_s390x.go

    		// Copy content into the parameter block. In the sign case,
    		// we copy hashed message, private key and random number into
    		// the parameter block.
    		hashToBytes(params[2*blockSize:3*blockSize], hash, c)
    		priv.D.FillBytes(params[3*blockSize : 4*blockSize])
    		k.FillBytes(params[4*blockSize : 5*blockSize])
    		// Convert verify function code into a sign function code by adding 8.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. pkg/controller/bootstrap/bootstrapsigner.go

    		sig, err := jws.ComputeDetachedSignature(content, tokenID, tokenValue)
    		if err != nil {
    			utilruntime.HandleError(err)
    		}
    
    		// Check to see if this signature is changed or new.
    		oldSig, _ := sigs[tokenID]
    		if sig != oldSig {
    			needUpdate = true
    		}
    		delete(sigs, tokenID)
    
    		newCM.Data[bootstrapapi.JWSSignatureKeyPrefix+tokenID] = sig
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. staging/README.md

        Add the staging repo in the list of repos to be published.
    
    4. Add the staging and published repositories as a subproject for the
    SIG that owns the repos in
    [`sigs.yaml`](https://github.com/kubernetes/community/blob/master/sigs.yaml).
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 11:23:09 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. src/crypto/rsa/pss_test.go

    func TestPSSOpenSSL(t *testing.T) {
    	hash := crypto.SHA256
    	h := hash.New()
    	h.Write([]byte("testing"))
    	hashed := h.Sum(nil)
    
    	// Generated with `echo -n testing | openssl dgst -sign key.pem -sigopt rsa_padding_mode:pss -sha256 > sig`
    	sig := []byte{
    		0x95, 0x59, 0x6f, 0xd3, 0x10, 0xa2, 0xe7, 0xa2, 0x92, 0x9d,
    		0x4a, 0x07, 0x2e, 0x2b, 0x27, 0xcc, 0x06, 0xc2, 0x87, 0x2c,
    		0x52, 0xf0, 0x4a, 0xcc, 0x05, 0x94, 0xf2, 0xc3, 0x2e, 0x20,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. .github/workflows/update-rbe.yml

              # See https://cloud.google.com/architecture/using-container-images#exploring_image_manifests_digests_and_tags
              echo -n "Trying to map name $1 to tag $2... "
              digest=$(curl -s --head "https://gcr.io/v2/tensorflow-sigs/build/manifests/$2" | egrep -o "sha256:[[:alnum:]]*")
              # Find the line matching the regex "sigbuild-r2.9" (with quotes) and
              # replace just the digest portion in it
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 10 15:40:34 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. tests/integration/pilot/gateway_conformance_test.go

    	k8ssets "k8s.io/apimachinery/pkg/util/sets" //nolint: depguard
    	"sigs.k8s.io/controller-runtime/pkg/client"
    	v1 "sigs.k8s.io/gateway-api/apis/v1"
    	"sigs.k8s.io/gateway-api/conformance"
    	confv1 "sigs.k8s.io/gateway-api/conformance/apis/v1"
    	"sigs.k8s.io/gateway-api/conformance/tests"
    	"sigs.k8s.io/gateway-api/conformance/utils/suite"
    	"sigs.k8s.io/gateway-api/pkg/features"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pilot/pkg/config/kube/gateway"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 15:22:47 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. tests/integration/ambient/gateway_conformance_test.go

    	k8ssets "k8s.io/apimachinery/pkg/util/sets" //nolint: depguard
    	"sigs.k8s.io/controller-runtime/pkg/client"
    	v1 "sigs.k8s.io/gateway-api/apis/v1"
    	"sigs.k8s.io/gateway-api/conformance"
    	confv1 "sigs.k8s.io/gateway-api/conformance/apis/v1"
    	"sigs.k8s.io/gateway-api/conformance/tests"
    	"sigs.k8s.io/gateway-api/conformance/utils/suite"
    	gwfeatures "sigs.k8s.io/gateway-api/pkg/features"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pilot/pkg/config/kube/gateway"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/crypto/ecdsa/ecdsa_s390x.s

    	BLT  error       // condition code of 1 indicates a failure
    
    success:
    	MOVD $0, errn+16(FP) // return 0 - sign/verify was successful
    	RET
    
    error:
    	MOVD $1, errn+16(FP) // return 1 - sign/verify failed
    	RET
    
    retry:
    	MOVD $2, errn+16(FP) // return 2 - sign/verify was unsuccessful -- if sign, retry with new RN
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 891 bytes
    - Viewed (0)
Back to top