Page MenuHome GnuPG

lbandlav (Laxmi Narsaiah Bandla)
Engineering

Projects

User Details

User Since
Jan 12 2018, 12:52 PM (327 w, 5 d)
Availability
Available

Recent Activity

Jan 14 2018

lbandlav added a comment to T3737: libgcrypt's gcry_kdf_scrypt has incorrectly set N and P values.

Have posted in gcrypt-devel mailer.. thanks

Jan 14 2018, 2:47 PM · libgcrypt, Bug Report

Jan 13 2018

lbandlav added a member for libgcrypt: lbandlav.
Jan 13 2018, 8:51 PM

Jan 12 2018

lbandlav added a comment to T3737: libgcrypt's gcry_kdf_scrypt has incorrectly set N and P values.

Will be posting it in gcrypt-devel shortly.

Jan 12 2018, 6:14 PM · libgcrypt, Bug Report
lbandlav added a comment to T3737: libgcrypt's gcry_kdf_scrypt has incorrectly set N and P values.

Hope you've got the problem with the current naming conventions for arguments and the result by going them. We should either document the arguments properly or change the code as i have pointed out. Since the iterations argument used properly in the case PBKDF2 (type8) within the same wrapper api gcry_kdf_derive.

Jan 12 2018, 5:51 PM · libgcrypt, Bug Report
lbandlav added a comment to T3737: libgcrypt's gcry_kdf_scrypt has incorrectly set N and P values.

Here's what i got from 1.8.1 code (downloaded from gnupg).

Jan 12 2018, 3:16 PM · libgcrypt, Bug Report
lbandlav added a comment to T3737: libgcrypt's gcry_kdf_scrypt has incorrectly set N and P values.

With the current implementation when the r is set to GCRY_KDF_SCRYPT, on a 3 core system, it almost took 35 minutes to generate the hash, where as with r=41 it was around 4 minutes and 20 seconds.
when i corrected the the values, i.e. N=16384, p=1 and r=GCRY_KDF_SCRYPT, it took less than a second to generate the hash.

Jan 12 2018, 1:28 PM · libgcrypt, Bug Report
lbandlav triaged T3737: libgcrypt's gcry_kdf_scrypt has incorrectly set N and P values as Normal priority.
Jan 12 2018, 1:03 PM · libgcrypt, Bug Report
lbandlav created T3737: libgcrypt's gcry_kdf_scrypt has incorrectly set N and P values.
Jan 12 2018, 1:02 PM · libgcrypt, Bug Report