Skip to content
Snippets Groups Projects
  • psychocrypt's avatar
    unify cpu cryptonight implementations · 931bd5fe
    psychocrypt authored
    xmr-stak has several implementations for multi hash per thread.
    The results into 3 intepedent implementations.
    Each time the algorithm must be changed the possibility to introduce errors is very large.
    
    - unify the different cryptonight CPU implementations
    - simplify the function selection array to find the specilized cryptonight implementation
    - add a intermediat pointer to access the large state (similar to the old multi hash implementation)
    
    As side effect this change increases the speed of the single and multi hash algorithm.
    931bd5fe