Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for bigalg (0.11 sec)

  1. src/crypto/tls/auth.go

    				sigAlgs = append(sigAlgs, candidate.scheme)
    			}
    		}
    	case ed25519.PublicKey:
    		sigAlgs = []SignatureScheme{Ed25519}
    	default:
    		return nil
    	}
    
    	if cert.SupportedSignatureAlgorithms != nil {
    		var filteredSigAlgs []SignatureScheme
    		for _, sigAlg := range sigAlgs {
    			if isSupportedSignatureAlgorithm(sigAlg, cert.SupportedSignatureAlgorithms) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. src/crypto/x509/oid.go

    			bigVal = bigVal.Lsh(bigVal, bitsPerByte).Or(bigVal, big.NewInt(int64(curVal)))
    			if valEnd {
    				if start == 0 {
    					b.WriteString("2.")
    					bigVal = bigVal.Sub(bigVal, big.NewInt(80))
    				}
    				numBuf = bigVal.Append(numBuf, 10)
    				b.Write(numBuf)
    				numBuf = numBuf[:0]
    				val = 0
    				start = i + 1
    				overflow = false
    			}
    			continue
    		}
    		val <<= bitsPerByte
    		val |= uint64(curVal)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 19:10:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/crypto/x509/x509.go

    			}
    
    			return sigAlgo, pkix.AlgorithmIdentifier{
    				Algorithm:  details.oid,
    				Parameters: details.params,
    			}, nil
    		}
    	}
    
    	return 0, ai, errors.New("x509: unknown SignatureAlgorithm")
    }
    
    func signTBS(tbs []byte, key crypto.Signer, sigAlg SignatureAlgorithm, rand io.Reader) ([]byte, error) {
    	signed := tbs
    	hashFunc := sigAlg.hashFunc()
    	if hashFunc != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  4. src/crypto/tls/handshake_messages.go

    	if m.hasSignatureAlgorithm {
    		n := len(m.supportedSignatureAlgorithms) * 2
    		y[0] = uint8(n >> 8)
    		y[1] = uint8(n)
    		y = y[2:]
    		for _, sigAlgo := range m.supportedSignatureAlgorithms {
    			y[0] = uint8(sigAlgo >> 8)
    			y[1] = uint8(sigAlgo)
    			y = y[2:]
    		}
    	}
    
    	y[0] = uint8(casLength >> 8)
    	y[1] = uint8(casLength)
    	y = y[2:]
    	for _, ca := range m.certificateAuthorities {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_server_tls13.go

    		return err
    	}
    
    	certVerifyMsg := new(certificateVerifyMsg)
    	certVerifyMsg.hasSignatureAlgorithm = true
    	certVerifyMsg.signatureAlgorithm = hs.sigAlg
    
    	sigType, sigHash, err := typeAndHashFromSignatureScheme(hs.sigAlg)
    	if err != nil {
    		return c.sendAlert(alertInternalError)
    	}
    
    	signed := signedMessage(sigHash, serverSignatureContext, hs.transcript)
    	signOpts := crypto.SignerOpts(sigHash)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  6. src/crypto/x509/x509_test.go

    	}
    }
    
    func TestCreateCertificateLegacy(t *testing.T) {
    	sigAlg := MD5WithRSA
    	template := &Certificate{
    		SerialNumber:       big.NewInt(10),
    		DNSNames:           []string{"example.com"},
    		SignatureAlgorithm: sigAlg,
    	}
    	_, err := CreateCertificate(rand.Reader, template, template, testPrivateKey.Public(), &brokenSigner{testPrivateKey.Public()})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  7. src/crypto/tls/handshake_server_test.go

    	}
    	runServerTestTLS12(t, test)
    	runServerTestTLS13(t, test)
    
    	test = &serverTest{
    		name:                          "RSA-RSAPSS-TooSmall",
    		command:                       []string{"openssl", "s_client", "-no_ticket", "-ciphersuites", "TLS_CHACHA20_POLY1305_SHA256", "-sigalgs", "rsa_pss_rsae_sha512"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  8. src/crypto/tls/common.go

    		return defaultSupportedSignatureAlgorithms
    	}
    	return defaultSupportedSignatureAlgorithmsFIPS
    }
    
    func isSupportedSignatureAlgorithm(sigAlg SignatureScheme, supportedSignatureAlgorithms []SignatureScheme) bool {
    	for _, s := range supportedSignatureAlgorithms {
    		if s == sigAlg {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  9. RELEASE.md

        *   Added `TensorSpec` support for CompositeTensors.
        *   Added `tf.linalg.tridiagonal_solve` op.
        *   Added partial_pivoting input parameter to `tf.linalg.tridiagonal_solve`.
        *   Added gradient to `tf.linalg.tridiagonal_solve`.
        *   Added `tf.linalg.tridiagonal_mul op`.
        *   Added GPU implementation of `tf.linalg.tridiagonal_matmul`.
        *   Added `LinearOperatorToeplitz`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  10. src/runtime/stubs.go

    // It is common to use a func literal as the argument, in order
    // to share inputs and outputs with the code around the call
    // to system stack:
    //
    //	... set up y ...
    //	systemstack(func() {
    //		x = bigcall(y)
    //	})
    //	... use x ...
    //
    //go:noescape
    func systemstack(fn func())
    
    //go:nosplit
    //go:nowritebarrierrec
    func badsystemstack() {
    	writeErrStr("fatal: systemstack called from unexpected goroutine")
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top