proxy_avx2.cpp 499 B

123456789101112131415161718
  1. //
  2. // Created by Evgeny Sidorov on 12/04/17.
  3. //
  4. #include "proxy_avx2.h"
  5. #include <library/cpp/digest/argonish/internal/argon2/argon2_base.h>
  6. #include <library/cpp/digest/argonish/internal/argon2/argon2_avx2.h>
  7. #include <library/cpp/digest/argonish/internal/blake2b/blake2b.h>
  8. #include <library/cpp/digest/argonish/internal/blake2b/blake2b_avx2.h>
  9. #define ZEROUPPER _mm256_zeroupper();
  10. namespace NArgonish {
  11. ARGON2_PROXY_CLASS_IMPL(AVX2)
  12. BLAKE2B_PROXY_CLASS_IMPL(AVX2)
  13. }
  14. #undef ZEROUPPER