Ignore:
Timestamp:
Nov 20, 2010, 11:41:36 AM (11 years ago)
Author:
Sven Rech
Message:

reverted my changes (they don't seem to work too well)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/AES/OpenCL/AESOpenCL.cl

    r2110 r2114  
    881881}
    882882
    883 kernel void bruteforceKernel(global unsigned char *userKey, global float *results, int add)
     883kernel void bruteforceKernel(global unsigned char *userKey, global float *results)
    884884{
    885885        size_t x = get_global_id(0);
    886886       
    887887        AES_KEY key;   
    888         AES_set_decrypt_key(userKey, $$BITS$$, &(key), (x+add));
     888        AES_set_decrypt_key(userKey, $$BITS$$, &(key), x);
    889889
    890890        //possibility for cost function to initialize some stuff here:
Note: See TracChangeset for help on using the changeset viewer.