Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 246 for purego (0.1 sec)

  1. src/crypto/internal/bigmod/nat_noasm.go

    // Copyright 2023 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 || !(386 || amd64 || arm || arm64 || ppc64 || ppc64le || riscv64 || s390x)
    
    package bigmod
    
    import "unsafe"
    
    func addMulVVW1024(z, x *uint, y uint) (c uint) {
    	return addMulVVW(unsafe.Slice(z, 1024/_W), unsafe.Slice(x, 1024/_W), y)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 07:52:41 UTC 2023
    - 664 bytes
    - Viewed (0)
  2. src/crypto/sha256/sha256block_decl.go

    // Copyright 2013 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 (386 || amd64 || s390x || ppc64le || ppc64) && !purego
    
    package sha256
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 291 bytes
    - Viewed (0)
  3. src/crypto/internal/edwards25519/field/fe_arm64.go

    // Copyright (c) 2020 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 field
    
    //go:noescape
    func carryPropagate(v *Element)
    
    func (v *Element) carryPropagate() *Element {
    	carryPropagate(v)
    	return v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 323 bytes
    - Viewed (0)
  4. src/crypto/md5/md5block_decl.go

    // Copyright 2013 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 (amd64 || 386 || arm || ppc64le || ppc64 || s390x || arm64) && !purego
    
    package md5
    
    const haveAsm = true
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 326 bytes
    - Viewed (0)
  5. src/crypto/sha256/fallback_test.go

    // Copyright 2016 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 s390x && !purego
    
    package sha256
    
    import (
    	"fmt"
    	"io"
    	"testing"
    )
    
    // Tests the fallback code path in case the optimized asm
    // implementation cannot be used.
    // See also TestBlockGeneric.
    func TestGenericPath(t *testing.T) {
    	if useAsm == false {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 894 bytes
    - Viewed (0)
  6. src/crypto/ecdsa/ecdsa_s390x_test.go

    // Copyright 2020 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 s390x && !purego
    
    package ecdsa
    
    import (
    	"crypto/elliptic"
    	"testing"
    )
    
    func TestNoAsm(t *testing.T) {
    	testingDisableKDSA = true
    	defer func() { testingDisableKDSA = false }()
    
    	curves := [...]elliptic.Curve{
    		elliptic.P256(),
    		elliptic.P384(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 834 bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/crypto/sha512/sha512block_arm64.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 !purego
    
    package sha512
    
    import "internal/cpu"
    
    func block(dig *digest, p []byte) {
    	if cpu.ARM64.HasSHA512 {
    		blockAsm(dig, p)
    		return
    	}
    	blockGeneric(dig, p)
    }
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 388 bytes
    - Viewed (0)
  10. src/crypto/sha512/sha512block_s390x.go

    // Copyright 2016 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 sha512
    
    import "internal/cpu"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 252 bytes
    - Viewed (0)
Back to top