Searched refs:KEY_LENGTH (Results 1 – 5 of 5) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/net/ |
D | tcp_fastopen_backup_key.c | 35 #define KEY_LENGTH 16 macro 44 static int key_len = KEY_LENGTH; 54 socklen_t len = KEY_LENGTH * 2; in get_keys() 228 memcpy(keys + 4, new_key, KEY_LENGTH); in rotate_key() 233 memcpy(tmp_key, keys + 4, KEY_LENGTH); in rotate_key() 234 memcpy(keys + 4, keys, KEY_LENGTH); in rotate_key() 235 memcpy(keys, tmp_key, KEY_LENGTH); in rotate_key() 313 key_len = KEY_LENGTH * 2; in parse_opts()
|
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/ |
D | AesGcmAeadCrypter.java | 30 private static final int KEY_LENGTH = 16; field in AesGcmAeadCrypter 41 checkArgument(key.length == KEY_LENGTH); in AesGcmAeadCrypter() 99 return KEY_LENGTH; in getKeyLength()
|
D | AesGcmHkdfAeadCrypter.java | 42 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()
|
D | AltsHandshakerClient.java | 46 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()
|
D | AltsChannelCrypter.java | 30 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()
|