Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for checkPub (0.13 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. docs/site-replication/run-replication-with-checksum-header.sh

    aws s3api --endpoint-url=https://localhost:9001 put-object --checksum-algorithm SHA256 --checksum-sha256 "${OBJ_CHKSUM}" --bucket test-bucket --key obj --body /tmp/data/obj --no-verify-ssl --profile enterprise
    
    split -n 10 /tmp/data/mpartobj
    CREATE_MPART_OUT=$(aws s3api --endpoint-url=https://localhost:9001 create-multipart-upload --bucket test-bucket --key mpartobj --checksum-algorithm SHA256 --no-verify-ssl --profile enterprise)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 08 16:24:15 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. .github/workflows/codeql-analysis.yml

            # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
    
        steps:
        - name: Checkout repository
          uses: actions/checkout@v4
          # Checkout must run before the caching key is computed using the `hashFiles` method
    
        - name: Cache Gradle Modules
          uses: actions/cache@v4
          with:
            path: |
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/hash/adler32/adler32.go

    	nmax = 5552
    )
    
    // The size of an Adler-32 checksum in bytes.
    const Size = 4
    
    // digest represents the partial evaluation of a checksum.
    // The low 16 bits are s1, the high 16 bits are s2.
    type digest uint32
    
    func (d *digest) Reset() { *d = 1 }
    
    // New returns a new hash.Hash32 computing the Adler-32 checksum. Its
    // Sum method will lay the value out in big-endian byte order. The
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. .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)
  10. pkg/kubelet/cm/devicemanager/checkpoint/checkpoint.go

    	cp.Checksum = checksum.New(cp.Data)
    	return json.Marshal(*cp)
    }
    
    // UnmarshalCheckpoint returns unmarshalled data
    func (cp *Data) UnmarshalCheckpoint(blob []byte) error {
    	return json.Unmarshal(blob, cp)
    }
    
    // VerifyChecksum verifies that passed checksum is same as calculated checksum
    func (cp *Data) VerifyChecksum() error {
    	return cp.Checksum.Verify(cp.Data)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top