Home
last modified time | relevance | path

Searched refs:KEY_LENGTH (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAesGcmAeadCrypter.java30 private static final int KEY_LENGTH = 16; field in AesGcmAeadCrypter
41 checkArgument(key.length == KEY_LENGTH); in AesGcmAeadCrypter()
99 return KEY_LENGTH; in getKeyLength()
DAesGcmHkdfAeadCrypter.java42 private static final int KEY_LENGTH = KDF_KEY_LENGTH + NONCE_LENGTH; field in AesGcmHkdfAeadCrypter
52 checkArgument(key.length == KEY_LENGTH); in AesGcmHkdfAeadCrypter()
125 return KEY_LENGTH; in getKeyLength()
DAltsHandshakerClient.java46 private static final int KEY_LENGTH = AltsChannelCrypter.getKeyLength(); field in AltsHandshakerClient
144 if (result.getKeyData().size() < KEY_LENGTH) { in getKey()
147 byte[] key = new byte[KEY_LENGTH]; in getKey()
148 result.getKeyData().copyTo(key, 0, 0, KEY_LENGTH); in getKey()
DAltsChannelCrypter.java30 private static final int KEY_LENGTH = AesGcmHkdfAeadCrypter.getKeyLength(); field in AltsChannelCrypter
43 checkArgument(key.length == KEY_LENGTH); in AltsChannelCrypter()
50 return KEY_LENGTH; in getKeyLength()