Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 637 for inversion (0.17 sec)

  1. src/crypto/internal/nistec/p256_ordinv.go

    	}
    
    	x := new(p256OrdElement)
    	p256OrdBigToLittle(x, (*[32]byte)(k))
    	p256OrdReduce(x)
    
    	// Inversion is implemented as exponentiation by n - 2, per Fermat's little theorem.
    	//
    	// The sequence of 38 multiplications and 254 squarings is derived from
    	// https://briansmith.org/ecc-inversion-addition-chains-01#p256_scalar_inversion
    	_1 := new(p256OrdElement)
    	_11 := new(p256OrdElement)
    	_101 := new(p256OrdElement)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/crypto/internal/nistec/fiat/p224_invert.go

    // Code generated by addchain. DO NOT EDIT.
    
    package fiat
    
    // Invert sets e = 1/x, and returns e.
    //
    // If x == 0, Invert returns e = 0.
    func (e *P224Element) Invert(x *P224Element) *P224Element {
    	// Inversion is implemented as exponentiation with exponent p − 2.
    	// The sequence of 11 multiplications and 223 squarings is derived from the
    	// following addition chain generated with github.com/mmcloughlin/addchain v0.4.0.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. src/crypto/internal/nistec/fiat/p256_invert.go

    // Code generated by addchain. DO NOT EDIT.
    
    package fiat
    
    // Invert sets e = 1/x, and returns e.
    //
    // If x == 0, Invert returns e = 0.
    func (e *P256Element) Invert(x *P256Element) *P256Element {
    	// Inversion is implemented as exponentiation with exponent p − 2.
    	// The sequence of 12 multiplications and 255 squarings is derived from the
    	// following addition chain generated with github.com/mmcloughlin/addchain v0.4.0.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 05 21:53:03 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  4. src/math/rand/zipf.go

    // Copyright 2009 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.
    
    // W.Hormann, G.Derflinger:
    // "Rejection-Inversion to Generate Variates
    // from Monotone Discrete Distributions"
    // http://eeyore.wu-wien.ac.at/papers/96-04-04.wh-der.ps.gz
    
    package rand
    
    import "math"
    
    // A Zipf generates Zipf distributed variates.
    type Zipf struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. src/crypto/internal/nistec/fiat/p521_invert.go

    // Code generated by addchain. DO NOT EDIT.
    
    package fiat
    
    // Invert sets e = 1/x, and returns e.
    //
    // If x == 0, Invert returns e = 0.
    func (e *P521Element) Invert(x *P521Element) *P521Element {
    	// Inversion is implemented as exponentiation with exponent p − 2.
    	// The sequence of 13 multiplications and 520 squarings is derived from the
    	// following addition chain generated with github.com/mmcloughlin/addchain v0.4.0.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  6. src/math/rand/v2/zipf.go

    // Copyright 2009 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.
    
    // W.Hormann, G.Derflinger:
    // "Rejection-Inversion to Generate Variates
    // from Monotone Discrete Distributions"
    // http://eeyore.wu-wien.ac.at/papers/96-04-04.wh-der.ps.gz
    
    package rand
    
    import "math"
    
    // A Zipf generates Zipf distributed variates.
    type Zipf struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 14:29:30 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. src/crypto/internal/nistec/fiat/p384_invert.go

    // Code generated by addchain. DO NOT EDIT.
    
    package fiat
    
    // Invert sets e = 1/x, and returns e.
    //
    // If x == 0, Invert returns e = 0.
    func (e *P384Element) Invert(x *P384Element) *P384Element {
    	// Inversion is implemented as exponentiation with exponent p − 2.
    	// The sequence of 15 multiplications and 383 squarings is derived from the
    	// following addition chain generated with github.com/mmcloughlin/addchain v0.4.0.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  8. operator/pkg/helmreconciler/common.go

    	// IstioComponentLabelStr indicates which Istio component a resource belongs to.
    	IstioComponentLabelStr = name.OperatorAPINamespace + "/component"
    	// istioVersionLabelStr indicates the Istio version of the installation.
    	istioVersionLabelStr = name.OperatorAPINamespace + "/version"
    )
    
    var (
    	// TestMode sets the controller into test mode. Used for unit tests to bypass things like waiting on resources.
    	TestMode = false
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 12 17:12:54 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. src/crypto/elliptic/nistec.go

    	// Use SetBytes to check that data encodes a valid point.
    	_, err := curve.newPoint().SetBytes(data)
    	if err != nil {
    		return nil, nil
    	}
    	// We don't use pointToAffine because it involves an expensive field
    	// inversion to convert from Jacobian to affine coordinates, which we
    	// already have.
    	byteLen := (curve.params.BitSize + 7) / 8
    	x = new(big.Int).SetBytes(data[1 : 1+byteLen])
    	y = new(big.Int).SetBytes(data[1+byteLen:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 16:19:34 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  10. test/codegen/condmove.go

    	a := 1.0
    	if x <= y {
    		a = 2.0
    	}
    	// amd64:-"CMOV"
    	// arm64:-"CSEL"
    	// ppc64x:-"ISEL"
    	// wasm:-"Select"
    	return a
    }
    
    // On amd64, the following patterns trigger comparison inversion.
    // Test that we correctly invert the CMOV condition
    var gsink int64
    var gusink uint64
    
    func cmovinvert1(x, y int64) int64 {
    	if x < gsink {
    		y = -y
    	}
    	// amd64:"CMOVQGT"
    	return y
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:57:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top