You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
379 B
21 lines
379 B
1 month ago
|
using System;
|
||
|
|
||
|
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);
|
||
|
}
|
||
|
}
|
||
|
}
|