$27 GRAYBYTE WORDPRESS FILE MANAGER $73

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/lib/golang/src/crypto/internal/fips140/subtle/

HOME
Current File : /lib/golang/src/crypto/internal/fips140/subtle//xor_loong64.go
// Copyright 2025 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 subtle

import (
	"crypto/internal/fips140deps/cpu"
	"crypto/internal/impl"
)

var useLSX = cpu.LOONG64HasLSX
var useLASX = cpu.LOONG64HasLASX

func init() {
	impl.Register("subtle", "LSX", &useLSX)
	impl.Register("subtle", "LASX", &useLASX)
}

//go:noescape
func xorBytesBasic(dst, a, b *byte, n int)

//go:noescape
func xorBytesLSX(dst, a, b *byte, n int)

//go:noescape
func xorBytesLASX(dst, a, b *byte, n int)

func xorBytes(dst, a, b *byte, n int) {
	if useLASX {
		xorBytesLASX(dst, a, b, n)
	} else if useLSX {
		xorBytesLSX(dst, a, b, n)
	} else {
		xorBytesBasic(dst, a, b, n)
	}
}

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
16 Dec 2025 9.34 PM
root / root
0755
constant_time.go
2.651 KB
4 Dec 2025 6.06 PM
root / root
0644
xor.go
0.859 KB
4 Dec 2025 6.06 PM
root / root
0644
xor_amd64.s
1.352 KB
4 Dec 2025 6.06 PM
root / root
0644
xor_arm64.s
1.484 KB
4 Dec 2025 6.06 PM
root / root
0644
xor_asm.go
0.331 KB
4 Dec 2025 6.06 PM
root / root
0644
xor_generic.go
1.732 KB
4 Dec 2025 6.06 PM
root / root
0644
xor_loong64.go
0.762 KB
4 Dec 2025 6.06 PM
root / root
0644
xor_loong64.s
6.663 KB
4 Dec 2025 6.06 PM
root / root
0644
xor_mips64x.s
2.313 KB
4 Dec 2025 6.06 PM
root / root
0644
xor_mipsx.s
3.229 KB
4 Dec 2025 6.06 PM
root / root
0644
xor_ppc64x.s
2.947 KB
4 Dec 2025 6.06 PM
root / root
0644
xor_riscv64.s
2.749 KB
4 Dec 2025 6.06 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF