• Lars Viklund's avatar
    Remove nested comments in blake2 (#4173) · 388cd85e
    Lars Viklund yazdı
    Replace occurence of nested comments in blake2 reference implementation
    with preprocessor directive for disabling unused code.
    
    `blake2s-load-xop.h` is conditionally pulled in only on chips with XOP
    support, among others the AMD Bulldozer. The malformed comments in the
    source file breaks the build of `hashlib`'s `_blake2` on GCC 6.3.0.
    
    Official reference code on github uses `#if` so this change should be
    uncontroversial.
    388cd85e
Adı
Son kayıt (commit)
Son güncelleme
..
blake2-config.h Loading commit data...
blake2-impl.h Loading commit data...
blake2.h Loading commit data...
blake2b-load-sse2.h Loading commit data...
blake2b-load-sse41.h Loading commit data...
blake2b-ref.c Loading commit data...
blake2b-round.h Loading commit data...
blake2b.c Loading commit data...
blake2s-load-sse2.h Loading commit data...
blake2s-load-sse41.h Loading commit data...
blake2s-load-xop.h Loading commit data...
blake2s-ref.c Loading commit data...
blake2s-round.h Loading commit data...
blake2s.c Loading commit data...