Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for p256NegCond (0.38 sec)

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

    		// Select the positive or negative root, as indicated by the least
    		// significant bit, based on the encoding type byte.
    		yy := new(p256Element)
    		p256FromMont(yy, &r.y)
    		cond := int(yy[0]&1) ^ int(b[0]&1)
    		p256NegCond(&r.y, cond)
    
    		r.z = p256One
    		return p.Set(&r), nil
    
    	default:
    		return nil, errors.New("invalid P256 point encoding")
    	}
    }
    
    // p256Polynomial sets y2 to x³ - 3x + b, and returns y2.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top