Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/net/
Dtcp_fastopen_backup_key.c35 #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/
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()