blob: 7ec2cbb95dc07d7611e95a3b9c85dc65239931a4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
using System;
namespace Org.BouncyCastle.Math.EC.Multiplier
{
internal class ValidityPreCompInfo
: PreCompInfo
{
internal static readonly string PRECOMP_NAME = "bc_validity";
private bool failed = false;
private bool curveEquationPassed = false;
private bool orderPassed = false;
internal bool HasFailed()
{
return failed;
}
internal void ReportFailed()
{
failed = true;
}
internal bool HasCurveEquationPassed()
{
return curveEquationPassed;
}
internal void ReportCurveEquationPassed()
{
curveEquationPassed = true;
}
internal bool HasOrderPassed()
{
return orderPassed;
}
internal void ReportOrderPassed()
{
orderPassed = true;
}
}
}
|