Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for Vector3 (0.07 sec)

  1. src/crypto/internal/hpke/hpke_test.go

    	vectorsJSON, err := os.ReadFile("testdata/rfc9180-vectors.json")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var vectors []struct {
    		Name        string
    		Setup       string
    		Encryptions string
    	}
    	if err := json.Unmarshal(vectorsJSON, &vectors); err != nil {
    		t.Fatal(err)
    	}
    
    	for _, vector := range vectors {
    		t.Run(vector.Name, func(t *testing.T) {
    			setup := parseVectorSetup(vector.Setup)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/internal/poly1305/sum_s390x.go

    )
    
    // updateVX is an assembly implementation of Poly1305 that uses vector
    // instructions. It must only be called if the vector facility (vx) is
    // available.
    //
    //go:noescape
    func updateVX(state *macState, msg []byte)
    
    // mac is a replacement for macGeneric that uses a larger buffer and redirects
    // calls that would have gone to updateGeneric to updateVX if the vector
    // facility is installed.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. src/crypto/rsa/pss_test.go

    	}
    
    	if err = EMSAPSSVerify(hashed, encoded, 1023, len(salt), sha1.New()); err != nil {
    		t.Errorf("Bad verification: %s", err)
    	}
    }
    
    // TestPSSGolden tests all the test vectors in pss-vect.txt from
    // ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-1/pkcs-1v2-1-vec.zip
    func TestPSSGolden(t *testing.T) {
    	inFile, err := os.Open("testdata/pss-vect.txt.bz2")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. src/math/big/arith_loong64.s

    // license that can be found in the LICENSE file.
    
    //go:build !math_big_pure_go && loong64
    
    #include "textflag.h"
    
    // This file provides fast assembly versions for the elementary
    // arithmetic operations on vectors implemented in arith.go.
    
    TEXT ·addVV(SB),NOSPLIT,$0
    	JMP ·addVV_g(SB)
    
    TEXT ·subVV(SB),NOSPLIT,$0
    	JMP ·subVV_g(SB)
    
    TEXT ·addVW(SB),NOSPLIT,$0
    	JMP ·addVW_g(SB)
    
    TEXT ·subVW(SB),NOSPLIT,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 749 bytes
    - Viewed (0)
  5. src/math/big/arith_mips64x.s

    // license that can be found in the LICENSE file.
    
    //go:build !math_big_pure_go && (mips64 || mips64le)
    
    #include "textflag.h"
    
    // This file provides fast assembly versions for the elementary
    // arithmetic operations on vectors implemented in arith.go.
    
    TEXT ·addVV(SB),NOSPLIT,$0
    	JMP ·addVV_g(SB)
    
    TEXT ·subVV(SB),NOSPLIT,$0
    	JMP ·subVV_g(SB)
    
    TEXT ·addVW(SB),NOSPLIT,$0
    	JMP ·addVW_g(SB)
    
    TEXT ·subVW(SB),NOSPLIT,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 763 bytes
    - Viewed (0)
  6. src/math/big/arith_riscv64.s

    // license that can be found in the LICENSE file.
    
    //go:build !math_big_pure_go && riscv64
    
    #include "textflag.h"
    
    // This file provides fast assembly versions for the elementary
    // arithmetic operations on vectors implemented in arith.go.
    
    TEXT ·addVV(SB),NOSPLIT,$0
    	JMP ·addVV_g(SB)
    
    TEXT ·subVV(SB),NOSPLIT,$0
    	JMP ·subVV_g(SB)
    
    TEXT ·addVW(SB),NOSPLIT,$0
    	JMP ·addVW_g(SB)
    
    TEXT ·subVW(SB),NOSPLIT,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 750 bytes
    - Viewed (0)
  7. src/crypto/subtle/xor_ppc64x.s

    	MOVD	$16, R10
    	MOVD	$32, R14
    	MOVD	$48, R15
    	ANDCC	$63, R6, R9	// Check for tailing bytes for later
    	PCALIGN $16
    	// Case for >= 64 bytes
    	// Process 64 bytes per iteration
    	// Load 4 vectors of a and b
    	// XOR the corresponding vectors
    	// from a and b and store the result
    loop64:
    	LXVD2X	(R4)(R8), VS32
    	LXVD2X	(R4)(R10), VS34
    	LXVD2X	(R4)(R14), VS36
    	LXVD2X	(R4)(R15), VS38
    	LXVD2X	(R5)(R8), VS33
    	LXVD2X	(R5)(R10), VS35
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/internal/cpu/cpu_arm64_other.go

    //go:build arm64 && !linux && !freebsd && !android && (!darwin || ios) && !openbsd
    
    package cpu
    
    func osInit() {
    	// Other operating systems do not support reading HWCap from auxiliary vector,
    	// reading privileged aarch64 system registers or sysctl in user space to detect
    	// CPU features at runtime.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 08 15:07:46 UTC 2022
    - 466 bytes
    - Viewed (0)
  9. src/strconv/strconv_test.go

    	_, errUint64 := ParseUint("INVALID", 10, 64)
    
    	vectors := []struct {
    		err  error  // Input error
    		want string // Function name wanted
    	}{
    		{errInt, "Atoi"},
    		{errBool, "ParseBool"},
    		{errFloat, "ParseFloat"},
    		{errInt64, "ParseInt"},
    		{errUint64, "ParseUint"},
    	}
    
    	for _, v := range vectors {
    		nerr, ok := v.err.(*NumError)
    		if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 20:29:22 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/crypto/chacha20/chacha_s390x.go

    package chacha20
    
    import "golang.org/x/sys/cpu"
    
    var haveAsm = cpu.S390X.HasVX
    
    const bufSize = 256
    
    // xorKeyStreamVX is an assembly implementation of XORKeyStream. It must only
    // be called when the vector facility is available. Implementation in asm_s390x.s.
    //
    //go:noescape
    func xorKeyStreamVX(dst, src []byte, key *[8]uint32, nonce *[3]uint32, counter *uint32)
    
    func (c *Cipher) xorKeyStreamBlocks(dst, src []byte) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 743 bytes
    - Viewed (0)
Back to top