Searched refs:TAG_LENGTH (Results 1 – 2 of 2) sorted by relevance
34 private static final int TAG_LENGTH = 16; field in AltsChannelCrypter68 verify(outBuf.writableBytes() == plainBuf.readableBytes() + TAG_LENGTH); in encrypt()71 plain.limit(out.limit() - TAG_LENGTH); in encrypt()115 verify(out.writableBytes() == TAG_LENGTH); in decrypt()120 return TAG_LENGTH; in getSuffixLength()
31 private static final int TAG_LENGTH = 16; field in AesGcmAeadCrypter53 new GCMParameterSpec(TAG_LENGTH * 8, nonce)); in encryptAad()67 new GCMParameterSpec(TAG_LENGTH * 8, nonce)); in decryptAad()