Hi!

Good, that works.  However, the actual burn_cycles code is more like:

static int
burn_cycles(unsigned long count)
{
  char buffer[16];
  return gcry_kdf_derive ("123456789abcdef0", 16,
                          GCRY_KDF_ITERSALTED_S2K,
                          GCR_MD_SHA1, "saltsalt", 8,
                          count, buffer, 16);
}

and thus does a lot of SHA-1 operations in Libgcrypt.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

Reply via email to