- Initial commit
This commit is contained in:
47
Runtime/3rdParty/BouncyCastle/math/ec/multiplier/FixedPointPreCompInfo.cs
vendored
Normal file
47
Runtime/3rdParty/BouncyCastle/math/ec/multiplier/FixedPointPreCompInfo.cs
vendored
Normal file
@ -0,0 +1,47 @@
|
||||
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
||||
#pragma warning disable
|
||||
using System;
|
||||
|
||||
namespace Best.HTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Multiplier
|
||||
{
|
||||
/**
|
||||
* Class holding precomputation data for fixed-point multiplications.
|
||||
*/
|
||||
public class FixedPointPreCompInfo
|
||||
: PreCompInfo
|
||||
{
|
||||
protected ECPoint m_offset = null;
|
||||
|
||||
/**
|
||||
* Lookup table for the precomputed <code>ECPoint</code>s used for a fixed point multiplication.
|
||||
*/
|
||||
protected ECLookupTable m_lookupTable = null;
|
||||
|
||||
/**
|
||||
* The width used for the precomputation. If a larger width precomputation
|
||||
* is already available this may be larger than was requested, so calling
|
||||
* code should refer to the actual width.
|
||||
*/
|
||||
protected int m_width = -1;
|
||||
|
||||
public virtual ECLookupTable LookupTable
|
||||
{
|
||||
get { return m_lookupTable; }
|
||||
set { this.m_lookupTable = value; }
|
||||
}
|
||||
|
||||
public virtual ECPoint Offset
|
||||
{
|
||||
get { return m_offset; }
|
||||
set { this.m_offset = value; }
|
||||
}
|
||||
|
||||
public virtual int Width
|
||||
{
|
||||
get { return m_width; }
|
||||
set { this.m_width = value; }
|
||||
}
|
||||
}
|
||||
}
|
||||
#pragma warning restore
|
||||
#endif
|
||||
Reference in New Issue
Block a user