07-07-2024, 11:19 AM
Hello, I am looking at the Scrypt algorithm from the Tarsnap rfc7914 document and the Scrypt CL code from Hashcat.
The CL code receives the Scrypt parameter N, r, and p values as a macro, and the default value is 16384, but it has been confirmed that it can be changed to other values such as 2048. However, what I am curious about is that the N value is calculated as the k value within the scrypt_smix_loop function of the CL code. I am curious what the N_pos value corresponding to the loop is and why it is fixed at 1024.
I would really appreciate your reply.
The CL code receives the Scrypt parameter N, r, and p values as a macro, and the default value is 16384, but it has been confirmed that it can be changed to other values such as 2048. However, what I am curious about is that the N value is calculated as the k value within the scrypt_smix_loop function of the CL code. I am curious what the N_pos value corresponding to the loop is and why it is fixed at 1024.
I would really appreciate your reply.