Home
last modified time | relevance | path

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

/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsChannelCrypter.java34 private static final int TAG_LENGTH = 16; field in AltsChannelCrypter
68 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()
DAesGcmAeadCrypter.java31 private static final int TAG_LENGTH = 16; field in AesGcmAeadCrypter
53 new GCMParameterSpec(TAG_LENGTH * 8, nonce)); in encryptAad()
67 new GCMParameterSpec(TAG_LENGTH * 8, nonce)); in decryptAad()