Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,148 for 2047 (0.04 sec)

  1. src/crypto/x509/boring.go

    func boringAllowCert(c *Certificate) bool {
    	if !fipstls.Required() {
    		return true
    	}
    
    	// The key must be RSA 2048, RSA 3072, RSA 4096,
    	// or ECDSA P-256, P-384, P-521.
    	switch k := c.PublicKey.(type) {
    	default:
    		return false
    	case *rsa.PublicKey:
    		if size := k.N.BitLen(); size != 2048 && size != 3072 && size != 4096 {
    			return false
    		}
    	case *ecdsa.PublicKey:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 993 bytes
    - Viewed (0)
  2. test/fixedbugs/issue21317.go

    // run
    
    //go:build !js && !wasip1 && gc
    
    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // As of "Mon 6 Nov 2017", run.go doesn't yet have proper
    // column matching so instead match the output manually
    // by exec-ing
    
    package main
    
    import (
    	"fmt"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"strings"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. src/crypto/tls/boring.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build boringcrypto
    
    package tls
    
    import "crypto/internal/boring/fipstls"
    
    // needFIPS returns fipstls.Required(), which is not available without the
    // boringcrypto build tag.
    func needFIPS() bool {
    	return fipstls.Required()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 393 bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/pagesize_unix.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
    
    // For Unix, get the pagesize from the runtime.
    
    package unix
    
    import "syscall"
    
    func Getpagesize() int {
    	return syscall.Getpagesize()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 396 bytes
    - Viewed (0)
  5. src/crypto/sha256/sha256block_arm64.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !purego
    
    package sha256
    
    import "internal/cpu"
    
    var k = _K
    
    //go:noescape
    func sha256block(h []uint32, p []byte, k []uint32)
    
    func block(dig *digest, p []byte) {
    	if !cpu.ARM64.HasSHA2 {
    		blockGeneric(dig, p)
    	} else {
    		h := dig.h[:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 435 bytes
    - Viewed (0)
  6. src/crypto/sha1/sha1block_arm64.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !purego
    
    package sha1
    
    import "internal/cpu"
    
    var k = []uint32{
    	0x5A827999,
    	0x6ED9EBA1,
    	0x8F1BBCDC,
    	0xCA62C1D6,
    }
    
    //go:noescape
    func sha1block(h []uint32, p []byte, k []uint32)
    
    func block(dig *digest, p []byte) {
    	if !cpu.ARM64.HasSHA1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 490 bytes
    - Viewed (0)
  7. src/crypto/tls/boring_test.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build boringcrypto
    
    package tls
    
    import (
    	"crypto/ecdsa"
    	"crypto/elliptic"
    	"crypto/internal/boring/fipstls"
    	"crypto/rand"
    	"crypto/rsa"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"encoding/pem"
    	"fmt"
    	"internal/obscuretestdata"
    	"math/big"
    	"net"
    	"runtime"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. test/fixedbugs/issue22794.go

    // errorcheck
    
    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    type it struct {
    	Floats bool
    	inner  string
    }
    
    func main() {
    	i1 := it{Floats: true}
    	if i1.floats { // ERROR "(type it .* field or method floats, but does have field Floats)|undefined field or method"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 16:41:56 UTC 2024
    - 615 bytes
    - Viewed (0)
  9. src/crypto/sha256/sha256block_amd64.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !purego
    
    package sha256
    
    import "internal/cpu"
    
    var useAVX2 = cpu.X86.HasAVX2 && cpu.X86.HasBMI2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 307 bytes
    - Viewed (0)
  10. cmd/update_test.go

    	utcLoc, _ := time.LoadLocation("")
    	testCases := []struct {
    		t      time.Time
    		tag    string
    		errStr string
    	}{
    		{
    			time.Date(2017, time.September, 29, 19, 16, 56, 0, utcLoc),
    			"RELEASE.2017-09-29T19-16-56Z", "",
    		},
    		{
    			time.Date(2017, time.August, 5, 0, 0, 53, 0, utcLoc),
    			"RELEASE.2017-08-05T00-00-53Z", "",
    		},
    		{
    			time.Now().UTC(), "2017-09-29T19:16:56Z",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top