Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 45 of 45 for boringcrypto (0.26 sec)

  1. src/internal/goexperiment/flags.go

    // objabi.experimentBaseline.
    //
    // If you change this struct definition, run "go generate".
    type Flags struct {
    	FieldTrack        bool
    	PreemptibleLoops  bool
    	StaticLockRanking bool
    	BoringCrypto      bool
    
    	// Regabi is split into several sub-experiments that can be
    	// enabled individually. Not all combinations work.
    	// The "regabi" GOEXPERIMENT is an alias for all "working"
    	// subexperiments.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 16:19:47 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/crypto/internal/boring/ecdh.go

    // Copyright 2022 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 && linux && (amd64 || arm64) && !android && !msan
    
    package boring
    
    // #include "goboringcrypto.h"
    import "C"
    import (
    	"errors"
    	"runtime"
    	"unsafe"
    )
    
    type PublicKeyECDH struct {
    	curve string
    	key   *C.GO_EC_POINT
    	group *C.GO_EC_GROUP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. src/crypto/hmac/hmac.go

    // or [encoding.BinaryUnmarshaler].
    func New(h func() hash.Hash, key []byte) hash.Hash {
    	if boring.Enabled {
    		hm := boring.NewHMAC(h, key)
    		if hm != nil {
    			return hm
    		}
    		// BoringCrypto did not recognize h, so fall through to standard Go code.
    	}
    	hm := new(hmac)
    	hm.outer = h()
    	hm.inner = h()
    	unique := true
    	func() {
    		defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. src/cmd/internal/codesign/codesign.go

    	// emit the identifier
    	outp = puts(outp, []byte(id+"\000"))
    
    	// emit hashes
    	// NOTE(rsc): These must be SHA256, but for cgo bootstrap reasons
    	// we cannot import crypto/sha256 when GOEXPERIMENT=boringcrypto
    	// and the host is linux/amd64. So we use NOT-SHA256
    	// and then apply a NOT ourselves to get SHA256. Sigh.
    	var buf [pageSize]byte
    	h := notsha256.New()
    	p := 0
    	for p < int(codeSize) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:19 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  5. src/crypto/internal/boring/LICENSE

    The Go source code and supporting files in this directory
    are covered by the usual Go license (see ../../../../LICENSE).
    
    When building with GOEXPERIMENT=boringcrypto, the following applies.
    
    The goboringcrypto_linux_amd64.syso object file is built
    from BoringSSL source code by build/build.sh and is covered
    by the BoringSSL license reproduced below and also at
    https://boringssl.googlesource.com/boringssl/+/fips-20190808/LICENSE.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top