Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nonAdjacentForm (0.37 sec)

  1. src/crypto/internal/edwards25519/scalar.go

    	nonzero |= nonzero >> 4
    	nonzero |= nonzero >> 2
    	nonzero |= nonzero >> 1
    	return int(^nonzero) & 1
    }
    
    // nonAdjacentForm computes a width-w non-adjacent form for this scalar.
    //
    // w must be between 2 and 8, or nonAdjacentForm will panic.
    func (s *Scalar) nonAdjacentForm(w uint) [256]int8 {
    	// This implementation is adapted from the one
    	// in curve25519-dalek and is documented there:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top