Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 246 for checkPub (0.17 sec)

  1. src/crypto/rsa/rsa.go

    	errPublicExponentLarge = errors.New("crypto/rsa: public exponent too large")
    )
    
    // checkPub sanity checks the public key before we use it.
    // We require pub.E to fit into a 32-bit integer so that we
    // do not have different behavior depending on whether
    // int is 32 or 64 bits. See also
    // https://www.imperialviolet.org/2012/03/16/rsae.html.
    func checkPub(pub *PublicKey) error {
    	if pub.N == nil {
    		return errPublicModulus
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. src/crypto/rsa/pkcs1v15.go

    // session keys is dangerous. Use RSA OAEP in new protocols.
    func EncryptPKCS1v15(random io.Reader, pub *PublicKey, msg []byte) ([]byte, error) {
    	randutil.MaybeReadByte(random)
    
    	if err := checkPub(pub); err != nil {
    		return nil, err
    	}
    	k := pub.Size()
    	if len(msg) > k-11 {
    		return nil, ErrMessageTooLong
    	}
    
    	if boring.Enabled && random == boring.RandReader {
    		bkey, err := boringPublicKey(pub)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. internal/hash/checksum.go

    	ChecksumSHA256
    	// ChecksumSHA1 indicates a SHA-1 checksum.
    	ChecksumSHA1
    	// ChecksumCRC32 indicates a CRC32 checksum with IEEE table.
    	ChecksumCRC32
    	// ChecksumCRC32C indicates a CRC32 checksum with Castagnoli table.
    	ChecksumCRC32C
    	// ChecksumInvalid indicates an invalid checksum.
    	ChecksumInvalid
    	// ChecksumMultipart indicates the checksum is from a multipart upload.
    	ChecksumMultipart
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 08 16:18:34 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. pkg/wasm/cache_test.go

    			getOptions: GetOptions{
    				Checksum:        cacheHitSum,
    				ResourceName:    "namespace.resource",
    				ResourceVersion: "0",
    				RequestTimeout:  time.Second * 10,
    			},
    			wantCachedModules: map[moduleKey]*cacheEntry{
    				{name: ts.URL, checksum: cacheHitSum}: {modulePath: "test.wasm"},
    			},
    			wantCachedChecksums: map[string]*checksumEntry{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  5. pkg/wasm/cache.go

    	}
    
    	if key.checksum == "" {
    		key.checksum = dChecksum
    		// check again if the cache is having the checksum.
    		if ce, _ := c.getEntry(key, true); ce != nil {
    			return ce, nil
    		}
    	} else if dChecksum != key.checksum {
    		wasmRemoteFetchCount.With(resultTag.Value(checksumMismatch)).Increment()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. .github/workflows/build.yml

    jobs:
      publish:
        runs-on: ubuntu-latest
        if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master'
    
        steps:
          - name: Checkout
            uses: actions/checkout@v4
    
          - name: Configure JDK
            uses: actions/setup-java@v4
            with:
              distribution: 'zulu'
              java-version: 11
    
          - name: Configure JDK
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 01:51:50 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. internal/hash/reader.go

    	}
    	return nil
    }
    
    // MD5Current returns the MD5 checksum of the content
    // that has been read so far.
    //
    // Calling MD5Current again after reading more data may
    // result in a different checksum.
    func (r *Reader) MD5Current() []byte {
    	if r.disableMD5 {
    		return r.checksum
    	}
    	return r.ETag()[:]
    }
    
    // SHA256 returns the SHA256 checksum set as reference value.
    //
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  8. operator/pkg/compare/compare_test.go

      labels:
        app: istio-ingressgateway
        release: istio`,
    			i:    []string{"metadata.annotations.checksum/config-volume"},
    			want: ``,
    		},
    		{
    			desc: "ignore checksum",
    			a: `apiVersion: autoscaling/v2
    kind: Deployment
    metadata:
      annotations:
        checksum/config-volume: 43d72e930ed33e3e01731f8bcbf31dbf02cb1c1fc53bcc09199ab45c0d031b60
      name: istio-ingressgateway
      namespace: istio-system
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 21 02:18:20 UTC 2022
    - 33K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                            // file...we'll try again with the MD5 checksum.
                            try {
                                verifyChecksum(md5ChecksumObserver, destination, temp, remotePath, ".md5", wagon);
                            } catch (ChecksumFailedException e) {
                                // if we also fail to verify based on the MD5 checksum, and the checksum transfer/read
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Sep 14 11:48:15 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy

      - On artifact bar-1.0.jar (org:bar:1.0) in repository 'maven': expected a 'sha1' checksum of 'also invalid' but was '${getChecksum(bar, "sha1")}'
      - On artifact foo-1.0.jar (org:foo:1.0) in repository 'maven': expected a 'sha1' checksum of 'invalid' but was '${getChecksum(foo, "sha1")}'
      - On artifact foo-1.0.pom (org:foo:1.0) in repository 'maven': expected a 'sha1' checksum of 'invalid' but was '${getChecksum(foo, "sha1", "pom")}'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:22 UTC 2024
    - 41.4K bytes
    - Viewed (0)
Back to top