Lines Matching defs:key
9 u8 key[TCP_FASTOPEN_KEY_LENGTH];
26 get_random_bytes(key, sizeof(key));
27 tcp_fastopen_reset_cipher(net, NULL, key, NULL);
71 ctx->key[0].key[0] = get_unaligned_le64(primary_key);
72 ctx->key[0].key[1] = get_unaligned_le64(primary_key + 8);
74 ctx->key[1].key[0] = get_unaligned_le64(backup_key);
75 ctx->key[1].key[1] = get_unaligned_le64(backup_key + 8);
95 u64 *key)
108 put_unaligned_le64(ctx->key[i].key[0], key + (i * 2));
109 put_unaligned_le64(ctx->key[i].key[1], key + (i * 2) + 1);
119 const siphash_key_t *key,
130 key));
141 key));
162 __tcp_fastopen_cookie_gen_cipher(req, syn, &ctx->key[0], foc);
209 /* returns 0 - no key match, 1 for primary, 2 for backup */
226 __tcp_fastopen_cookie_gen_cipher(req, syn, &ctx->key[i], foc);