summary refs log tree commit diff
path: root/crypto/src/math/ec/AbstractECLookupTable.cs
blob: fbd272d0c9db7a3aecc84efd837fe4c488f51b88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;

namespace Org.BouncyCastle.Math.EC
{
    public abstract class AbstractECLookupTable
        : ECLookupTable
    {
        public abstract ECPoint Lookup(int index);
        public abstract int Size { get; }

        public virtual ECPoint LookupVar(int index)
        {
            return Lookup(index);
        }
    }
}