Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,091 for inversion (0.14 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/internal/edwards25519/field/fe_test.go

    	r.reduce()
    
    	if one != r {
    		t.Errorf("inversion identity failed, got: %x", r)
    	}
    
    	var bytes [32]byte
    
    	_, err := io.ReadFull(rand.Reader, bytes[:])
    	if err != nil {
    		t.Fatal(err)
    	}
    	x.SetBytes(bytes[:])
    
    	xinv.Invert(&x)
    	r.Multiply(&x, &xinv)
    	r.reduce()
    
    	if one != r {
    		t.Errorf("random inversion identity failed, got: %x for field element %x", r, x)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  10. src/image/jpeg/reader.go

    	if d.adobeTransform != adobeTransformUnknown {
    		// Convert the YCbCr part of the YCbCrK to RGB, invert the RGB to get
    		// CMY, and patch in the original K. The RGB to CMY inversion cancels
    		// out the 'Adobe inversion' described in the applyBlack doc comment
    		// above, so in practice, only the fourth channel (black) is inverted.
    		bounds := d.img3.Bounds()
    		img := image.NewRGBA(bounds)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 22.5K bytes
    - Viewed (0)
Back to top