1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package org.bouncycastle.math.ec; public class ScaleYPointMap implements ECPointMap { protected final ECFieldElement scale; public ScaleYPointMap(ECFieldElement scale) { this.scale = scale; } public ECPoint map(ECPoint p) { return p.scaleY(scale); } }