- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for CondNeg (0.11 sec)
-
src/crypto/internal/edwards25519/tables.go
for j := 1; j <= 8; j++ { // Set dest = j*Q if |x| = j cond := subtle.ConstantTimeByteEq(xabs, uint8(j)) dest.Select(&v.points[j-1], dest, cond) } // Now dest = |x|*Q, conditionally negate to get x*Q dest.CondNeg(int(xmask & 1)) } // Set dest to x*Q, where -8 <= x <= 8, in constant time. func (v *affineLookupTable) SelectInto(dest *affineCached, x int8) { // Compute xabs = |x| xmask := x >> 7
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 05 21:02:45 UTC 2022 - 3.7K bytes - Viewed (0) -
src/crypto/internal/edwards25519/edwards25519.go
return v } // CondNeg negates v if cond == 1 and leaves it unchanged if cond == 0. func (v *projCached) CondNeg(cond int) *projCached { v.YplusX.Swap(&v.YminusX, cond) v.T2d.Select(new(field.Element).Negate(&v.T2d), &v.T2d, cond) return v } // CondNeg negates v if cond == 1 and leaves it unchanged if cond == 0. func (v *affineCached) CondNeg(cond int) *affineCached {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 13 19:21:54 UTC 2023 - 10.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/inst.go
case A0 <= r && r <= A7: return fmt.Sprintf("a%d", int(r-A0)) default: return fmt.Sprintf("Reg(%d)", int(r)) } } // CondReg is a bit or field in the condition register. type CondReg int8 const ( _ CondReg = iota // Condition Regster bits Cond0LT Cond0GT Cond0EQ Cond0SO Cond1LT Cond1GT Cond1EQ Cond1SO Cond2LT Cond2GT Cond2EQ
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 03 01:35:44 UTC 2021 - 4.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/decode.go
switch a.Type { default: return nil case TypeUnknown: return nil case TypeReg: return R0 + Reg(a.BitFields.Parse(i)) case TypeCondRegBit: return Cond0LT + CondReg(a.BitFields.Parse(i)) case TypeCondRegField: return CR0 + CondReg(a.BitFields.Parse(i)) case TypeFPReg: return F0 + Reg(a.BitFields.Parse(i)) case TypeVecReg: return V0 + Reg(a.BitFields.Parse(i)) case TypeVecSReg:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 17:16:14 UTC 2022 - 5.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/plan9.go
STD, STDU, STFD, STFDU, STFS, STFSU, STQ, HASHST, HASHSTP: return op + " " + strings.Join(args, ",") case FCMPU, FCMPO, CMPD, CMPDI, CMPLD, CMPLDI, CMPW, CMPWI, CMPLW, CMPLWI: crf := int(inst.Args[0].(CondReg) - CR0) cmpstr := op + " " + args[1] + "," + args[2] if crf != 0 { // print CRx as the final operand if not implied (i.e BF != 0) cmpstr += "," + args[0] } return cmpstr case LIS:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 17:16:14 UTC 2022 - 10.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/gnu.go
} } switch arg := arg.(type) { case Reg: if isLoadStoreOp(inst.Op) && argIndex == 1 && arg == R0 { return "0" } return arg.String() case CondReg: // The CondReg can either be found in a CMP, where the // condition register field is being set, or in an instruction // like a branch or isel that is testing a bit in a condition // register field.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 12.2K bytes - Viewed (0)