init commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
namespace Org.BouncyCastle.Math.EC;
|
||||
|
||||
public class ScaleYPointMap : ECPointMap
|
||||
{
|
||||
protected readonly ECFieldElement scale;
|
||||
|
||||
public ScaleYPointMap(ECFieldElement scale)
|
||||
{
|
||||
this.scale = scale;
|
||||
}
|
||||
|
||||
public virtual ECPoint Map(ECPoint p)
|
||||
{
|
||||
return p.ScaleY(scale);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user