Browse Source

Adjust work factor for better performance

master
Juhani Krekelä 3 years ago
parent
commit
ef96103cd4
  1. 2
      puer.c

2
puer.c

@ -13,7 +13,7 @@
// Adjusting this will render the file format incompatible
// KDF_WORKFACTOR must be a power of two between 1 and 2^32
#define KDF_BLOCKSIZE 1024
#define KDF_WORKFACTOR (64 * 1024)
#define KDF_WORKFACTOR (16 * 1024)
unsigned char workbuf[KDF_WORKFACTOR * KDF_BLOCKSIZE];
void xxtea128(uint32_t const key[4], uint32_t block[4]) {

Loading…
Cancel
Save