GF2nONBElement.assign
Code IndexAdd Codota to your IDE (free)

Best Java code snippets using org.bouncycastle.pqc.math.linearalgebra.GF2nONBElement.assign (Showing top 14 results out of 315)

origin: org.bouncycastle/bcprov-debug-jdk15on

/**
 * assigns to this element the value <tt>val</tt>.
 *
 * @param val the value represented by a BigInteger
 */
private void assign(BigInteger val)
{
  assign(val.toByteArray());
}
origin: redfish64/TinyTravelTracker

/**
 * assigns to this element the value <tt>val</tt>.
 *
 * @param val the value represented by a BigInteger
 */
private void assign(BigInteger val)
{
  assign(val.toByteArray());
}
origin: redfish64/TinyTravelTracker

assign(pol);
origin: org.bouncycastle/bcprov-debug-jdk15on

assign(pol);
origin: org.bouncycastle/bcprov-debug-jdk15on

assign(pol);
origin: redfish64/TinyTravelTracker

assign(pol);
origin: redfish64/TinyTravelTracker

/**
 * Construct a new GF2nONBElement from its encoding.
 *
 * @param gf2n the field
 * @param e    the encoded element
 */
public GF2nONBElement(GF2nONBField gf2n, byte[] e)
{
  mField = gf2n;
  mDegree = mField.getDegree();
  mLength = gf2n.getONBLength();
  mBit = gf2n.getONBBit();
  mPol = new long[mLength];
  assign(e);
}
origin: redfish64/TinyTravelTracker

/**
 * Construct the element of the field <tt>gf2n</tt> with the specified
 * value <tt>val</tt>.
 *
 * @param gf2n the field
 * @param val  the value represented by a BigInteger
 */
public GF2nONBElement(GF2nONBField gf2n, BigInteger val)
{
  mField = gf2n;
  mDegree = mField.getDegree();
  mLength = gf2n.getONBLength();
  mBit = gf2n.getONBBit();
  mPol = new long[mLength];
  assign(val);
}
origin: org.bouncycastle/bcprov-debug-jdk15on

/**
 * Construct a new GF2nONBElement from its encoding.
 *
 * @param gf2n the field
 * @param e    the encoded element
 */
public GF2nONBElement(GF2nONBField gf2n, byte[] e)
{
  mField = gf2n;
  mDegree = mField.getDegree();
  mLength = gf2n.getONBLength();
  mBit = gf2n.getONBBit();
  mPol = new long[mLength];
  assign(e);
}
origin: org.bouncycastle/bcprov-debug-jdk15on

/**
 * Construct the element of the field <tt>gf2n</tt> with the specified
 * value <tt>val</tt>.
 *
 * @param gf2n the field
 * @param val  the value represented by a BigInteger
 */
public GF2nONBElement(GF2nONBField gf2n, BigInteger val)
{
  mField = gf2n;
  mDegree = mField.getDegree();
  mLength = gf2n.getONBLength();
  mBit = gf2n.getONBBit();
  mPol = new long[mLength];
  assign(val);
}
origin: org.bouncycastle/bcprov-debug-jdk15on

/**
 * Copy constructor.
 *
 * @param gf2n the field
 */
public GF2nONBElement(GF2nONBElement gf2n)
{
  mField = gf2n.mField;
  mDegree = mField.getDegree();
  mLength = ((GF2nONBField)mField).getONBLength();
  mBit = ((GF2nONBField)mField).getONBBit();
  mPol = new long[mLength];
  assign(gf2n.getElement());
}
origin: redfish64/TinyTravelTracker

/**
 * Copy constructor.
 *
 * @param gf2n the field
 */
public GF2nONBElement(GF2nONBElement gf2n)
{
  mField = gf2n.mField;
  mDegree = mField.getDegree();
  mLength = ((GF2nONBField)mField).getONBLength();
  mBit = ((GF2nONBField)mField).getONBBit();
  mPol = new long[mLength];
  assign(gf2n.getElement());
}
origin: org.bouncycastle/bcprov-debug-jdk15on

assign(c);
origin: redfish64/TinyTravelTracker

assign(c);
org.bouncycastle.pqc.math.linearalgebraGF2nONBElementassign

Javadoc

assigns to this element the value val.

Popular methods of GF2nONBElement

  • <init>
    Construct the element of the field gf2n with the specified value val.
  • ONE
    Create the one element.
  • ZERO
    Create the zero element.
  • addToThis
    Compute this + addend (overwrite this).
  • equals
    Compare this element with another object.
  • getElement
  • getElementReverseOrder
    Returns the ONB representation of this element. The Bit-Order is exchanged (according to 1363)!
  • increaseThis
    increases this element.
  • invertThis
    Multiplicatively invert of this element (overwrite this).
  • isZero
    Checks whether this element is zero.
  • multiplyThisBy
    Compute this * factor (overwrite this).
  • reverseOrder
    Reverses the bit-order in this element(according to 1363). This is a hack!
  • multiplyThisBy,
  • reverseOrder,
  • squareRootThis,
  • squareThis,
  • testBit,
  • toByteArray,
  • toString,
  • trace

Popular in Java

  • Reading from database using SQL prepared statement
  • getSystemService (Context)
  • setRequestProperty (URLConnection)
  • addToBackStack (FragmentTransaction)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo

For IntelliJ IDEA,
Android Studio or Eclipse

  • Search for JavaScript code betaCodota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutBlogContact Us
  • Plugin user guideTerms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)