Lines Matching defs:cur
1306 static void age_mic_context(miccntx *cur, miccntx *old, u8 *key, int key_len,
1312 if (cur->valid && (memcmp(cur->key, key, key_len) == 0))
1316 memcpy(old, cur, sizeof(*cur));
1319 memcpy(cur->key, key, key_len);
1320 cur->window = 33; /* Window always points to the middle */
1321 cur->rx = 0; /* Rx Sequence numbers */
1322 cur->tx = 0; /* Tx sequence numbers */
1323 cur->valid = 1; /* Key is now valid */
1326 emmh32_setseed(&cur->seed, key, key_len, tfm);