congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
BlockCipher.reset
Code IndexAdd Tabnine to your IDE (free)

How to use
reset
method
in
org.spongycastle.crypto.BlockCipher

Best Java code snippets using org.spongycastle.crypto.BlockCipher.reset (Showing top 20 results out of 315)

origin: com.madgag/sc-light-jdk15on

  /**
   * reset the underlying cipher. This leaves it in the same state
   * it was at after the last init (if there was one).
   */
  public void reset()
  {
    cipher.reset();
  }
}
origin: com.madgag/sc-light-jdk15on

/**
 * reset the feedback vector back to the IV and reset the underlying
 * cipher.
 */
public void reset()
{
  System.arraycopy(IV, 0, ofbV, 0, IV.length);
  cipher.reset();
}
origin: com.madgag.spongycastle/core

/**
 * reset the chaining vector back to the IV and reset the underlying
 * cipher.
 */
public void reset()
{
  System.arraycopy(IV, 0, cfbV, 0, IV.length);
  cipher.reset();
}
origin: com.madgag/sc-light-jdk15on

public void reset()
{
  cipher.reset();
  data.reset();
}
origin: com.madgag.spongycastle/core

/**
 * reset the feedback vector back to the IV and reset the underlying
 * cipher.
 */
public void reset()
{
  System.arraycopy(IV, 0, ofbV, 0, IV.length);
  byteCount = 0;
  cipher.reset();
}
origin: com.madgag/sc-light-jdk15on

/**
 * reset the chaining vector back to the IV and reset the underlying
 * cipher.
 */
public void reset()
{
  count = 0;
  System.arraycopy(IV, 0, FR, 0, FR.length);
  cipher.reset();
}
origin: com.madgag/sc-light-jdk15on

  /**
   * reset the feedback vector back to the IV and reset the underlying
   * cipher.
   */
  public void reset()
  {
    System.arraycopy(IV, 0, ofbV, 0, IV.length);

    cipher.reset();
  }
}
origin: com.madgag.spongycastle/core

/**
 * reset the chaining vector back to the IV and reset the underlying
 * cipher.
 */
public void reset()
{
  count = 0;
  System.arraycopy(IV, 0, FR, 0, FR.length);
  cipher.reset();
}
origin: com.madgag.spongycastle/core

  public void reset()
  {
//        super.reset();
    cipher.reset();

    System.arraycopy(tw_init, 0, tw_current, 0, tw_init.length);
    counter = 0;
  }

origin: com.madgag/sc-light-jdk15on

  /**
   * reset the chaining vector back to the IV and reset the underlying
   * cipher.
   */
  public void reset()
  {
    System.arraycopy(IV, 0, cfbV, 0, IV.length);

    cipher.reset();
  }
}
origin: com.madgag/sc-light-jdk15on

/**
 * reset the chaining vector back to the IV and reset the underlying
 * cipher.
 */
public void reset()
{
  System.arraycopy(IV, 0, cfbV, 0, IV.length);
  cipher.reset();
}
origin: com.madgag/sc-light-jdk15on

  public void reset()
  {
    System.arraycopy(IV, 0, counter, 0, counter.length);
    cipher.reset();
  }
}
origin: com.madgag.spongycastle/core

/**
 * reset the feedback vector back to the IV and reset the underlying
 * cipher.
 */
public void reset()
{
  firstStep = true;
  N3 = 0;
  N4 = 0;
  System.arraycopy(IV, 0, ofbV, 0, IV.length);
  byteCount = 0;
  cipher.reset();
}
origin: com.madgag.spongycastle/core

  /**
   * reset the chaining vector back to the IV and reset the underlying
   * cipher.
   */
  public void reset()
  {
    System.arraycopy(IV, 0, cfbV, 0, IV.length);
    Arrays.fill(inBuf, (byte)0);
    byteCount = 0;

    cipher.reset();
  }
}
origin: com.madgag.spongycastle/core

/**
 * reset the chaining vector back to the IV and reset the underlying
 * cipher.
 */
public void reset()
{
  System.arraycopy(IV, 0, cbcV, 0, IV.length);
  Arrays.fill(cbcNextV, (byte)0);
  cipher.reset();
}
origin: com.madgag/sc-light-jdk15on

/**
 * reset the chaining vector back to the IV and reset the underlying
 * cipher.
 */
public void reset()
{
  System.arraycopy(IV, 0, cbcV, 0, IV.length);
  Arrays.fill(cbcNextV, (byte)0);
  cipher.reset();
}
origin: com.madgag.spongycastle/core

public void reset()
{
  if (initialised)
  {
    engine.processBlock(this.iv, 0, ofbV, 0);
  }
  engine.reset();
  byteCount = 0;
}
origin: com.madgag.spongycastle/core

public void reset()
{
  Arrays.fill(counter, (byte)0);
  System.arraycopy(IV, 0, counter, 0, IV.length);
  cipher.reset();
  this.byteCount = 0;
}
origin: com.madgag.spongycastle/core

public void reset()
{
  cipher.reset();
  associatedText.reset();
  data.reset();
}
origin: com.madgag/sc-light-jdk15on

private void reset(
  boolean clearMac)
{
  S = Arrays.clone(initS);
  counter = Arrays.clone(J0);
  bufOff = 0;
  totalLength = 0;
  if (bufBlock != null)
  {
    Arrays.fill(bufBlock, (byte)0);
  }
  if (clearMac)
  {
    macBlock = null;
  }
  cipher.reset();
}
org.spongycastle.cryptoBlockCipherreset

Javadoc

Reset the cipher. After resetting the cipher is in the same state as it was after the last init (if there was one).

Popular methods of BlockCipher

  • getBlockSize
    Return the block size for this cipher (in bytes).
  • init
    Initialise the cipher.
  • processBlock
    Process one block of input from the array in and write it to the out array.
  • getAlgorithmName
    Return the name of the algorithm the cipher implements.

Popular in Java

  • Making http post requests using okhttp
  • addToBackStack (FragmentTransaction)
  • notifyDataSetChanged (ArrayAdapter)
  • runOnUiThread (Activity)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now