Home
last modified time | relevance | path

Searched refs:initialAssociatedText (Results 1 – 2 of 2) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DCCMBlockCipher.java29 private byte[] initialAssociatedText; field in CCMBlockCipher
75 initialAssociatedText = param.getAssociatedText(); in init()
84 initialAssociatedText = null; in init()
410 if (initialAssociatedText != null) in calculateMac()
412 cMac.update(initialAssociatedText, 0, initialAssociatedText.length); in calculateMac()
439 …return associatedText.size() + ((initialAssociatedText == null) ? 0 : initialAssociatedText.length… in getAssociatedTextLength()
DGCMBlockCipher.java44 private byte[] initialAssociatedText; field in GCMBlockCipher
113 initialAssociatedText = param.getAssociatedText(); in init()
129 initialAssociatedText = null; in init()
214 if (initialAssociatedText != null) in init()
216 processAADBytes(initialAssociatedText, 0, initialAssociatedText.length); in init()
552 if (initialAssociatedText != null) in reset()
554 processAADBytes(initialAssociatedText, 0, initialAssociatedText.length); in reset()