0

I'm interested in the eStream project and using C# to encrypt / decrypt data streams with Intel/AMD acceleration.

How can I use C# to interact with Intel/AMD hardware so I can get the following algorithms to work:

  • Salsa 20/12
  • Sosamaunk
makerofthings7
  • 60,103
  • 53
  • 215
  • 448
  • Depends on what your C# compiles to. Using vanilla .NET and the CLR, it's extremely difficult to know / predict what instructions get JITed. You would need to resort to P/invoking a native library if you care what x86 instructions get used. – vcsjones May 16 '13 at 14:50
  • 1
    They'll work, but the JIT compiler never vectorizes any math (only copying and zeroing), so it'll just be scalar code. – harold May 16 '13 at 14:54

0 Answers0