Lines Matching full:raw
26 * turn the raw key into something cooked
27 * - the raw key should include the length in the two bytes at the front
29 * - "base64" encode the strange keys, mapping 3 bytes of raw to four of
31 * - need to cut the cooked key into 252 char lengths (189 raw bytes)
33 char *cachefiles_cook_key(const u8 *raw, int keylen, uint8_t type) in cachefiles_cook_key() argument
44 csum = raw[0] + raw[1]; in cachefiles_cook_key()
47 ch = raw[loop]; in cachefiles_cook_key()
89 acc = *(uint16_t *) raw; in cachefiles_cook_key()
90 raw += 2; in cachefiles_cook_key()
106 key[len++] = *raw++; in cachefiles_cook_key()
125 acc = *raw++; in cachefiles_cook_key()
126 acc |= *raw++ << 8; in cachefiles_cook_key()
127 acc |= *raw++ << 16; in cachefiles_cook_key()