Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ScaleXPointMap.java « ec « math « spongycastle « org « java « main « src « core - gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6630c4f9429afdacc3c3b247f4261c72444d199d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package org.spongycastle.math.ec;

public class ScaleXPointMap implements ECPointMap
{
    protected final ECFieldElement scale;

    public ScaleXPointMap(ECFieldElement scale)
    {
        this.scale = scale;
    }

    public ECPoint map(ECPoint p)
    {
        return p.scaleX(scale);
    }
}