Searched refs:KEY_LENGTH (Results 1 – 4 of 4) sorted by relevance
30 private static final int KEY_LENGTH = 16; field in AesGcmAeadCrypter41 checkArgument(key.length == KEY_LENGTH); in AesGcmAeadCrypter()99 return KEY_LENGTH; in getKeyLength()
42 private static final int KEY_LENGTH = KDF_KEY_LENGTH + NONCE_LENGTH; field in AesGcmHkdfAeadCrypter52 checkArgument(key.length == KEY_LENGTH); in AesGcmHkdfAeadCrypter()125 return KEY_LENGTH; in getKeyLength()
46 private static final int KEY_LENGTH = AltsChannelCrypter.getKeyLength(); field in AltsHandshakerClient144 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()
30 private static final int KEY_LENGTH = AesGcmHkdfAeadCrypter.getKeyLength(); field in AltsChannelCrypter43 checkArgument(key.length == KEY_LENGTH); in AltsChannelCrypter()50 return KEY_LENGTH; in getKeyLength()