40 #define PKWARE_KEY0 305419896
41 #define PKWARE_KEY1 591751049
42 #define PKWARE_KEY2 878082192
48 keys->key[1] = (
keys->key[1] + (
keys->key[0] & 0xff)) * 134775813 + 1;
77 for (
i = 0;
i <
len;
i++) {
100 for (
i = 0;
i <
len;
i++) {
const lzma_allocator const uint8_t * in
const lzma_allocator const uint8_t size_t uint8_t * out
static struct @218 keys[]
static zip_uint8_t crypt_byte(zip_pkware_keys_t *keys)
void _zip_pkware_encrypt(zip_pkware_keys_t *keys, zip_uint8_t *out, const zip_uint8_t *in, zip_uint64_t len)
void _zip_pkware_decrypt(zip_pkware_keys_t *keys, zip_uint8_t *out, const zip_uint8_t *in, zip_uint64_t len)
void _zip_pkware_keys_reset(zip_pkware_keys_t *keys)
static void update_keys(zip_pkware_keys_t *keys, zip_uint8_t b)
unsigned long ZEXPORT crc32(unsigned long crc, const unsigned char FAR *buf, uInt len)