HomeSort by relevance Sort by last modified time
    Searched refs:associatedText (Results 1 - 2 of 2) sorted by null

  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/params/
AEADParameters.java 8 private byte[] associatedText;
19 * @param associatedText associated text, if any
21 public AEADParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText)
26 this.associatedText = associatedText;
41 return associatedText;
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/
CCMBlockCipher.java 28 private byte[] associatedText;
72 associatedText = param.getAssociatedText();
81 associatedText = null;
295 if (associatedText.length < ((1 << 16) - (1 << 8)))
297 cMac.update((byte)(associatedText.length >> 8));
298 cMac.update((byte)associatedText.length);
306 cMac.update((byte)(associatedText.length >> 24));
307 cMac.update((byte)(associatedText.length >> 16));
308 cMac.update((byte)(associatedText.length >> 8));
309 cMac.update((byte)associatedText.length)
    [all...]

Completed in 187 milliseconds