Ignore:
Timestamp:
Nov 20, 2010, 12:03:24 AM (11 years ago)
Author:
Sven Rech
Message:

KeySearcher OpenCL optimization.
Doesn't work perfect yet :)

File:
1 edited

Legend:

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

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