Lines Matching defs:key
92 uint32_t key = 0;
96 key |= ((buf[p] >> ((i*5+3)&7)) & 1u) << i;
99 return key;
123 static void xor_block(void *p1, void *p2, unsigned size, int key, unsigned *key_ptr)
133 k += key;
143 uint32_t key, uint32_t *key_ptr,
157 uint32_t tmpkey = *key_ptr - key;
163 xor_block(tmp, tmp, 4, key, &tmpkey);
170 key, key_ptr);
177 xor_block(&tmp, &tmp, 4, key, key_ptr);
198 uint32_t key, uint32_t *k2, int align)
207 decode_block(tmp, tmp, 4, key, k2, align);
223 decode_block(buf + 4, buf + 4, n, key, k2, align);
233 uint32_t *key, unsigned expected_size)
243 k2 = *key;
244 decode_block(ibuf, sbuf, 8, *key, &k2, 0);
255 *key = tmpkey;
275 decode_block(buf + 8, buf + 8, n, *key, &k2, 0);
542 uint32_t key, k2;
567 key = decode_key(keybuffer);
568 viv->sb_key = key;
603 k2 = key;
604 buf = read_vblock(pb, &v, key, &k2, 0);
612 buf = read_vblock(pb, &v, key, &k2, v);